Better autocorrection for umlauts
Posted: Sun Feb 21, 2010 7:14 pm
Hi there,
just bought your keyboard app. Very nice so far, especially the ability to quick-switch the language. However, I'd like to see one (probably easy to implement) feature. It's always a hassle to write umlauts (e.g. ä), so I'd like to skip that and just write the letter without them (in this case a). So your application could query the dictionary not only for the word entered, but for all permutations with a, o, u and single occurrences of s replaced by ä, ö, ü and ß, respectively.
For instance, I'd like to write the word "läßt" as "last", and the algorithm would generate those words:
last, läst, laßt, läßt
The last word should hit a dictionary entry and be the first on the list of suggestions.
To cut down on the number of generated permutations, you could apply some restrictions depending on the language. I think an umlaut is never preceded by a vowel, so no need to generate "haär" for the word "haar" ("häar" would be possible but doesn't exist in that case). With ß it's a bit different, it's probably best to generate ß for both "ss" and "s": "Straße" can also be written as "Strasse", but I'd expect it to propose "Straße" when I write "Strase".
just bought your keyboard app. Very nice so far, especially the ability to quick-switch the language. However, I'd like to see one (probably easy to implement) feature. It's always a hassle to write umlauts (e.g. ä), so I'd like to skip that and just write the letter without them (in this case a). So your application could query the dictionary not only for the word entered, but for all permutations with a, o, u and single occurrences of s replaced by ä, ö, ü and ß, respectively.
For instance, I'd like to write the word "läßt" as "last", and the algorithm would generate those words:
last, läst, laßt, läßt
The last word should hit a dictionary entry and be the first on the list of suggestions.
To cut down on the number of generated permutations, you could apply some restrictions depending on the language. I think an umlaut is never preceded by a vowel, so no need to generate "haär" for the word "haar" ("häar" would be possible but doesn't exist in that case). With ß it's a bit different, it's probably best to generate ß for both "ss" and "s": "Straße" can also be written as "Strasse", but I'd expect it to propose "Straße" when I write "Strase".