Spaces:
Running
Running
manasagangotri
commited on
Commit
•
c916824
1
Parent(s):
984a393
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,8 @@ from modules.RandomForest import classify_text_rf,classify_text_rf_multi #Import
|
|
5 |
from modules.SVM import classify_text_svm,classify_text_svm_multi #Importing single and multi-label classification
|
6 |
import nltk
|
7 |
|
|
|
|
|
8 |
# Check if the stopwords resource is available; if not, download it
|
9 |
try:
|
10 |
nltk.data.find('corpora/stopwords')
|
|
|
5 |
from modules.SVM import classify_text_svm,classify_text_svm_multi #Importing single and multi-label classification
|
6 |
import nltk
|
7 |
|
8 |
+
nltk.download('wordnet')
|
9 |
+
|
10 |
# Check if the stopwords resource is available; if not, download it
|
11 |
try:
|
12 |
nltk.data.find('corpora/stopwords')
|