Update preprocessing.py
Browse files- preprocessing.py +1 -0
preprocessing.py
CHANGED
@@ -22,6 +22,7 @@ from keras.utils import pad_sequences
|
|
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")
|
|
|
22 |
from utils import Doc2VecModel
|
23 |
|
24 |
nltk.download('stopwords')
|
25 |
+
nltk.download('punkt')
|
26 |
punct = string.punctuation
|
27 |
stemmer = nltk.stem.PorterStemmer()
|
28 |
eng_stopwords = nltk.corpus.stopwords.words("english")
|