This commit is contained in:
mrq 2024-12-04 21:24:22 -06:00
parent c66a53492c
commit 4e21df8092

View File

@ -38,7 +38,7 @@ _logger = logging.getLogger(__name__)
# cringe
try:
import nltk
nltk.data.path.append("./.nltk/")
if not Path(".nltk").exists():
nltk.download('punkt_tab', download_dir="./.nltk/")
except Exception as e: