hex/ios/HEXMobileTests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 00c8790109
iOS: next-word suggestions and fewer wrong autocorrections (#2125)
* iOS: offer next words from the bundled keyboard bigrams

Replace the empty word strip after a completed word with up to three tap-only continuations from its mapped language-model row. Keep clipboard, dictation and emoji offers ahead of idle predictions; an outdated pick never deletes a new token.

Verified two simulator tests and 2,000 held-out sentences per language. Next-word top-three hits increased from zero to 2,250/11,639 (EN) and 2,013/11,058 (ES), with identical output for every sentence and no additional broken words.

* iOS: require more evidence to drop a distinct keyboard tap

A repeated key or ambiguous border touch retains the original extra-tap cost. Discarding an isolated tap aimed clearly at another key adds up to four nats of cost, so a common phrase is less likely to erase a letter the user meant, as in 'I promised Tom'.

Verified 102 autocorrect/keyboard tests with the capitalization switch and the held-out bilingual benchmark: EN edits 892→824, correct words broken 113→79; ES edits 1168→1145, broken 26→23.

* iOS: complete short prefixes using the preceding word

Use the shipped model's prefix range and bigram row for tap-only completions. Give the predicted completion a slot when no fix is pending; keep automatic corrections ahead of it and preserve typed case.

Verified on 2,000 held-out sentences per language. Top-three hits after two taps rose from 2,250 to 3,262 in English and 466 to 2,924 in Spanish, with identical final text and broken-word counts. Whole-word strip hits changed by -1 EN/-2 ES. Tested English and Spanish completions with automatic capitalization disabled.
2026-11-21 01:13:08 +00:00
..
Fixtures iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00
AutocorrectEngineTests.swift iOS: next-word suggestions and fewer wrong autocorrections (#2125) 2026-11-21 01:13:08 +00:00
CleanupTaggerTests.swift iOS: Italian, French and Portuguese layouts that autocorrect in their own language; spoken @ and email addresses (#2069) 2026-11-20 16:43:10 +00:00
CustomVocabularyTests.swift ios: custom vocabulary experiment (#1547) 2026-11-08 12:15:00 -05:00
DictationControllerTests.swift iOS: never ask for Speech Recognition, and slides from 123 show the key preview (#2109) 2026-11-20 23:04:26 +00:00
DictationLearningTests.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00
DotScopeTests.swift fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) (#757) 2026-10-31 22:14:22 -07:00
EmojiSuggesterTests.swift iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00
FullKeyboardEngineTests.swift iOS: next-word suggestions and fewer wrong autocorrections (#2125) 2026-11-21 01:13:08 +00:00
HexKeyGestureTests.swift iOS: the keyboard starts listening on touch-down, with its capture page ready when it opens (#2089) 2026-11-20 20:04:35 +00:00
KeyboardBridgeTests.swift iOS: Hinglish dictation, Hindi in Latin letters (Experiment, off by default) (#2119) 2026-11-21 00:29:24 +00:00
KeyboardLayoutTests.swift iOS: Hex key on the left (Settings › Keyboard › Hex key) (#2120) 2026-11-21 00:38:33 +00:00
ShiftStateMachineTests.swift iOS: full keyboard experiment flag, key layout and shift model (#910) 2026-11-01 12:43:35 -08:00
SwipeDecoderTests.swift iOS: swipe typing for English and Spanish (Experiment, off by default) (#2106) 2026-11-20 22:30:53 +00:00
TranscriptCleanupTests.swift iOS: Hinglish dictation, Hindi in Latin letters (Experiment, off by default) (#2119) 2026-11-21 00:29:24 +00:00
TypingLogTests.swift iOS: Norwegian, Spanish and German full-keyboard layouts 2026-11-20 07:52:48 -05:00