Ruslan-DS commited on
Commit
415c049
1 Parent(s): ec33c28

Update models/preprocess_stage/preprocess_lstm.py

Browse files
models/preprocess_stage/preprocess_lstm.py CHANGED
@@ -3,8 +3,9 @@ import torch
3
  import json
4
  import regex as re
5
  import string
 
6
  from nltk.corpus import stopwords
7
-
8
 
9
  stop_words = set(stopwords.words('russian'))
10
 
 
3
  import json
4
  import regex as re
5
  import string
6
+ import nltk
7
  from nltk.corpus import stopwords
8
+ nltk.download('stopwords')
9
 
10
  stop_words = set(stopwords.words('russian'))
11