From ba2f57bb6cee4920a065b28f54b70578d1b38b7c Mon Sep 17 00:00:00 2001 From: Untone Date: Sun, 29 Sep 2024 13:29:49 +0300 Subject: [PATCH] ocr-stab2 --- nlp/stopwords_detector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nlp/stopwords_detector.py b/nlp/stopwords_detector.py index 161ec89..9dcfab4 100644 --- a/nlp/stopwords_detector.py +++ b/nlp/stopwords_detector.py @@ -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