hex/ios/HEXMobile
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax 3d834b6ad3
iOS: two-language dictation experiment (#2348)
* iOS: two-language dictation experiment reads one recording in two languages

Adds Experiments › Two-language dictation, off by default: while Apple Speech dictates with SpeechTranscriber, a recording is read by two installed languages, its words merged piece by piece by confidence with a switch cost. The keyboard and app share the pair, analyzers, word extraction and merge in HEXShared; off, or without an installed second language, dictation runs exactly as before.

* iOS: two-language dictation keeps each reading's own characters

Mixed output now joins the winning runs' raw characters, keeps punctuation and untimed runs on the word before them, and inserts one space at a language change only when neither side has whitespace. Whenever the second reading wins no piece, the primary's own text is returned unchanged, so CJK and Thai spacing survives. Seam duplicates are judged by overlapping time, segments are scored by confidence-weighted seconds clipped to the segment, cut points take the earlier end, the second language is never reserved (installed only) and a failed SpeechTranscriber model is skipped, both analyzers are prewarmed, a silent primary reports empty instead of re-running the recording, and the experiment's copy, catalog, tests, and docs follow.

* iOS: two-language merge names its joined piece language apart from the Viterbi state

* iOS: two-language dictation skips unusable languages and trims mixed text

usablePair now tries the next keyboard language when a candidate has no dictation identifier, no SpeechTranscriber locale, a locale of the primary's base language, or no installed model. The merge trims the joined text, so the caller's text never starts or ends with run whitespace. A run with a non-finite or reversed time range keeps its characters on the word before it, the prepare comment says it prepares rather than prewarms, and the docs cite the latest macOS 26 run (45005571072, 33 tests).
2026-11-22 04:58:27 -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: Multilingual model (Parakeet Ultra) experiment, off by default (#2197) 2026-11-21 09:29:13 -05:00
AppleSpeechTranscriber.swift iOS: two-language dictation experiment (#2348) 2026-11-22 04:58:27 -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: dictation picks the car's mic in CarPlay, and a warm session never holds call audio (#2179) 2026-11-21 07:21:46 -05:00
ContentView.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
CustomVocabularyEditor.swift iOS: Czech keyboard, and custom words for typing (#2205) 2026-11-21 10:37:55 -05:00
DictationController+Engine.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
DictationController+LaunchFixtures.swift iOS: Settings and the setup sheet say what needs Full Access (#2304) 2026-11-21 21:35:58 -05:00
DictationController+ModelPreparation.swift iOS: split DictationController so dev passes the size check again (#2342) 2026-11-22 03:14:43 -05:00
DictationController.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
EmojiSemanticIndex.swift iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00
FullKeyboardSnapshotStage.swift iOS keyboard: Korean two-set (두벌식) layout with Hangul composition (experiment, off by default) (#2339) 2026-11-22 04:39:53 -05: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: two-language dictation experiment (#2348) 2026-11-22 04:58:27 -05:00
Info.plist iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
KeyboardPreviewHost.swift ios: give the dictation bar's top row 44 pt hit areas (#2258) 2026-11-21 16:37:47 -05:00
KeyboardSetup.swift iOS: Settings and the setup sheet say what needs Full Access (#2304) 2026-11-21 21:35:58 -05:00
KeyboardSpeechPreparation.swift iOS: Multilingual model (Parakeet Ultra) experiment, off by default (#2197) 2026-11-21 09:29:13 -05:00
LanguageSettingsRows.swift iOS keyboard: Korean two-set (두벌식) layout with Hangul composition (experiment, off by default) (#2339) 2026-11-22 04:39:53 -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: two-language dictation experiment (#2348) 2026-11-22 04:58:27 -05: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: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
ParakeetUltraDownload.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
ParakeetUltraModel.swift iOS: the multilingual model experiment never takes dictation away; its download says what it's doing and recovers (#2337) 2026-11-22 02:25:14 -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: two-language dictation experiment (#2348) 2026-11-22 04:58:27 -05:00
SettingsPages.swift iOS: two-language dictation experiment (#2348) 2026-11-22 04:58:27 -05:00
SpeechEngineChoice.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -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