Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Documents the configuration for NLTK related settings

Trenton Holmes95257d572385
diff --git a/docs/configuration.md b/docs/configuration.md
index bcde72e5f..d52663f5f 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -170,6 +170,15 @@ details.
Defaults to "`PAPERLESS_DATA_DIR`/log/".
+`PAPERLESS_NLTK_DIR=<path>`
+
+: This is where paperless will search for the data required for NLTK
+processing, if you are using it. If you are using the Docker image,
+this should not be changed, as the data is included in the image
+already.
+
+Defaults to `/usr/local/share/nltk_data`
+
## Logging
`PAPERLESS_LOGROTATE_MAX_SIZE=<num>`
@@ -698,6 +707,16 @@ for details on how to set it.
Defaults to UTC.
+`PAPERLESS_ENABLE_NLTK=<bool>`
+
+: Enables or disables the advanced natural language processing
+used during automatic classification. If disabled, paperless will
+still preform some basic text pre-processing before matching.
+
+See also `PAPERLESS_NLTK_DIR`.
+
+ Defaults to 1.
+
## Polling {#polling}
`PAPERLESS_CONSUMER_POLLING=<num>`