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