jwilk-archive / ocrodjvu

OCR for DjVu
GNU General Public License v2.0
45 stars 19 forks source link

Tesseract 4: error: invalid language identifier: Latin #29

Closed vltavskachobotnice closed 5 years ago

vltavskachobotnice commented 6 years ago

For example from https://github.com/tesseract-ocr/tessdata/tree/master/script. Now ocrodjvu returns this error:

./ocrodjvu --in-place -l Latin foo.djvu usage: ocrodjvu [options] FILE ocrodjvu: error: invalid language identifier: Latin; language identifier is typically an ISO 639-2 three-letter code

jwilk commented 5 years ago

Thanks for the bug report, and sorry for dropping ball on this. It will be fixed in the next version, which I hope to release in a few days.

jwilk commented 5 years ago

Fixed in 0.11.