Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,22 @@ from googletrans import Translator
|
|
2 |
import spacy
|
3 |
import gradio as gr
|
4 |
import nltk
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
spacy.cli.download("en_core_web_sm")
|
7 |
|
|
|
2 |
import spacy
|
3 |
import gradio as gr
|
4 |
import nltk
|
5 |
+
from nltk.corpus import wordnet
|
6 |
+
|
7 |
+
nltk.download('maxent_ne_chunker') #Chunker
|
8 |
+
nltk.download('stopwords') #Stop Words List (Mainly Roman Languages)
|
9 |
+
nltk.download('words') #200 000+ Alphabetical order list
|
10 |
+
nltk.download('punkt') #Tokenizer
|
11 |
+
nltk.download('verbnet') #For Description of Verbs
|
12 |
+
nltk.download('omw')
|
13 |
+
nltk.download('omw-1.4') #Multilingual Wordnet
|
14 |
+
nltk.download('wordnet') #For Definitions, Antonyms and Synonyms
|
15 |
+
nltk.download('shakespeare')
|
16 |
+
nltk.download('dolch') #Sight words
|
17 |
+
nltk.download('names') #People Names NER
|
18 |
+
nltk.download('gazetteers') #Location NER
|
19 |
+
nltk.download('opinion_lexicon') #Sentiment words
|
20 |
+
|
21 |
|
22 |
spacy.cli.download("en_core_web_sm")
|
23 |
|