Init Spaces
Browse files
app.py
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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.header('Part-Of-Speech, PoS-Tagging :- ')
|
| 12 |
+
pos_ip = st.text_input('Enter a Statement')
|
| 13 |
+
pos_btn = st.button("Process")
|
| 14 |
+
if pos_btn:
|
| 15 |
+
st.error("work's in progress :construction:, Come again later :smiley:")
|
| 16 |
+
|
| 17 |
+
st.header('Question & Answering :- ')
|
| 18 |
+
text = st.text_area("Text to analyze")
|
| 19 |
+
que_ip = st.text_input('Enter the question')
|
| 20 |
+
qna_btn = st.button("Answer")
|
| 21 |
+
if qna_btn:
|
| 22 |
+
st.success("work's in progress :construction:, Come again later :smiley:")
|
| 23 |
+
|
| 24 |
+
st.header('Grammar Correction :- ')
|
| 25 |
+
grm_ip = st.text_input('Enter the Statement')
|
| 26 |
+
grm_btn = st.button("Check Grammar")
|
| 27 |
+
if grm_btn:
|
| 28 |
+
st.write("work's in progress :construction:, Come again later :smiley:")
|
| 29 |
+
|
| 30 |
+
st.caption('Thank you for Tuning in, Come back for more :heart:')
|