Skip to content

Commit

Permalink
Further improve reliability of term counts
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerdq committed Aug 12, 2019
1 parent 66a177c commit 155cff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdfca.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


def count(x, term):
search = re.findall(term.lower(), x.lower())
search = re.findall(term.strip().lower(), x.strip().lower())
num = len(search)
return num

Expand Down

0 comments on commit 155cff3

Please sign in to comment.