osheina commited on
Commit
b411450
·
verified ·
1 Parent(s): 91ff01f

Update strim_nlp.py

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