Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
severinsimmler committed May 15, 2018
1 parent 5cabed9 commit a21ee56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/modeling.py
Expand Up @@ -88,7 +88,7 @@ def workflow(tempdir, archive_dir):
except KeyError:
stopwords = user_input['stopwords'].read().decode('utf-8')
stopwords = list(dariah_topics.preprocessing.tokenize(stopwords))
cleaning = "removed the <b>{0} most frequent words</b>, based on an external stopwords list".format(len(stopwords))
cleaning = "removed <b>{0} words</b>, based on an external stopwords list".format(len(stopwords))
hapax_legomena = dariah_topics.preprocessing.find_hapax_legomena(document_term_matrix)
features = set(stopwords).union(hapax_legomena)
features = [token for token in features if token in document_term_matrix.columns]
Expand Down

0 comments on commit a21ee56

Please sign in to comment.