osheina commited on
Commit
4a2a45c
·
verified ·
1 Parent(s): 6598c0b

Update strim_nlp.py

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