Commit a50a79e6 authored by Tags's avatar Tags

Merge branch 'master' of gitlab.com:taraslut78/esi_news_classification

parents 88e60ea9 0e7fc249
......@@ -4,6 +4,7 @@
import numpy as np
import _mysql
# test submodule commit
# noinspection PyUnresolvedReferences
class Classifier:
......@@ -16,7 +17,7 @@ class Classifier:
except ImportError:
print ('You have import flowing packages: sklearn & nltk & re.')
stopwords = set (nltk.corpus.stopwords.words ('english'))
stopwords = set (nltk.corpus.stopwords.words('english'))
stopwords.update (['from:', 'subject:', 'writes:', 'writes', 'click', 'here', 'page', 'origin'])
if corpus is not None:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment