Spaces:
Runtime error
Runtime error
Upload lstm_preprocessing.py
Browse files
function/lstm_preprocessing.py
CHANGED
@@ -8,7 +8,7 @@ from sklearn.linear_model import LogisticRegression
|
|
8 |
from nltk.stem import SnowballStemmer
|
9 |
|
10 |
from nltk.corpus import stopwords
|
11 |
-
stop_words = set(stopwords.words('
|
12 |
stemmer = SnowballStemmer('russian')
|
13 |
sw = stopwords.words('russian')
|
14 |
|
|
|
8 |
from nltk.stem import SnowballStemmer
|
9 |
|
10 |
from nltk.corpus import stopwords
|
11 |
+
stop_words = set(stopwords.words('russian'))
|
12 |
stemmer = SnowballStemmer('russian')
|
13 |
sw = stopwords.words('russian')
|
14 |
|