Skip to content
Unverified Commit adb75814 authored by aszlig's avatar aszlig
Browse files

tesseract: Allow to specify a subset of languages.



Especially useful for our OCR based VM tests, where we only need the
english language. By default the argument is null so all languages are
included. If a list of language name is passed only those languages are
enabled, for example:

tesseract.override { enableLanguages = [ "eng" "spa" ]; };

To only enable support for English and Spanish languages.

Signed-off-by: default avataraszlig <aszlig@redmoonstudios.org>
parent 8be00dc7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment