German strange suggestion

App Store Released Typing & autocorrect German Normal

muleluku MOD ·

typing hergezeigt gives strange suggestions.

For one, hergezeigt isn't suggested itself, it isn't exactly uncommon at all.

But also Ärger is a really unexpected suggestion for what has been typed.

Discussion

efko DEV ·

@muleluku Ärger came from the rule that lets you type ä as "ae": it took any key as the "a", so the h in "herge…" got read as Ä, and hiergezeigt/dergezeigt were glued guesses with a typo fix shown next to a word that was already fine. Fixed for build 461 (and 2.2.1 on the App Store): "ae" only counts as ä when you actually hit a or a key next to it, and those glued guesses no longer show up next to a valid word. hergezeigt itself still won't autocomplete yet, it's too rare in my word data and needs a dictionary update.

efko DEV ·
status → Needs testing
muleluku MOD · · edited

Now it makes sense, why Ärger.

@efko

Do you think it would be a good rule in general to improve autocorrection? To offer words as corrections where letters are substituted, only when the changed letters are next to each other on the keyboard?

But could get complex, when for example swapped letters within the word are plausible typos as well.

efko DEV ·

@muleluku that's roughly how it already works: a letter swapped for a neighbouring key is cheap, any other letter gets a fixed, much higher penalty and is only tried while the rest of the word matches closely. A hard neighbours-only rule would block real mistakes that have nothing to do with key distance, like d/t or ie/ei spelling slips, plus missing and swapped letters, which are their own typo types anyway. The Ärger case was the umlaut rule skipping that distance check completely, and that's what build 461 fixes.

muleluku MOD ·
status → Fixed

Sign in to comment or vote.