sindhijev
Check Sindhi OCR text against the scanned word and flag dot errors letter by letter.
Sindhi letters differ by dots (ب ٻ ڀ پ, ن ڻ, ج ڄ, د ڏ ڌ). OCR engines often get the shape right and the dots wrong,
and many such mistakes are still real words. sindhijev looks at the word crop and the OCR text together, scores how
likely the text is wrong, and flags the suspicious letters. It is a 7M-parameter model run with ONNX Runtime on CPU
(about 20 ms per crop); the model file (~30 MB) is downloaded once on first use and checked by SHA-256.
pip install sindhijev
sindhijev check word.png "ڪلوواٽ اهي" # p_wrong=1.000, suspicious letter: ا
sindhijev repair word.png "ڪلوواٽ اهي" # ڪلوواٽ آهي
sindhijev pick word.png --cand "..." --cand "..." [--tesseract]
from sindhijev.tool import Checker
r = Checker().check("word.png", "ڪلوواٽ اهي")
print(r["p_wrong"], r["suspicious"])
Scope. Built for crops of 1 to 4 printed Sindhi words. On a frozen, hand-labelled set of real scans it ranks wrong OCR outputs above correct ones with AUROC 0.884 (0.935 on dot errors); on full lines it does not work.
- Documentation: https://arsalankaleem.me/sindhi-JEV/
- Live demo: https://huggingface.co/spaces/ArsalanKaleem/sindhijev
- Source, data and results: https://github.com/ArsalanKaleem/sindhi-JEV
- Licence: Apache-2.0 (bundled Noto Naskh Arabic font: SIL Open Font License)
Metadata
Release files for sindhijev 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sindhijev-0.1.0.tar.gz | 211.6 kB | Without provenance | Details for sindhijev-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sindhijev-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for sindhijev-0.1.0-py3-none-any.whl |
Total release size: 418.5 kB
Release files / sindhijev-0.1.0.tar.gz
| Download URL | sindhijev-0.1.0.tar.gz |
|---|---|
| Size | 211.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
350c9a391b9dbe9a7178d48205dbd09d2c3f81f28cf2266a8d0bf8cd8597e5af
|
|
BLAKE2b-256 checksum How to use checksums |
bbe9ad87ce84356f78da0f656a99e320fce5f1112dfb2d4972707b39183b8453
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / sindhijev-0.1.0-py3-none-any.whl
| Download URL | sindhijev-0.1.0-py3-none-any.whl |
|---|---|
| Size | 207.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f303e1ce9929260dc4d6a390720ffb2066165d609aba23d25101d0022839229
|
|
BLAKE2b-256 checksum How to use checksums |
2fb6da94064e5c1f5785f5c3e1ad70d66c4a7bfbd0d30dc7b85006e7d4c345db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Security for sindhijev 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.