Fixing gap in node_length coverage.

pull/11/head
Jan Weiß 12 years ago
parent f9b604c9a8
commit 6b3961cd30

@ -159,7 +159,7 @@ class Document:
if node_length > 80 and link_density < 0.25:
append = True
elif node_length < 80 and link_density == 0 and re.search('\.( |$)', node_content):
elif node_length <= 80 and link_density == 0 and re.search('\.( |$)', node_content):
append = True
if append:

Loading…
Cancel
Save