Repository navigation
Every language. 0.1.0 judged text only against the word lists of a few languages per script, so a clean page in Czech, Albanian, Belarusian or any of hundreds of other languages could be rated low (damaged). Measured on clean text in all 388 UDHR languages: 258 rated low in 0.1.0, 0 now.
- 103 languages with word lists (63 bundled from Tesseract's dictionaries, 40 from wordfreq), found automatically by character-trigram language identification.
- Languages without a word list are rated
mediumwithunknown_language(checked by script rules), not called damaged. Legacy-font garble is still caught: real-PDF and synthetic benchmarks are unchanged, and the 628-page arXiv set has the same 4 flags as before. --langaccepts all 110 languages TrueGlyph knows, plus forms such aspt-BR,no,tl.- New scripts: Syriac, Thaana (Dhivehi), Cherokee, Canadian syllabics (Inuktitut); Tibetan OCR.
- OCR models download themselves: a model Tesseract lacks is fetched once from tessdata_best (
TRUEGLYPH_NO_DOWNLOAD=1to opt out). - Words keep their vowel marks (vowelled Arabic, pointed Hebrew, Thaana); Urdu hamza spellings unified; pages of names are not word-checked.
pip install -U "trueglyph[all]"