This commit is contained in:
Untone 2024-09-29 10:05:14 +03:00
parent 338f8584db
commit 881b27080b

View File

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