Allows configuration of the NLTK processing language

This commit is contained in:
Trenton H committed 2022-10-10 08:58:23 -07:00
1 parent 6523cf0c4b
commit d10d2f5a54
2 files changed
+4 -3

No files matched your search

+2
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()