ocr-stab2
This commit is contained in:
parent
a54d7cac39
commit
ba2f57bb6c
|
@ -91,7 +91,7 @@ def check_stopwords(text):
|
||||||
stopwords_found = stopword_set.intersection(words)
|
stopwords_found = stopword_set.intersection(words)
|
||||||
|
|
||||||
# Calculate the score based on the number of stopwords found
|
# Calculate the score based on the number of stopwords found
|
||||||
score = len(stopwords_found) * 46
|
score = 90 + len(stopwords_found)
|
||||||
|
|
||||||
return score
|
return score
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user