mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
Apply R1's English typo and contraction rules before spatial search and match its language weight, shortlist and valid-spelling margins. A mapped SCOWL spelling list supplies the validity check missing on Android. Scale vertical spread and the missing-space cost to real Android row geometry so "seehkw" still splits into "see how". Keep the existing en/es model bytes. Build the new German and Bokmål HXTM files with the shared iOS writer. German uses all Google Books v3 shards; Bokmål uses NB book counts filtered by the complete 2022 Ordbank snapshot. Pin the new assets, credit their sources and licences, and ship their real layouts, accents and suggestions. Replace the post-setup list with the iOS-style Home, local Dictate bar and four settings pages. Follow the system language by default; make the spoken language switchable on space, and optionally pin an independent layout. Verified on the Studio API 35 ARM64 emulator: 1,027 English and 1,374 Spanish word errors vs R1's 1,163 and 1,387 on the same 2,000 synthetic sentences per language. Ran all five unit tests in debug and release, inspected the packaged assets, and checked external-editor suggestions, corrections, undo and offline microphone insertion, plus Home and settings in both themes. The Swift reader round-tripped both new models; the identical iOS files are in the separate local commit 230a437e.
12 lines
498 B
Text
12 lines
498 B
Text
wer en_raw 4689 13870 33.8068 160/2000
|
|
wer en_ios_shared 1163 13870 8.3850 1154/2000
|
|
wer en_android_spatial 1027 13870 7.4045 1249/2000
|
|
agreement en 1773/2000
|
|
latency en_letter 56826 0.0031 0.1727 5.6892
|
|
latency en_space 13675 0.0629 0.3183 2.8677
|
|
wer es_raw 5343 13301 40.1699 94/2000
|
|
wer es_ios_shared 1387 13301 10.4278 1064/2000
|
|
wer es_android_spatial 1374 13301 10.3301 1070/2000
|
|
agreement es 1906/2000
|
|
latency es_letter 59378 0.0046 0.2116 5.4735
|
|
latency es_space 13094 0.0568 0.2288 15.2690
|