mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
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"). |
||
| .. | ||
| Fixtures | ||
| AutocorrectEngineTests.swift | ||
| CleanupTaggerTests.swift | ||
| CustomVocabularyTests.swift | ||
| DictationControllerTests.swift | ||
| DictationLearningTests.swift | ||
| DotScopeTests.swift | ||
| FullKeyboardEngineTests.swift | ||
| HexKeyGestureTests.swift | ||
| KeyboardBridgeTests.swift | ||
| KeyboardLayoutTests.swift | ||
| ShiftStateMachineTests.swift | ||
| TranscriptCleanupTests.swift | ||
| TypingLogTests.swift | ||