hex/ios/HEXShared/FullKeyboard
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 910ee3154b iOS keyboard: rank completions by frequency, names last, no repeated literal
What: the suggestion strip's completions now keep UITextChecker's own
order, which is most probable first (Apple's documented order; on iOS 27
"b" lists but, be, because and "th" lists the, they, that's), instead of
re-sorting it by length and then alphabetically. UILexicon terms
(Contacts names and text replacements) now rank after the dictionary's
completions instead of ahead of everything, and a capitalised name ranks
after every other completion unless the typed word starts with a
capital. A completion equal to what was typed is dropped, one-letter
words get completions too, and when nothing is left the strip shows only
the typed word on the left instead of repeating it in the centre.

Why: Record typing logs showed contact names and job titles from the
lexicon taking the centre slot for common prefixes (a surname over "the"
for "th"), and one-letter words repeating the literal as the primary.
Removed: the lexicon-first pass (up to three terms before any spelling
guess) and the length/alphabetical sort. The frequency source is the
existing UITextChecker; no word list was added.

Verified: xcodebuild test on the iPhone 18 Pro simulator (iOS 27.2),
AutocorrectEngineTests: 16 tests, 0 failures (4 new: frequency order
ahead of contacts, names demoted unless capitalised, no repeated
literal, and the system dictionary's order for "b" and "th").
2026-11-20 08:49:27 -05:00
..
AccentPicker.swift iOS: Norwegian, Spanish and German full-keyboard layouts 2026-11-20 07:52:48 -05:00
AutocorrectEngine.swift iOS keyboard: rank completions by frequency, names last, no repeated literal 2026-11-20 08:49:27 -05:00
FullKeyboardEngine.swift iOS: Norwegian, Spanish and German full-keyboard layouts 2026-11-20 07:52:48 -05:00
FullKeyboardPalette.swift iOS: drop the recording dot and timer so the Dot Scope fills the recording bar (#2040) 2026-11-20 13:48:30 +00:00
FullKeyboardSettings.swift iOS: add a Haptics switch to the full keyboard (#2030) 2026-11-20 11:59:34 +00:00
FullKeyboardView.swift iOS: drop the recording dot and timer so the Dot Scope fills the recording bar (#2040) 2026-11-20 13:48:30 +00:00
HexKeyGesture.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
HexKeyViews.swift iOS: drop the recording dot and timer so the Dot Scope fills the recording bar (#2040) 2026-11-20 13:48:30 +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: switch the dictation language from the keyboard 2026-11-20 07:52:38 -05:00
KeyboardLanguage.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
KeyboardLayout.swift iOS: Norwegian, Spanish and German full-keyboard layouts 2026-11-20 07:52:48 -05:00
KeyboardStripView.swift Make the suggestion highlight fill its slot (#2013) 2026-11-19 21:15:08 +00:00
ShiftStateMachine.swift iOS: full keyboard experiment flag, key layout and shift model (#910) 2026-11-01 12:43:35 -08:00
TypingJournal.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +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