hex/ios/HEXShared/FullKeyboard
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
..
Emoji iOS: emoji panel no longer blurs on a real keyboard; taps and holds behave (#2070) 2026-11-20 16:58:50 +00:00
AccentPicker.swift iOS: Norwegian, Spanish and German full-keyboard layouts 2026-11-20 07:52:48 -05:00
AutocorrectEngine.swift iOS: next-word suggestions and fewer wrong autocorrections (#2125) 2026-11-21 01:13:08 +00:00
DeleteWordSwipe.swift iOS: keep key haptics while dictating, and slide left on delete to delete words (#2080) 2026-11-20 17:55:51 +00:00
FullKeyboardEngine.swift iOS: next-word suggestions and fewer wrong autocorrections (#2125) 2026-11-21 01:13:08 +00:00
FullKeyboardPalette.swift iOS keyboard: follow the keyboard's live traits for light and dark, not the proxy's appearance (#2050) 2026-11-20 15:53:21 +00:00
FullKeyboardSettings.swift iOS: Hex key on the left (Settings › Keyboard › Hex key) (#2120) 2026-11-21 00:38:33 +00:00
FullKeyboardView+Emoji.swift iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00
FullKeyboardView.swift iOS: next-word suggestions and fewer wrong autocorrections (#2125) 2026-11-21 01:13:08 +00:00
HexKeyGesture.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
HexKeyViews.swift iOS: Hex key on the left (Settings › Keyboard › Hex key) (#2120) 2026-11-21 00:38:33 +00:00
KeyboardClipboard.swift Replace the keyboard's blank Paste control with a Paste chip (#2011) 2026-11-19 21:06:32 +00:00
KeyboardKeyPlaneView.swift iOS: swipe typing for English and Spanish (Experiment, off by default) (#2106) 2026-11-20 22:30:53 +00:00
KeyboardLanguage.swift iOS: several keyboard languages, switched on the space bar, with bilingual autocorrect (#2104) 2026-11-20 22:08:01 +00:00
KeyboardLayout.swift iOS: Hex key on the left (Settings › Keyboard › Hex key) (#2120) 2026-11-21 00:38:33 +00:00
KeyboardStripView.swift iOS: Hex key on the left (Settings › Keyboard › Hex key) (#2120) 2026-11-21 00:38:33 +00:00
never-suggest.tsv iOS: never suggest slurs, and swear words only when asked (#2093) 2026-11-20 20:17:31 +00:00
OffensiveWords.swift iOS: never suggest slurs, and swear words only when asked (#2093) 2026-11-20 20:17:31 +00:00
ShiftStateMachine.swift iOS: full keyboard experiment flag, key layout and shift model (#910) 2026-11-01 12:43:35 -08:00
SwipeDecoder.swift iOS: swipe typing for English and Spanish (Experiment, off by default) (#2106) 2026-11-20 22:30:53 +00:00
SwipeTyping.swift iOS: swipe typing for English and Spanish (Experiment, off by default) (#2106) 2026-11-20 22:30:53 +00:00
TypingDecoder.swift iOS: next-word suggestions and fewer wrong autocorrections (#2125) 2026-11-21 01:13:08 +00:00
TypingJournal.swift iOS: Delete what Hex learned also forgets the words autocorrect learned to keep (#2101) 2026-11-20 21:28:27 +00:00
TypingJournalLearning.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00