hex/ios/HEXKeyboard/TypingModel/de.hextm
Dax 519705a480
iOS: German spatial autocorrect behind an experiment (#2161)
Settings › Experiments › German spatial autocorrect, off by default, lets the
Deutsch layout read taps with the German model Android ships. de.hextm is
byte-identical to android/app/src/main/assets/typing/de.hextm (v3, language
"de", the hash its SHA256SUMS lists).

One settings-aware lookup, FullKeyboardSettings.typingModel(for:), returns a
German model only while Spatial autocorrect and the experiment are both on,
so with the experiment off German keeps the dictionary engine exactly as
before: no decoder, no letter odds, no model completions, no partner model.
TypingDecoderModel.bundled still loads any bundled file for tests.

German texts every noun with a capital and the model is lowercase, so a noun
the decoder corrects to takes the capital the dictionary knows only
capitalised ("hsus" reads "haus" and comes out "Haus") while
Auto-capitalization is on.
2026-11-21 03:10:49 -05:00

3.4 MiB