جSindhi-Jev
Get started

Quick start

Three commands, one word crop. Install first: pip install sindhijev (the model downloads on first use; see Install).

Make a word crop

Cut 1 to 4 printed Sindhi words from a page: a screenshot or a scanner crop is fine. Keep a little white space around the ink. Save it as word.png.

Check the OCR text

sindhijev check word.png "ڪلوواٽ اهي"
Outputp_wrong=1.000  ڪلوواٽ اهي
suspicious letters (positions [7]): ا

p_wrong is the chance that the text does not match the image. The flagged letter is where the dots (or the madda) look wrong.

Repair the dots

sindhijev repair word.png "ڪلوواٽ اهي"
Outputڪلوواٽ آهي
  ڪلوواٽ اهي -> ڪلوواٽ آهي  p_wrong 1.000 -> 0.000

Pick the best of several outputs

sindhijev pick word.png --cand "ڪلوواٽ اهي" --cand "ڪلوواٽ آهي"
Outputbest: p_wrong=0.000  ڪلوواٽ آهي
no letter flagged
(from cand2)
  other p_wrong=1.000  ڪلوواٽ اهي  (cand1)
Prefer a browser?The Playground does the same with drag-and-drop and a letter-by-letter heat map.

These outputs are from a synthetic crop in a font the model never saw in training (Harmattan). Use --json on any command for machine-readable output.

Sindhi-Jev by Arsalan Kaleem (ORCID 0009-0002-9054-6965) · Apache-2.0 · source on GitHub · numbers on this site come from the repository's result files; nothing here was tuned on the real test set.