Highlights
- Aw-vowel un-mask detector (opt-in). Surfaces a class of Myanmar aw-vowel spelling errors — flat/tall aa swaps in the aw-vowel rime (ော ↔ ေါ, e.g.
ခော်→ခေါ်) — that the pre-lookup normalizer previously masked before validation. Default-off; opt in via thedetect_aw_vowel_unmaskconfig flag orMSC_DETECT_AW_VOWEL_UNMASK. +0.0350 spelling composite when enabled — +98 true positives at zero added false positives, top-1 accuracy 92% on the un-masked corrections. - ~40% hot-path latency reduction (default, behavior-identical). p95 658 → 401 ms, mean per-sentence time −43%, with byte-identical detections.
- Concurrent batch checking hardened (default). The shared probe score cache is lock-guarded, so concurrent
check_batch_asyncworkers no longer race the cache under load. - Pre-ship hardening. An adversarially-verified review of the release diff fixed 11 issues plus a pre-existing failing test; the full test suite passes (5,182).
Compatibility
Default behavior unchanged — the new detection feature is opt-in. The latency and concurrency improvements apply to all deployments with identical results. No public API signature changes.
pip install myspellchecker==1.8.0
Full changelog: https://github.com/thettwe/myspellchecker/blob/main/CHANGELOG.md