Spaces:
Sleeping
Sleeping
windyeh
commited on
Commit
·
430dbff
1
Parent(s):
6f26859
add monpa github info
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ import monpa
|
|
4 |
|
5 |
|
6 |
st.title("Multi-Objective NER POS Annotator @ TMU")
|
|
|
7 |
|
8 |
text = st.text_input('請在下方輸入欲斷詞的句子,限 200 字以內...', placeholder='今天天氣很好。')
|
9 |
try:
|
@@ -16,5 +17,6 @@ result = "$~~~~~~$".join(f"{item[0]} `{item[1]}`" for item in chunk if item)
|
|
16 |
st.markdown(f'### {result}')
|
17 |
|
18 |
st.divider()
|
|
|
19 |
st.markdown('[NLP Lab,](https://nlp.tmu.edu.tw/)')
|
20 |
st.markdown('Graduate Institute of Data Science @ TMU')
|
|
|
4 |
|
5 |
|
6 |
st.title("Multi-Objective NER POS Annotator @ TMU")
|
7 |
+
st.markdown(f'MONPA 是一個提供正體中文斷詞、詞性標註以及命名實體辨識的多任務模型。本網站僅為示範,歡迎 `pip install monpa` 安裝 python package (最新版本 v0.3.1)。')
|
8 |
|
9 |
text = st.text_input('請在下方輸入欲斷詞的句子,限 200 字以內...', placeholder='今天天氣很好。')
|
10 |
try:
|
|
|
17 |
st.markdown(f'### {result}')
|
18 |
|
19 |
st.divider()
|
20 |
+
st.markdown('MONPA Github [https://github.com/monpa-team/monpa](https://github.com/monpa-team/monpa)')
|
21 |
st.markdown('[NLP Lab,](https://nlp.tmu.edu.tw/)')
|
22 |
st.markdown('Graduate Institute of Data Science @ TMU')
|