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