hex/android/app
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 1412948b06 android keyboard: English contractions typed without their apostrophe
A tester typed "itd" expecting "it'd"; with Autocorrect on, space put in "its". Checked every
English contraction typed without its apostrophe on the shipped model (key-centre taps, the
keyboard's own TypingWord). Wrong before: itd -> its, thatd -> that, whod -> who's, thered ->
there's, whatd -> what's, wholl -> wholly, therell -> "the tell", shant -> shanty; nothing
offered for thatll or mightnt. None of those spellings is a word in the model or en.valid, so
they join englishFixes, with howd and hed (already right through the decoder, now without it),
and whatll. Words of their own ("wed", "id", "ill", "hell", "shell", "well", "were", "its",
"lets", "shed") are unchanged: ContextWords and suggestOnly decide them as before.

No model rebuild: the model already has it'll, how'd, who'd, he'd and the rest it needs, and
the fixes table is code. The swipe reader reads englishFixes' contractions as extra words, so
it'd, that'd, what'd, who'll, there'd and there'll can now be swiped: on swipe-bench.py en
(12,515 synthetic swipes) first word right 12,120 -> 12,124 (three he'd and the new it'd), no
first word lost, and 275 swipes show one of them among the strip's later readings (121 of them
that'd after "that").

Verified: ./gradlew :app:testDebugUnitTest (236 tests, one new case in ElisionSuggestionTest);
quality-gate.py en identical to dev's (4.90% noisy WER, 85.50%, 0.32%, 2/2, JSON differs only
in elapsed time).
2026-11-24 14:09:42 -05:00
..
src android keyboard: English contractions typed without their apostrophe 2026-11-24 14:09:42 -05:00
build.gradle.kts Android: faster English dictation (Labs) (#2704) 2026-11-24 13:36:38 -05:00
proguard-rules.pro Android: faster English dictation (Labs) (#2704) 2026-11-24 13:36:38 -05:00