Update strim_nlp.py
Browse files- strim_nlp.py +1 -0
strim_nlp.py
CHANGED
@@ -8,6 +8,7 @@ from nltk.corpus import stopwords
|
|
8 |
from pymystem3 import Mystem
|
9 |
from joblib import load
|
10 |
import nltk
|
|
|
11 |
|
12 |
def data_preprocessing(text):
|
13 |
stop_words = set(stopwords.words('russian'))
|
|
|
8 |
from pymystem3 import Mystem
|
9 |
from joblib import load
|
10 |
import nltk
|
11 |
+
nltk.download('stopwords')
|
12 |
|
13 |
def data_preprocessing(text):
|
14 |
stop_words = set(stopwords.words('russian'))
|