update
Browse files
app.py
CHANGED
|
@@ -1,30 +1,37 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
st.title("IndicNLP!")
|
| 4 |
-
|
| 5 |
st.text("This is our Final Year Project,")
|
| 6 |
st.text("Implementing various features of NLP i.e,")
|
| 7 |
st.text("Natural Language Processing in Various Indic Languages.")
|
| 8 |
st.text("To Begin with Hindi,")
|
| 9 |
st.text("Here are Few Modules we have Implemented :-")
|
| 10 |
|
| 11 |
-
st.
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
|
|
|
| 23 |
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
|
|
|
| 29 |
|
| 30 |
st.caption('Thank you for Tuning in, Come back for more :heart:')
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
st.title("IndicNLP!")
|
|
|
|
| 4 |
st.text("This is our Final Year Project,")
|
| 5 |
st.text("Implementing various features of NLP i.e,")
|
| 6 |
st.text("Natural Language Processing in Various Indic Languages.")
|
| 7 |
st.text("To Begin with Hindi,")
|
| 8 |
st.text("Here are Few Modules we have Implemented :-")
|
| 9 |
|
| 10 |
+
add_selectbox = st.sidebar.selectbox(
|
| 11 |
+
"Which Module would you like to try?",
|
| 12 |
+
("Part-of-Speech Tagging", "Questiom & Answer", "Grammar Checking")
|
| 13 |
+
)
|
| 14 |
+
|
| 15 |
+
if add_selectbox == "Part-of-Speech Tagging" :
|
| 16 |
+
st.header('Part-Of-Speech, PoS-Tagging :- ')
|
| 17 |
+
pos_ip = st.text_input('Enter a Statement')
|
| 18 |
+
pos_btn = st.button("Process")
|
| 19 |
+
if pos_btn:
|
| 20 |
+
st.error("work's in progress :construction:, Come again later :smiley:")
|
| 21 |
|
| 22 |
+
if add_selectbox == "Questiom & Answer" :
|
| 23 |
+
st.header('Question & Answering :- ')
|
| 24 |
+
text = st.text_area("Text to analyze")
|
| 25 |
+
que_ip = st.text_input('Enter the question')
|
| 26 |
+
qna_btn = st.button("Answer")
|
| 27 |
+
if qna_btn:
|
| 28 |
+
st.success("work's in progress :construction:, Come again later :smiley:")
|
| 29 |
|
| 30 |
+
if add_selectbox == "Grammar Checking" :
|
| 31 |
+
st.header('Grammar Correction :- ')
|
| 32 |
+
grm_ip = st.text_input('Enter the Statement')
|
| 33 |
+
grm_btn = st.button("Check Grammar")
|
| 34 |
+
if grm_btn:
|
| 35 |
+
st.write("work's in progress :construction:, Come again later :smiley:")
|
| 36 |
|
| 37 |
st.caption('Thank you for Tuning in, Come back for more :heart:')
|