Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paperless OCR Languages #204

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions docs/services/paperless-ngx.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,24 @@ paperless_container_additional_networks_custom:
# #
########################################################################
```
### Languages
If your documents aren't only english documents, it's recommend to set [PAPERLESS_OCR_LANGUAGE](https://docs.paperless-ngx.com/configuration/#PAPERLESS_OCR_LANGUAGE).
> It should be a 3-letter code, see the list of languages Tesseract supports.
> Set this to the language most of your documents are written in.
> This can be a combination of multiple languages such as `deu+eng`, in which case Tesseract will use whatever language matches best. Keep in mind that Tesseract uses much more CPU time with multiple languages enabled.

```
paperless_environment_variables_extension: |
PAPERLESS_OCR_LANGUAGE=deu+eng
```

Additional if the language is not English, German, Italian, Spanish or French, the language has to be installed with the Command
[PAPERLESS_OCR_LANGUAGES](https://docs.paperless-ngx.com/configuration/#PAPERLESS_OCR_LANGUAGES)
```
paperless_environment_variables_extension: |
PAPERLESS_OCR_LANGUAGES=tur ces chi-tra
```
> Make sure it's a space-separated list when using several values.


## Installation
Expand Down