Commit 0e7fc249 authored by Andrii Marynets's avatar Andrii Marynets

Test submodule commit

parent 1b3a12f2
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
import numpy as np import numpy as np
import _mysql import _mysql
# test submodule commit
# noinspection PyUnresolvedReferences # noinspection PyUnresolvedReferences
class Classifier: class Classifier:
...@@ -16,7 +17,7 @@ class Classifier: ...@@ -16,7 +17,7 @@ class Classifier:
except ImportError: except ImportError:
print ('You have import flowing packages: sklearn & nltk & re.') 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']) stopwords.update (['from:', 'subject:', 'writes:', 'writes', 'click', 'here', 'page', 'origin'])
if corpus is not None: 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