Spaces:
Build error
Build error
wannaphong
commited on
Commit
•
6b31ec6
1
Parent(s):
0903ed1
Update text
Browse files- README.md +11 -1
- pages/soundex.py +1 -1
- pages/translation.py +1 -1
- pages/transliteration.py +1 -1
README.md
CHANGED
@@ -10,4 +10,14 @@ pinned: false
|
|
10 |
license: apache-2.0
|
11 |
---
|
12 |
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
license: apache-2.0
|
11 |
---
|
12 |
|
13 |
+
# PyThaiNLP Demo
|
14 |
+
|
15 |
+
This demo will online at [https://huggingface.co/spaces/pythainlp/pythainlp](https://huggingface.co/spaces/pythainlp/pythainlp). You can fork and send your pull request to the project.
|
16 |
+
|
17 |
+
Running: streamlit run app.py
|
18 |
+
|
19 |
+
|
20 |
+
|
21 |
+
We build Thai NLP.
|
22 |
+
|
23 |
+
PyThaiNLP
|
pages/soundex.py
CHANGED
@@ -14,7 +14,7 @@ for this demo page.
|
|
14 |
""")
|
15 |
|
16 |
with st.form("my_form"):
|
17 |
-
st.write("
|
18 |
text = st.text_area("text")
|
19 |
engine=st.selectbox('Select soundex', ['udom83', 'lk82', 'metasound'], key=1,index=0)
|
20 |
|
|
|
14 |
""")
|
15 |
|
16 |
with st.form("my_form"):
|
17 |
+
st.write("Input words")
|
18 |
text = st.text_area("text")
|
19 |
engine=st.selectbox('Select soundex', ['udom83', 'lk82', 'metasound'], key=1,index=0)
|
20 |
|
pages/translation.py
CHANGED
@@ -17,7 +17,7 @@ for this demo page. It will use many times for running model.
|
|
17 |
""")
|
18 |
_engine =None
|
19 |
with st.form("my_form"):
|
20 |
-
st.write("
|
21 |
text = st.text_area("text")
|
22 |
engine=st.selectbox('Select', ['th2en', 'en2th', 'zh2th', 'th2zh', 'th2fr'], key=1,index=0)
|
23 |
|
|
|
17 |
""")
|
18 |
_engine =None
|
19 |
with st.form("my_form"):
|
20 |
+
st.write("Input text")
|
21 |
text = st.text_area("text")
|
22 |
engine=st.selectbox('Select', ['th2en', 'en2th', 'zh2th', 'th2zh', 'th2fr'], key=1,index=0)
|
23 |
|
pages/transliteration.py
CHANGED
@@ -15,7 +15,7 @@ for this demo page. You can custom dictionary for some word tokenizer engine. (P
|
|
15 |
""")
|
16 |
|
17 |
with st.form("my_form"):
|
18 |
-
st.write("
|
19 |
text = st.text_input("text")
|
20 |
engine=st.selectbox('Select transliterate', ['thaig2p', 'tltk_g2p', 'tltk_ipa'], key=1,index=0)
|
21 |
|
|
|
15 |
""")
|
16 |
|
17 |
with st.form("my_form"):
|
18 |
+
st.write("Input word")
|
19 |
text = st.text_input("text")
|
20 |
engine=st.selectbox('Select transliterate', ['thaig2p', 'tltk_g2p', 'tltk_ipa'], key=1,index=0)
|
21 |
|