Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,6 +14,9 @@ import matplotlib.pyplot as plt
|
|
| 14 |
from sklearn import metrics
|
| 15 |
from sklearn.model_selection import KFold
|
| 16 |
|
|
|
|
|
|
|
|
|
|
| 17 |
SW = set(nltk.corpus.stopwords.words("english"))
|
| 18 |
PUNCT = set([".", ",", "!", "?", ":", ";", "-", "(", ")", "[", "]", "{", "}", "'", '"'])
|
| 19 |
Features_count = 6
|
|
|
|
| 14 |
from sklearn import metrics
|
| 15 |
from sklearn.model_selection import KFold
|
| 16 |
|
| 17 |
+
nltk.download('stoppwords')
|
| 18 |
+
nltk.download('punkt_tab')
|
| 19 |
+
|
| 20 |
SW = set(nltk.corpus.stopwords.words("english"))
|
| 21 |
PUNCT = set([".", ",", "!", "?", ":", ";", "-", "(", ")", "[", "]", "{", "}", "'", '"'])
|
| 22 |
Features_count = 6
|