From: tooomm Date: Sun, 5 Mar 2023 15:03:42 +0000 (+0100) Subject: better language code help X-Git-Tag: v1.14.0-beta.rc1~1^2~6^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcd10f63ea300d8f80214c9b8a615bdd5b75385d;p=thirdparty%2Fpaperless-ngx.git better language code help --- diff --git a/docs/configuration.md b/docs/configuration.md index 2f6566170e..f14ee8c464 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -383,21 +383,20 @@ needs. : Customize the language that paperless will attempt to use when parsing documents. - It should be a 3-letter language code consistent with ISO 639: - https://www.loc.gov/standards/iso639-2/php/code_list.php + It should be a 3-letter code, see the list of [languages Tesseract supports](https://tesseract-ocr.github.io/tessdoc/Data-Files-in-different-versions.html). 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 + in which case Tesseract will use whatever language matches best. + Keep in mind that Tesseract uses much more CPU time with multiple languages enabled. Defaults to "eng". !!! note - If your language contains a '-' such as chi-sim, you must use chi_sim + If your language contains a '-' such as chi-sim, you must use `chi_sim`. `PAPERLESS_OCR_MODE=`