ignore digits

This commit is contained in:
OneNewDev 2022-05-28 15:33:29 +02:00
parent 233d1c94bf
commit 737634e740

View file

@ -44,6 +44,8 @@ class FileScanner(HTMLParser):
score = 10
if word in EXCLUDED_WORDS:
continue
if word.isdigit():
continue
if word in title_words:
score *= 4
word_length = len(word)