mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
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.
|
||
| .. | ||
| CleanupTagger | ||
| TypingModel | ||
| ContainingAppOpener.swift | ||
| HEXKeyboard.entitlements | ||
| Info.plist | ||
| KeyboardInputView.swift | ||
| KeyboardLocalDictation.swift | ||
| KeyboardViewController.swift | ||
| PrivacyInfo.xcprivacy | ||