Closed sotpapathe closed 2 years ago
I'm not going there, unless someone else wants to have a go. I spent some time carefully removing accents from the dictionaries and checking for duplicates so the app won't come up with unsolvable games. There is no algorithmic method, AFAIK, to get from accented letters to unaccented, so there would have to be a lookup table. There are rather a lot of accents, as I found when removing them.
Another possible solution would be to utilise the long press which I will implement for locking letters (#57) to cycle through possible accents for letters in complete guesses which can have accents, similar to some keyboards.
OK, a long press on a letter in a completed guess will show a pop-up menu with possible unaccented and accented characters for that letter. This makes it possible to add and remove accents.
That's a nice workaround, thanks!
This will help get the correct dictionary entries for languages that use accents, e.g. French. For example in the case of
ELIRE
, Wiktionary should be searched forélire
instead ofelire
. The virtual keyboard and word display would remain as they are now, without accents.Of course this would require updating the dictionary to contain the accents and remove the accents when testing whether a word is valid.
This is probably a lot of programming effort for little gain but it would be nice to have so I'm putting it here.