Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ from functions_preprocess import LinguisticPreprocessor, download_if_non_existen
|
|
3 |
import pickle
|
4 |
import nltk
|
5 |
nltk.download('stopwords')
|
|
|
6 |
download_if_non_existent('corpora/stopwords', 'stopwords')
|
7 |
download_if_non_existent('taggers/averaged_perceptron_tagger', 'averaged_perceptron_tagger')
|
8 |
download_if_non_existent('corpora/wordnet', 'wordnet')
|
|
|
3 |
import pickle
|
4 |
import nltk
|
5 |
nltk.download('stopwords')
|
6 |
+
nltk.download('punkt')
|
7 |
download_if_non_existent('corpora/stopwords', 'stopwords')
|
8 |
download_if_non_existent('taggers/averaged_perceptron_tagger', 'averaged_perceptron_tagger')
|
9 |
download_if_non_existent('corpora/wordnet', 'wordnet')
|