Skip to content

v1.8.0

Latest

Choose a tag to compare

@thettwe thettwe released this 10 Jun 03:02
· 7 commits to develop since this release
0f23ff9

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 the detect_aw_vowel_unmask config flag or MSC_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_async workers 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