Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
#App: NLP App with Streamlit
|
| 3 |
Credits: Streamlit Team, Marc Skov Madsen(For Awesome-streamlit gallery)
|
| 4 |
Description
|
| 5 |
-
This is a Natural Language Processing(NLP) base Application
|
| 6 |
|
| 7 |
+ Tokenization(POS tagging) & Lemmatization(root mean) using Spacy
|
| 8 |
|
|
@@ -10,7 +10,7 @@ This is a Natural Language Processing(NLP) base Application which is useful for
|
|
| 10 |
|
| 11 |
+ Sentiment Analysis using TextBlob
|
| 12 |
|
| 13 |
-
+ Document/Text Summarization using Gensim/T5 both for Bangla Extractive and English Abstructive
|
| 14 |
|
| 15 |
This is built with Streamlit Framework, an awesome framework for building ML and NLP tools.
|
| 16 |
Purpose
|
|
@@ -41,6 +41,9 @@ import pytesseract
|
|
| 41 |
#pytesseract.pytesseract.tesseract_cmd = r"./Tesseract-OCR/tesseract.exe"
|
| 42 |
from PIL import Image
|
| 43 |
# Title
|
|
|
|
|
|
|
|
|
|
| 44 |
st.title("Streamlit NLP APP")
|
| 45 |
@st.experimental_singleton
|
| 46 |
def text_analyzer(my_text):
|
|
@@ -67,8 +70,11 @@ def main():
|
|
| 67 |
""" NLP Based Application with Streamlit """
|
| 68 |
st.markdown("""
|
| 69 |
#### Description
|
| 70 |
-
This is a Natural Language Processing(NLP)
|
| 71 |
-
|
|
|
|
|
|
|
|
|
|
| 72 |
""")
|
| 73 |
def change_photo_state():
|
| 74 |
st.session_state["photo"]="done"
|
|
|
|
| 2 |
#App: NLP App with Streamlit
|
| 3 |
Credits: Streamlit Team, Marc Skov Madsen(For Awesome-streamlit gallery)
|
| 4 |
Description
|
| 5 |
+
This is a Natural Language Processing(NLP) base Application that is useful for basic NLP tasks such as follows;
|
| 6 |
|
| 7 |
+ Tokenization(POS tagging) & Lemmatization(root mean) using Spacy
|
| 8 |
|
|
|
|
| 10 |
|
| 11 |
+ Sentiment Analysis using TextBlob
|
| 12 |
|
| 13 |
+
+ Document/Text Summarization using Gensim/T5 both for Bangla Extractive and English Abstructive.
|
| 14 |
|
| 15 |
This is built with Streamlit Framework, an awesome framework for building ML and NLP tools.
|
| 16 |
Purpose
|
|
|
|
| 41 |
#pytesseract.pytesseract.tesseract_cmd = r"./Tesseract-OCR/tesseract.exe"
|
| 42 |
from PIL import Image
|
| 43 |
# Title
|
| 44 |
+
if st.button("REFRESH"):
|
| 45 |
+
st.experimental_rerun()
|
| 46 |
+
|
| 47 |
st.title("Streamlit NLP APP")
|
| 48 |
@st.experimental_singleton
|
| 49 |
def text_analyzer(my_text):
|
|
|
|
| 70 |
""" NLP Based Application with Streamlit """
|
| 71 |
st.markdown("""
|
| 72 |
#### Description
|
| 73 |
+
##This is a Natural Language Processing(NLP) base Application that is useful for basic NLP tasks such as follows:
|
| 74 |
+
+ Tokenization(POS tagging) & Lemmatization(root mean) using Spacy
|
| 75 |
+
+ Named Entity Recognition(NER)/Trigger word detection using SpaCy
|
| 76 |
+
+ Sentiment Analysis using TextBlob
|
| 77 |
+
+ Document/Text Summarization using Gensim/T5 both for Bangla Extractive and English Abstractive.
|
| 78 |
""")
|
| 79 |
def change_photo_state():
|
| 80 |
st.session_state["photo"]="done"
|