Allows configuration of the NLTK processing language

This commit is contained in:
Trenton H
2022-09-16 13:57:37 -07:00
parent 70b1988a55
commit 0bc13c2a72
2 changed files with 4 additions and 3 deletions

View File

@@ -708,3 +708,5 @@ if os.getenv("PAPERLESS_IGNORE_DATES") is not None:
ENABLE_UPDATE_CHECK = os.getenv("PAPERLESS_ENABLE_UPDATE_CHECK", "default")
if ENABLE_UPDATE_CHECK != "default":
ENABLE_UPDATE_CHECK = __get_boolean("PAPERLESS_ENABLE_UPDATE_CHECK")
NLTK_LANGUAGE = os.getenv("PAPERLESS_NLTK_LANG", "english").lower()