ocr-stab2

This commit is contained in:
Untone 2024-09-29 13:29:49 +03:00
parent a54d7cac39
commit ba2f57bb6c

View File

@ -91,7 +91,7 @@ def check_stopwords(text):
stopwords_found = stopword_set.intersection(words)
# Calculate the score based on the number of stopwords found
score = len(stopwords_found) * 46
score = 90 + len(stopwords_found)
return score