-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different logic for punctuation in Ukrainian and English #634
Comments
This complication is because of the words with apostrophes. And it seems that I didn't test well enough. You can see the intended behavior, if you type "don't" in English. When you press "1" for an apostrophe, typing another letter ends the previous word and starts a new one. The only possible way to continue typing the same word is to complete "don't" by pressing 8. To fix the problem, I will:
How does this sound? |
I don't see a very big difference between apostrophe use in Ukrainian and English I like the plus much more, the repeated word suggestion were a nightmare (: How will the point 2 work with Ukrainian and Hebrew? Will I be able to type "Мар'яна" with 4261952 or will I need to manually select the apostrophe? Because I'm much more happier to press some more left to get question mark than scrolling through to apostrophe |
It just works, have a try (v38.26). You can type "Мар'яна" with 4261952 It should be able to guess all situations automagically now. Please, let me know if there is still something wrong. Also, have in mind the version I have attached, also contains half of the changes for the upcoming version 39.0. Toggling between uppercase and lowercase can be done using a separate SHIFT key only (hopefully, for the better). See this comment and this issue for more info. |
@WallK, have you managed to try the new version? Does it solve the punctuation problems? |
I've played with it and it works nicely for non-apostrophe words |
Ah, yes, I wanted to ask you about this case. By default, it always tries to produce 20 suggestions. But the punctuation combinations are less than that, so it adds longer words. I was thinking that, since this is a somewhat special case, when the current digit sequence ends with 1, maybe there should be no longer words? For example, if you type "426", then you would get: "пас", "мас", "нас" and whatnot. Say, "нас" is the first one. Then, if you press "1", you will get only the exact "4261" combinations: "нас" + And this logic will be applied to all languages. I think it is the better choice, even though it will not be possible to type "don't" using "3661" + left, but only using "36614". Actually, now that I explained it to you, I realized "don't" will again require 5 clicks, so typing will not be slower. |
I think I've never looked for the suggestion before I've pressed all the required buttons, but I could be an exception "Don't" by 36618 is the only way I knew, the suggestions of words after 1 was a think that irritated me, so I've never tried to use it I think this is a good default, but maybe a config option is a better idea? |
Here is v38.29 with the latest apostrophe upgrade. Please, test again and let me know if there are any other issues. Obviously, I can't think of all the scenarios when I don't use Ukrainian at all.
No configuration until someone complains. I don't want to touch that code anymore. 😄 |
Hey, it works! There are some weird stuff I always forget how to reproduce so I postponed writing a comment |
Hello!
I have a habit of entering the question mark by pressing 1 and left after a word
It still works for English, but the punctuation input layout changed for Ukrainian and it throws me off a bit (:
It uses the new "+" type of adding letters to words (see below)
English after pressing 1:
Ukrainian after pressing 1:
Is this intentional?
Cheers!
The text was updated successfully, but these errors were encountered: