From 9bfcbce7f746d2d04523e8225cd6c08e7ee454db Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 22 Feb 2022 14:40:43 +0200 Subject: [PATCH] xcv --- files/routes/comments.py | 4 ++++ requirements.txt | 1 + 2 files changed, 5 insertions(+) diff --git a/files/routes/comments.py b/files/routes/comments.py index 016c03ba6..e22afab97 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -17,6 +17,10 @@ import requests from shutil import copyfile from json import loads from collections import Counter + +import nltk +nltk.download('words') + from nltk.corpus import words words = set(WORDLE_LIST) | set(words.words()) diff --git a/requirements.txt b/requirements.txt index c757811c9..d48e24e1c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,6 +11,7 @@ gunicorn lxml mistletoe matplotlib +nltk Pillow psutil pyotp