Fix: correct nltk data path (#7338)

This commit is contained in:
fusselkater 2024-07-29 16:27:08 +02:00 committed by GitHub
parent a7536e3ebf
commit fa19a8975e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -540,8 +540,7 @@ are released, dependency support is confirmed, etc.
15. Optional: If using the NLTK machine learning processing (see
[`PAPERLESS_ENABLE_NLTK`](configuration.md#PAPERLESS_ENABLE_NLTK) for details),
download the NLTK data for the Snowball
Stemmer, Stopwords and Punkt tokenizer to your
`PAPERLESS_DATA_DIR/nltk`. Refer to the [NLTK
Stemmer, Stopwords and Punkt tokenizer to `/usr/share/nltk_data`. Refer to the [NLTK
instructions](https://www.nltk.org/data.html) for details on how to
download the data.