Skip to content

Commit

Permalink
Fixed preproc test
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Meyer committed Feb 20, 2018
1 parent b794e97 commit c9b52de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/preprocessing_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
def test_preprocessing():
post_frame = pd.DataFrame(POSTS)
filtered = tppp.preprocess(post_frame, ncores=1, min_en_prob=0.8,
max_erros_per_word=0.5)
max_erros_per_word=0.5,
max_grammar_errors_per_sentence=10,
grammar_max_sentences=2)

assert len(filtered)

Expand Down

0 comments on commit c9b52de

Please sign in to comment.