hex/ios/HEXMobile
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 34d0a739c8
iOS keyboard: reproducible Polish typing model build, Polish held-out set, Polish credits (no model shipped) (#2401)
* Typing gate: a Polish held-out set beside the other six

pl.tsv.gz holds 2,000 Tatoeba sentences (10,735 words, 4,071 with a Polish letter) typed
with the same touch model as German's and Italian's on Hex's iOS Polish rows (QWERTY at
39.5 pt), Polish's letters typed as their base key (each is held on it; ł as l), in
held-out/'s format with each sentence's Tatoeba ID and contributor. polish_set.py makes it
(gzip without a name or time, so a rerun on the same export gives the same bytes; checked:
SHA-256 a2b14929... twice). quality-gate.py gates only languages with a model and a set, so
Android's gate is unchanged (de, en, es, fr, it, nb); Polish's accent keys and critical
cases are in the README until a model joins them.

Measured on the iOS engine (experiment, not in this repository's tests): 84.3% fewer errors
than raw taps with Hex's own Polish model and word lists, -1.8% without a model.

* iOS: Polish data credits, shown once the keyboard bundles pl.hextm

Settings › Acknowledgements gains NKJP's n-grams (CC BY, its page names no version),
ParlaMint 5.0 (CC BY 4.0) and PoliMorf, with PoliMorf's 2-clause BSD notice in full as
its licence asks of binary distribution. They show only when HEXKeyboard.appex holds
pl.hextm (AcknowledgementsView.shown), which no build does yet, so today's screen is
unchanged; ios/README.md lists them the same way.

* iOS keyboard: build Polish's typing model with the shared builder, from pinned NKJP, ParlaMint and PoliMorf inputs

build-typing-model.py pl <work> pl.hextm [nkjp+parlamint|nkjp|parlamint] builds the Polish
model that passed the typing gate on the iOS engine. Polish has no Google Books counts, so:
- words and pairs come from NKJP's n-grams (300M-word balanced subcorpus), kept where PoliMorf
  lists the word;
- a plain spelling goes when NKJP or ParlaMint 5.0 (which writes every mark) has its marked twin
  at least 20 times as often ('ide' is 3.6 times rarer than 'idę' in NKJP, 97 times in
  ParlaMint); each corpus alone failed the gate (ParlaMint changed 0.84% of correct words, NKJP
  kept 'ide');
- a pair may span a comma ('wiem, że' is typed 'wiem że'); pairs need 10 sightings in NKJP;
- ł's base letter is l (BASES), as é's is e;
- it also writes <output>.valid, PoliMorf's other words NKJP uses at least twice, in Android's
  validity-list format, for the dictionary reader Polish needs on iOS.
POLISH_INPUTS names each input's URL, licence and SHA-256; the build refuses a changed file.
English and Spanish take the same code path as before; write_model's pair threshold became a
parameter whose default is the old MIN_PAIR.

Rebased onto dev 06ac30af with #2408's English contractions and extra words; both kept.

Verified: Polish rebuilds the gated model byte for byte (SHA-256 10da84ee..., 150,000 words,
184,327 pairs, the same 525,084 validity words). English and Spanish: see the pull request.
2026-11-22 14:28:54 -05:00
..
Assets.xcassets iOS: onboarding follows the desktop flow (#2136) 2026-11-21 03:27:38 +00:00
zh-Hans.lproj iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
AcknowledgementsView.swift iOS keyboard: reproducible Polish typing model build, Polish held-out set, Polish credits (no model shipped) (#2401) 2026-11-22 14:28:54 -05:00
AppleSpeechTranscriber.swift iOS: speech model preparation that never answers fails with Try again (#2372) 2026-11-22 12:31:22 -05:00
AppShortcuts.xcstrings iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
AudioBackend.swift iOS: a warm session dictates in the background on iOS 27 again, and a keyboard that opens Hex brings the warm default back (#2406) 2026-11-22 13:12:24 -05:00
ContentView.swift iOS: tappable Paste from Other Apps notice and app Settings card (#2394) 2026-11-22 11:13:25 -08:00
CustomVocabularyEditor.swift iOS: Czech keyboard, and custom words for typing (#2205) 2026-11-21 10:37:55 -05:00
DictationController+Engine.swift iOS: a working dictation is never taken away by a guess, and no speech model check sits forever (#2371) 2026-11-22 08:56:10 -05:00
DictationController+LaunchFixtures.swift iOS: tappable Paste from Other Apps notice and app Settings card (#2394) 2026-11-22 11:13:25 -08:00
DictationController+ModelPreparation.swift iOS: speech model preparation that never answers fails with Try again (#2372) 2026-11-22 12:31:22 -05:00
DictationController+WarmDefault.swift iOS: Keep mic warm defaults to Off and hides where the keyboard dictates by itself (#2393) 2026-11-22 11:58:48 -05:00
DictationController.swift iOS: tappable Paste from Other Apps notice and app Settings card (#2394) 2026-11-22 11:13:25 -08:00
EmojiSemanticIndex.swift iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00
FullKeyboardSnapshotStage.swift iOS: tappable Paste from Other Apps notice and app Settings card (#2394) 2026-11-22 11:13:25 -08:00
HexIntents.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
HexLinks.swift iOS: privacy and support links in the app, Continue before the mic prompt, typing logs consent (#2063) 2026-11-20 16:23:37 +00:00
HEXMobile.entitlements Set up Hex Mobile internal TestFlight releases (#1997) 2026-11-19 11:48:49 -05:00
HEXMobileApp.swift iOS: tappable Paste from Other Apps notice and app Settings card (#2394) 2026-11-22 11:13:25 -08:00
Info.plist iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
KeyboardParakeetDownload.swift iOS: Speech model in keyboard on by default for English, downloaded only where the keyboard can use it (#2390) 2026-11-22 12:18:29 -05:00
KeyboardPreviewHost.swift iOS keyboard: remove the "Logging" mark; Record typing logs is only the switch (#2382) 2026-11-22 10:50:35 -05:00
KeyboardSetup.swift iOS: tappable Paste from Other Apps notice and app Settings card (#2394) 2026-11-22 11:13:25 -08:00
KeyboardSpeechPreparation.swift iOS: speech model preparation that never answers fails with Try again (#2372) 2026-11-22 12:31:22 -05:00
LanguageSettingsRows.swift iOS keyboard: English and German together type on the first one's keys, as Apple's bilingual keyboard (#2402) 2026-11-22 12:55:14 -05:00
LiveActivityCoordinator.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
Localizable.xcstrings iOS: tappable Paste from Other Apps notice and app Settings card (#2394) 2026-11-22 11:13:25 -08:00
Onboarding.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
OnboardingPieces.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
OnboardingProgress.swift iOS: onboarding always shows the Hex key, and practice needs Hex's dictation (#2211) 2026-11-21 12:20:32 -05:00
OnDeviceSpeechTranscriber.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
ParakeetTranscriber.swift iOS: Speech model in keyboard on by default for English, downloaded only where the keyboard can use it (#2390) 2026-11-22 12:18:29 -05:00
ParakeetUltraDownload.swift iOS: speech model preparation that never answers fails with Try again (#2372) 2026-11-22 12:31:22 -05:00
ParakeetUltraModel.swift iOS: Experiments › Speech model in keyboard: Parakeet in the keyboard, with the app closed (off by default) (#2381) 2026-11-22 10:44:16 -05:00
ParakeetUltraTranscriber.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
PrivacyInfo.xcprivacy iOS: version 1.0, iPhone only, privacy manifests (#2052) 2026-11-20 15:54:01 +00:00
SettingsComponents.swift iOS keyboard: Show what I say and Type as I speak (words while you dictate) (#2410) 2026-11-22 13:37:37 -05:00
SettingsPages.swift iOS: tappable Paste from Other Apps notice and app Settings card (#2394) 2026-11-22 11:13:25 -08:00
SpeechEngineChoice.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
SpeechModelMove.swift iOS: Speech model in keyboard on by default for English, downloaded only where the keyboard can use it (#2390) 2026-11-22 12:18:29 -05:00
TranscriptCleanup.swift fix(labs): Apple Intelligence cleanup never pastes an answer or a preamble (#2212) 2026-11-21 13:43:24 -05:00
TranslateDictationRow.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
TranslationSessionHost.swift iOS: Apple's on-device recognizer for older iPhones and languages Parakeet can't do, and iOS 18 translation (#2190) 2026-11-21 08:49:11 -05:00
TypingInsightsView.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
TypingLogsView.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00