hex/ios/HEXMobile
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 0226b1667d
iOS: spoken punctuation in dictation (#2198)
TestFlight build 56: "every time that I say a punctuation mark, it just
includes it as text."

Black box first (macOS 27.2.1, say voices Samantha, Paulina, Thomas,
Anna, Alice, Luciana):
- DictationTranscriber already writes every mark (":", ";", "–", quotes,
  "(…)", "…", "#", ":-)", apostrophes) in all six languages, so its text
  has no names left. It also has false positives of its own ("He has a?
  Tattoo", "La coma es opcional" -> "Hola, es opcional").
- SpeechTranscriber writes only "comma", "question mark" and some
  French/German/Italian names (virgule, point, Komma, Fragezeichen,
  virgola, due punti); "exclamation point", "colon", "semicolon",
  "dash", quotes and brackets stay words, often between commas ("I came
  semicolon, I saw", "open Paren after lunch close, Paren").
- Parakeet (desktop Hex's unified English model) writes every name as
  words with its own marks around them ("noon, comma, see you soon,
  period", "tonight question mark?", "well-hyphen known").
- Apple's iPhone dictation commands (support.apple.com, per language):
  period, comma, exclamation point, question mark, colon, semicolon,
  quote/end quote, open/close parenthesis, dollar sign, hashtag.

Change:
- SpokenPunctuation, a string-rule step inside Polished, Casual and
  Notes, after Format lists (so "dash … dash …" stays a list and "comma,
  new line" keeps its comma) and before the style's own punctuation;
  Verbatim keeps the words. English, Spanish, French, German, Italian
  and Portuguese with each language's command words (coma, punto, signo
  de interrogación, abrir comillas, punto y aparte; virgule, point
  d'interrogation, ouvrez les guillemets; Komma, Fragezeichen,
  Anführungszeichen unten/oben, Klammer auf/zu; virgola, punto
  interrogativo, apri virgolette; vírgula, ponto final, abre aspas).
  Marks attach to the word before, dashes are spaced, hyphen/apostrophe/
  arroba join, hashtag and dollar sign prefix, quotes are “ ” / « » / „ “,
  closers close only an open quote or bracket, a word after . ? ! is
  capitalized, and a mark the model already wrote beside a name is
  replaced, never doubled. French spacing still runs last.
- Guards: no conversion after an article, possessive, preposition,
  number or noun-making word ("a period of time", "the comma is",
  "Oxford comma", "trial period", "ein wichtiger Punkt"), before a word
  that continues the noun ("question mark tattoo", "colon cancer",
  "punto de vista"), in a compound ("comma-separated"), or between
  numbers ("two comma five"). Everyday-noun names (period, point/Punkt/
  punto/ponto, question mark, dash, smiley) also need the line end, a
  mark after, or a clause start after; colons need words after them.
  English "at sign" is left to SpokenCleanupRules.spokenSymbols.
- Settings › Dictation › Spoken punctuation (DictationPunctuationSettings,
  App Group key settings.dictationSpokenPunctuation), on by default: the
  141 prose sentences stay unchanged. Read at capture start in the app
  and by in-keyboard dictation. zh-Hans strings added.
- Polished: a line ending in "," or ";" ("Hi Sarah," before a line
  break) no longer gets a period added, and the space before an
  emoticon (":-)") is kept.

Verified: xcodebuild test on an iOS 27.2 simulator (Mac Studio), 582
tests, 0 failures, 1 skipped (pre-existing). New SpokenPunctuationTests
in TranscriptCleanupTests: the models' real transcripts per language,
DictationTranscriber text unchanged, 84 English and 57 other-language
prose sentences unchanged, quote/bracket pairing, every style, the
pipeline switch, Lowercase, lists interplay and the setting's default.
2026-11-21 09:31:47 -05:00
..
Assets.xcassets iOS: onboarding follows the desktop flow (#2136) 2026-11-21 03:27:38 +00:00
zh-Hans.lproj iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
AcknowledgementsView.swift iOS: Multilingual model (Parakeet Ultra) experiment, off by default (#2197) 2026-11-21 09:29:13 -05:00
AppleSpeechTranscriber.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
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: 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
CustomVocabularyEditor.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
DictationController+Engine.swift iOS: Multilingual model (Parakeet Ultra) experiment, off by default (#2197) 2026-11-21 09:29:13 -05:00
DictationController+LaunchFixtures.swift iOS: split DictationController so dev passes the size check (#2066) 2026-11-20 11:42:45 -05:00
DictationController.swift iOS: spoken punctuation in dictation (#2198) 2026-11-21 09:31:47 -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: delete keeps an autocorrection and the strip offers the revert, smart quotes, a two-way trackpad, and key clicks (#2192) 2026-11-21 09:22:10 -05:00
HexIntents.swift feat(ios): polish iPhone keyboard dictation, warm sessions, and Live Activity (#574) 2026-10-30 23:35:45 -07: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: Multilingual model (Parakeet Ultra) experiment, off by default (#2197) 2026-11-21 09:29:13 -05:00
Info.plist iOS: plain permission prompts and no pre-prompt Allow button, for App Review (#2058) 2026-11-20 16:13:36 +00:00
KeyboardPreviewHost.swift iOS: remove and add dictation languages from the keyboard, and a space-bar cursor on the Dictation bar (#2180) 2026-11-21 07:40:24 -05:00
KeyboardSetup.swift iOS: Full Access confirms on its own, and shows Off after a revoke (#2154) 2026-11-21 07:25:50 +00:00
KeyboardSpeechPreparation.swift iOS: Multilingual model (Parakeet Ultra) experiment, off by default (#2197) 2026-11-21 09:29:13 -05:00
LanguageSettingsRows.swift iOS: Latin American Spanish dictates with US or Mexican Spanish, and labels name the variant (#2191) 2026-11-21 09:15:50 -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: spoken punctuation in dictation (#2198) 2026-11-21 09:31:47 -05:00
Onboarding.swift iOS: Multilingual model (Parakeet Ultra) experiment, off by default (#2197) 2026-11-21 09:29:13 -05:00
OnboardingPieces.swift iOS: onboarding follows the desktop flow (#2136) 2026-11-21 03:27:38 +00:00
OnboardingProgress.swift iOS: onboarding follows the desktop flow (#2136) 2026-11-21 03:27:38 +00:00
OnDeviceSpeechTranscriber.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
ParakeetTranscriber.swift iOS: Multilingual model (Parakeet Ultra) experiment, off by default (#2197) 2026-11-21 09:29:13 -05:00
ParakeetUltraModel.swift iOS: Multilingual model (Parakeet Ultra) experiment, off by default (#2197) 2026-11-21 09:29:13 -05:00
ParakeetUltraTranscriber.swift iOS: Multilingual model (Parakeet Ultra) experiment, off by default (#2197) 2026-11-21 09:29:13 -05:00
PrivacyInfo.xcprivacy iOS: version 1.0, iPhone only, privacy manifests (#2052) 2026-11-20 15:54:01 +00:00
SettingsComponents.swift iOS: Multilingual model (Parakeet Ultra) experiment, off by default (#2197) 2026-11-21 09:29:13 -05:00
SettingsPages.swift iOS: spoken punctuation in dictation (#2198) 2026-11-21 09:31:47 -05:00
SpeechEngineChoice.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
TranscriptCleanup.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
TranslateDictationRow.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
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: learn each language separately (experiment) (#2188) 2026-11-21 09:00:58 -05:00
TypingLogsView.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00