Hetan07 commited on
Commit
6304bdf
1 Parent(s): d9a670e

Update preprocessing.py

Browse files
Files changed (1) hide show
  1. 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")