Ryan Vogel
a31a812024
iOS keyboard: fix two-letter typos toward very common two-letter words
...
What: cautiousReplacement fixes a two-letter non-word (UITextChecker
doesn't know it, not ALL CAPS, no apostrophe) when one neighbouring key
or one swap turns it into a very common two-letter word of the layout's
language (KeyboardLanguage.commonTwoLetterWords, commonest first: "tk"
-> "to", "ot" -> "to", Spanish "nl" -> "no", "ee" -> "de"). English and
Spanish have lists; Norwegian and German have none yet and keep
leaving two-letter words alone. The step numbering in the comments
moves by one.
Why: autocorrect skipped every word under three letters, and the
commonest words are two letters: typing logs show "tk" for "to" left
uncorrected again and again (the o key's taps land low, on k).
Verified (Mac Studio, iPhone 18 Pro simulator, iOS 27.2, benchmark
harness outside the repo, today's engine): English held-out test,
13,870 words, output word error rate 15.0% -> 13.2%; labelled real
typing logs, 172 words, 14.5% -> 10.5%; Spanish test 24.7% -> 22.9%;
correct words broken unchanged (4 of 7,716 English, 16 of 7,246
Spanish, names excluded).
2026-11-20 11:17:32 -05:00
..
FullKeyboard
iOS keyboard: fix two-letter typos toward very common two-letter words
2026-11-20 11:17:32 -05:00
TypingLog
iOS: emoji panel with on-device suggestions (Experiments › Emoji) ( #2051 )
2026-11-20 15:53:24 +00:00
AppleIntelligenceCleanupSettings.swift
ios: optional Apple Intelligence transcript cleanup (experiment) ( #1538 )
2026-11-08 08:07:11 -05:00
AppleSpeechModule.swift
iOS: speech model fallbacks for iPhone 11 and unavailable languages; no raw errors in the keyboard ( #2048 )
2026-11-20 15:04:43 +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: Spanish clean-up, paste translated or as spoken, screen stays on while recording ( #2046 )
2026-11-20 14:39:28 +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: speech model fallbacks for iPhone 11 and unavailable languages; no raw errors in the keyboard ( #2048 )
2026-11-20 15:04:43 +00:00
DictationLanguageSwitch.swift
iOS: switch the dictation language from the keyboard
2026-11-20 07:52:38 -05:00
DictationTranslation.swift
iOS: Spanish clean-up, paste translated or as spoken, screen stays on while recording ( #2046 )
2026-11-20 14:39:28 +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
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: remove the return-to-app feature; swipe back after a handoff ( #2042 )
2026-11-20 13:58:31 +00:00
KeyboardSurface.swift
iOS: speech model fallbacks for iPhone 11 and unavailable languages; no raw errors in the keyboard ( #2048 )
2026-11-20 15:04:43 +00:00
SpeechModelInstall.swift
iOS: speech model fallbacks for iPhone 11 and unavailable languages; no raw errors in the keyboard ( #2048 )
2026-11-20 15:04:43 +00:00
SpokenCleanupRules.swift
iOS: Spanish clean-up, paste translated or as spoken, screen stays on while recording ( #2046 )
2026-11-20 14:39:28 +00:00
TranscriptFormatter.swift
iOS: Spanish clean-up, paste translated or as spoken, screen stays on while recording ( #2046 )
2026-11-20 14:39:28 +00:00
UserFacingError.swift
iOS: speech model fallbacks for iPhone 11 and unavailable languages; no raw errors in the keyboard ( #2048 )
2026-11-20 15:04:43 +00:00
VocabularySpelling.swift
ios: custom vocabulary experiment ( #1547 )
2026-11-08 12:15:00 -05:00