diff --git a/nlp/stopwords_detector.py b/nlp/stopwords_detector.py index 8527c42..f426884 100644 --- a/nlp/stopwords_detector.py +++ b/nlp/stopwords_detector.py @@ -5,7 +5,7 @@ with open('nlp/stop_words.txt', 'r', encoding='utf-8') as file: # Convert stopwords to a set for faster lookup stopword_set = set(stopwords) -def check_stopwords(text, stopwords): +def check_stopwords(text): """ Check if any words from the stopwords list are present in the given text.