Helium314 / HeliBoard

Customizable and privacy-conscious open-source keyboard
Apache License 2.0
2.37k stars 93 forks source link

Word suggestions should be case sensitive #1131

Open Flexmaen opened 2 weeks ago

Flexmaen commented 2 weeks ago

In languages like German it sometimes makes a difference if a word is written with capital letter or without.

It seems that HeliBoard is not regarding this in the word suggestions. For example: When I write "das mal", HeliBoard is giving me suggestions like "mahl, Nagl, Mark" but not "Mal". When I write "der floh", suggestions are "Flohmarkt, Flöhe, Flohs" but not "Floh".

Both words should be in the dictionary in both versions (with capital letter and without), but it seems that HeliBoard is ignoring the same word case insensitive in its suggestions.

The way to fix this, would be to query the suggestions with case sensitivity I guess.

Helium314 commented 2 weeks ago

Are you using the default dictionary? In that case it's simply because the words Floh and Mal are not in there. If you type the words 2 or 3 times manually, they will get added to user history, and then they are suggested.

Flexmaen commented 2 weeks ago

Hmm, you are right that suggestions will improve once I type that word.

However these words already should be in the default dictionary, since I used them with Gboard. Also word suggestions sometimes are a bit odd, things with apostrophe won't work too for example.

But maybe I should discuss this at some Heliboard forum of there is any.

Flexmaen commented 1 week ago

Somethin still is odd. I get lower case word suggestions from words that never can be in a dictionary.