Some code cleanup

This commit is contained in:
Patrick Jentsch committed 2023-10-30 11:36:28 +01:00
1 parent fbb32ef580
commit e8fe67d290
11 files changed
+71 -22

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ def build_corpus(corpus_id):
@bp.route('/stopwords')
@content_negotiation(produces='application/json')
def get_stopwords():
nltk.download('stopwords')
nltk.download('stopwords', quiet=True)
languages = ["german", "english", "catalan", "greek", "spanish", "french", "italian", "russian", "chinese"]
stopwords = {}
for language in languages: