Update preprocessing.py
Browse files- preprocessing.py +1 -1
preprocessing.py
CHANGED
@@ -21,7 +21,7 @@ from keras.utils import pad_sequences
|
|
21 |
# local
|
22 |
from utils import Doc2VecModel
|
23 |
|
24 |
-
|
25 |
punct = string.punctuation
|
26 |
stemmer = nltk.stem.PorterStemmer()
|
27 |
eng_stopwords = nltk.corpus.stopwords.words("english")
|
|
|
21 |
# local
|
22 |
from utils import Doc2VecModel
|
23 |
|
24 |
+
nltk.download('stopwords')
|
25 |
punct = string.punctuation
|
26 |
stemmer = nltk.stem.PorterStemmer()
|
27 |
eng_stopwords = nltk.corpus.stopwords.words("english")
|