Commit Graph
2 Commits
Author SHA1 Message Date
Ryan Vogel 8da0cf8291 Align Android typing with iOS and add German and Bokmål layouts and models
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.
2026-11-20 12:26:13 -05:00
Ryan Vogel d52bc92efd Benchmark Android typing against iOS on synthetic key taps
Replay the 2,000 held-out English sentences through the installed Kotlin decoder and suggestion path, keeping only public synthetic rows from the mixed iOS experiment. Preserve aggregate scores, the unmodified Google Books model builder, and the two model digests; no labelled personal typing, offsets, or raw logs are committed.

Verified 1,461 errors over 13,870 words (10.53% Android; 8.39% iOS without offsets using the byte-identical model; 33.81% raw). On the Studio emulator the real editor received letters in 1.41 ms median and spaces in 3.16 ms across five exact sentence replays. Document the confidence margins, timing boundaries, feedback controls, licences and reproducible aggregate scorer.
2026-11-20 12:26:12 -05:00