hex/ios/HEXShared
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
..
FullKeyboard iOS: next-word suggestions and fewer wrong autocorrections (#2125) 2026-11-21 01:13:08 +00:00
TypingLog iOS: next-word suggestions and fewer wrong autocorrections (#2125) 2026-11-21 01:13:08 +00:00
AppleIntelligenceCleanupSettings.swift ios: optional Apple Intelligence transcript cleanup (experiment) (#1538) 2026-11-08 08:07:11 -05:00
AppleSpeechModule.swift iOS: Hinglish dictation, Hindi in Latin letters (Experiment, off by default) (#2119) 2026-11-21 00:29:24 +00:00
CleanupReconstruction.swift iOS: clean up what I say with an on-device tagger (experiment) (#2023) 2026-11-20 01:29:41 +00:00
CleanupTagger.swift iOS: dictation styles apply in the keyboard and read differently, plus Lowercase (#2103) 2026-11-20 21:47:04 +00:00
CleanupTokenizer.swift iOS: clean up what I say with an on-device tagger (experiment) (#2023) 2026-11-20 01:29:41 +00:00
CustomVocabularySettings.swift ios: custom vocabulary experiment (#1547) 2026-11-08 12:15:00 -05:00
DictationCorrections.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00
DictationEditInference.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00
DictationEditTracker.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00
DictationLanguage.swift iOS: several keyboard languages, switched on the space bar, with bilingual autocorrect (#2104) 2026-11-20 22:08:01 +00:00
DictationLanguageSwitch.swift iOS: Hinglish dictation, Hindi in Latin letters (Experiment, off by default) (#2119) 2026-11-21 00:29:24 +00:00
DictationPipeline.swift iOS: Hinglish dictation, Hindi in Latin letters (Experiment, off by default) (#2119) 2026-11-21 00:29:24 +00:00
DictationTranslation.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
DotScope.swift iOS: dictate from the keyboard without opening Hex, plus suggestions, autocorrect, and Paste (#1999) 2026-11-19 12:20:12 -05:00
DotScopeShader.metal fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) (#757) 2026-10-31 22:14:22 -07:00
EmptyCapture.swift iOS: fix six TestFlight tester issues (audio error, leaked error text, Live Activity, haptics, capitals, push to talk) (#2035) 2026-11-20 13:21:16 +00:00
HexTheme.swift fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) (#757) 2026-10-31 22:14:22 -07:00
HinglishLexicon.swift iOS: Hinglish dictation, Hindi in Latin letters (Experiment, off by default) (#2119) 2026-11-21 00:29:24 +00:00
HinglishRomanizer.swift iOS: Hinglish dictation, Hindi in Latin letters (Experiment, off by default) (#2119) 2026-11-21 00:29:24 +00:00
HomeSwipeCue.swift fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) (#757) 2026-10-31 22:14:22 -07:00
KeyboardBridge.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
KeyboardSurface.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
SpeechModelInstall.swift iOS: keep dictating English when its speech model was released, and say Open Hex instead of "no language" (#2090) 2026-11-20 20:06:14 +00:00
SpokenCleanupRules.swift iOS: dictation styles apply in the keyboard and read differently, plus Lowercase (#2103) 2026-11-20 21:47:04 +00:00
TranscriptFormatter.swift iOS: dictation styles apply in the keyboard and read differently, plus Lowercase (#2103) 2026-11-20 21:47:04 +00:00
UserFacingError.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
VocabularySpelling.swift ios: custom vocabulary experiment (#1547) 2026-11-08 12:15:00 -05:00