bug fixes

This commit is contained in:
Inga Kirschnick committed 2023-07-26 11:25:32 +02:00
1 parent 27fe4a95e4
commit 5eef2292e7
3 files changed
+18 -15

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ def get_stopwords():
stopwords = {}
for language in languages:
stopwords[language] = nltk.corpus.stopwords.words(language)
stopwords['punctuation'] = list(punctuation) + ['—', '|', '–', '“', '„']
stopwords['punctuation'] = list(punctuation) + ['—', '|', '–', '“', '„', '--']
stopwords['user_stopwords'] = []
response_data = stopwords
return response_data, 202