This commit is contained in:
2024-09-29 10:13:08 +03:00
parent a7abe92d3c
commit 1cd21b5026
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
stopwords = []
with open('nlp/stop_words.txt', 'r', encoding='utf-8') as file:
text = file.readlines()
stopwords = file.readlines()
# Convert stopwords to a set for faster lookup
stopword_set = set(stopwords)