Commit b2e2ac83 authored by Baze Petrushev's avatar Baze Petrushev
Browse files

Processing text is ignoring digits

parent e038c02f
......@@ -179,6 +179,9 @@ def process_text(text, max_features=200, stopwords=None):
d = {}
for word in re.findall(r"\w[\w']*", text):
if word.isdigit():
word_lower = word.lower()
if word_lower in stopwords:
Supports Markdown
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