Skip to content

Commit

Permalink
*
Browse files Browse the repository at this point in the history
  • Loading branch information
one committed Jan 10, 2019
1 parent 69161f8 commit 68e0e7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paragraph_analyse.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def tagger(par):
tags.append(Tags.NOT_PARAGRAPH)
else:
tags.append(Tags.PARAGRAPH)
if len(par) < 4:
if len(par) < 4 and len(words) < 150:
tags.append(Tags.SHORT)
elif len(words) < 250:
tags.append(Tags.MEDIUM)
Expand Down

0 comments on commit 68e0e7e

Please sign in to comment.