hex/ios/HEXShared/FullKeyboard
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel d26bf4f576 iOS: bilingual autocorrect skips a partner dictionary that takes every word
With English and Polish chosen, "teh " stayed "teh" in the iOS 27.2
simulator. iOS lists pl_PL there but has no Polish word data, so
UITextChecker takes any letters for a Polish word, and bilingual autocorrect
keeps a word the partner language knows as typed: every English typo became
"a Polish word". Polish is the first Latin-script layout whose dictionary can
be listed without data (Ukrainian's uk_UA does the same, but Cyrillic never
gets a partner), so the Polish layout is what exposed it. The same would
happen on an iPhone that lists a language before its data is in place.

The partner is now used only if its dictionary rejects a non-word
("qzxjvkq"), checked once per language on first use (so keyboard open does
no extra work). Otherwise English types alone, as before Polish was chosen.
A partner whose dictionary works is unchanged.

Verified on a fresh iPhone 17 Pro simulator (iOS 27.2), typing "teh " in
Messages: origin/dev with English + Spanish -> "The ", English + Ukrainian ->
"The "; this branch before the fix with English + Polish -> "Teh ", English
alone -> "The "; after the fix English + Polish -> "The ", English alone ->
"The ". AutocorrectEngineTests covers a partner that accepts everything
("teh" and "tge" fixed, "jest" -> "just") and a working one ("jest" kept).
The full HEXMobile suite passes (435 tests).
2026-11-20 23:42:21 -05:00
..
Emoji iOS: emoji panel memory, category taps, an eight-column Frequently used, and the system's look (#2142) 2026-11-21 04:31:34 +00:00
AccentPicker.swift iOS: emoji panel memory, category taps, an eight-column Frequently used, and the system's look (#2142) 2026-11-21 04:31:34 +00:00
AutocorrectEngine.swift iOS: bilingual autocorrect skips a partner dictionary that takes every word 2026-11-20 23:42:21 -05: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: the full keyboard's top bar matches the system keyboard (#2135) 2026-11-21 03:26:34 +00:00
FullKeyboardPalette.swift iOS: the full keyboard's top bar matches the system keyboard (#2135) 2026-11-21 03:26:34 +00:00
FullKeyboardSettings.swift iOS: Emoji and Swipe typing are on by default, under Settings › Keyboard (#2129) 2026-11-21 02:41:15 +00:00
FullKeyboardView+Emoji.swift iOS: emoji panel memory, category taps, an eight-column Frequently used, and the system's look (#2142) 2026-11-21 04:31:34 +00:00
FullKeyboardView.swift iOS: emoji panel memory, category taps, an eight-column Frequently used, and the system's look (#2142) 2026-11-21 04:31:34 +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: emoji panel memory, category taps, an eight-column Frequently used, and the system's look (#2142) 2026-11-21 04:31:34 +00:00
KeyboardBackdropView.swift iOS: opaque keyboard panel so stale system layers can't show through, and a nil-safe field ID (#2139) 2026-11-21 03:45:47 +00:00
KeyboardClipboard.swift iOS: fewer paste prompts, and a translate switch in the keyboard (#2134) 2026-11-21 03:24:58 +00:00
KeyboardKeyPlaneView.swift iOS: Emoji and Swipe typing are on by default, under Settings › Keyboard (#2129) 2026-11-21 02:41:15 +00:00
KeyboardLanguage.swift iOS: Polish keyboard layout 2026-11-20 23:32:43 -05:00
KeyboardLayout.swift iOS: the full keyboard's top bar matches the system keyboard (#2135) 2026-11-21 03:26:34 +00:00
KeyboardStripView.swift iOS: the full keyboard's top bar matches the system keyboard (#2135) 2026-11-21 03:26:34 +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: Emoji and Swipe typing are on by default, under Settings › Keyboard (#2129) 2026-11-21 02:41:15 +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