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 changed
- DictationLanguage gains French (fr, follows the AZERTY layout), Italian (it,
follows the Italian layout) and Dutch (nl, no layout of its own, so the
keyboard stays English QWERTY). They appear in Settings › Dictation language
and the Hex menu's language page; Automatic picks them from the phone's
languages or from an explicit French or Italian keyboard layout.
- Mid-sentence dictation knows a short list of French, Italian and Dutch
function words, so "La réunion" after "et" goes in lowercase; names keep
their capital.
- No hesitation trimming for these languages: iOS's TranscriptFormatter defines
none for them either (French "euh" stays). Spoken punctuation and French
spacing already covered French and Italian; Format lists and Clean up what I
say stay English and Spanish (and German, Norwegian for cleanup), as on iOS.
Measured (emulator only, Whisper small, airplane mode, macOS say voices
through the emulator microphone; WER counts number words written as digits,
"6h", "4", as errors)
- French, 16 sentences per voice (14 plain, 2 with spoken punctuation):
Thomas 14.7%, Amélie 13.8%, Jacques 33.6% (Jacques's voice garbled several
clips, "Infections." for "Il fait très beau aujourd'hui à Paris").
- Italian 3.9% (Alice, 8 sentences), Dutch 7.8% (Xander and Ellen, 8).
- The spoken punctuation clips are the weak spot in French: Whisper wrote
"Bonjour.comance à va-point d'interrogation" for every voice but one, which
no text rule can repair.
Verified
- ./gradlew :app:testDebugUnitTest on the Studio: InsertionTest 34/34 (new
test: Automatic and layouts, punctuation through the styles in each
language, mid-sentence case); NeverSuggestTest 24/24.
- Emulator: with the layout set to Français or Italiano and dictation on
Automatic, the space bar said "Français" (AZERTY) or "Italiano" and the
dictation came out French ("La réunion est déplacée à jeudi prochain.") or
Italian ("Ti chiamo domani mattina prima della riunione."). With dictation
set to Français the keyboard switched to AZERTY; with Nederlands it stayed
QWERTY and the space bar said "Nederlands".
|
||
| .. | ||
| src | ||
| build.gradle.kts | ||
| proguard-rules.pro | ||