Altomixik / russian-lazytype

0 stars 0 forks source link

Algorithm misses some character layouts #1

Open Altomixik opened 1 month ago

Altomixik commented 1 month ago

Some character combinations just can't be detected by the algorithm.

Let's try the string 'sch', and assume I set the щ symbol to 'sch'. s: is a letter, keep going sc: not a letter, s was the letter, add 's' to result c: is a letter, keep going ch: is a letter, string ends so stops.

that's why some strings just won't get registered; an example of a string 'sch' turning into the equivilant of 's' + 'ch' instead of 'sch' (щ)

Altomixik commented 1 month ago

Try rewriting from scratch, doo doo head!