-
Notifications
You must be signed in to change notification settings - Fork 7
Stoke Order Error in KanjiPad #665
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
Comments
Thank you for letting me know. While fixing #662 I haven't realized the implications of the fix, which have now emerged. The problem is as follows: with characters with less than 10 strokes, it is feasible (in terms of CPU) to also perform a fuzzy search which will also match characters with +-1 stroke. The characters are then sorted, closest matching first. Naturally, characters with less or more strokes are pushed at the end of the result list, because they are deemed inaccurate. However, now that #662 is fixed, the list is post-sorted by the stroke number, and characters with one stroke less are now at the beginning of the list. Perhaps I should show kanjis with expected stroke count first (say, if you draw a kanji with 5 strokes, I should show kanjis with 5 strokes first, then kanjis with 4 strokes, then kanjis with 6 strokes, then kanjis with 3 strokes and finally kanjis with 7 strokes). What do you think? If you do not like this solution, I can also add an option to turn off the sort-by-stroke-number and to enable back the sort-by-accuracy. Please let me hear your opinion. |
Also please allow me to thank you for your kind support at Patreon - highly appreciated. Thanks. |
You can try the "old" algorithm on Aedict Online at https://aedict-online.eu - the sorting algorithm there has not yet been updated and still sorts based on accuracy only. |
Hi Martin, Thanks for the prompt reply. Also, it's my pleasure to support AEDict on As for the current issue, I think that your proposed solution of beginning Typically, I wouldn't have bothered you about such an issue, but I noticed Anyway, I appreciate the reply and the tireless work you've been investing Best wishes,
|
I was on the verge of reporting this very same behavior (which is kind of a nuisance :-)). |
@nirdavo I like this idea a lot, because this makes the UI actually consistent with the search results. So, if the +- 2 strokes is unchecked, only the kanjis matching the exact stroke count will be shown. If the +-2 strokes is checked, the kanjis will be shown in the order of 5-4-6-3-7. @nirdavo @ChristopherJonJensen what do you think? |
Sounds like a comprehensive solution to the problem. Thanks, Martin!
|
Yes, sounds good! Am 07.05.2016 08:00 schrieb "Martin Vysny" notifications@github.com:
|
Thank you for confirmation, fixed in Aedict 3.39.18 |
As of the last few days, I've noticed an odd behaviour in the KanjiPad, which I'm assuming must have been tied to a recent update, as it certainly wasn't happening before. Specifically, when I input a character with fewer than ten strokes, the stroke number is counted correctly on the KanjiPad itself (bottom half of the screen), but the list of candidate characters on the top half of the screen begins one short of the correct count. The user is then forced to scroll down (sometimes for quite a while) before finding the candidates with the correct number of strokes.

Oddly, this issue only occurs for characters featuring between 2-9 strokes. When a character with 10+ strokes is inputted, the candidate list begins in the correct position.

I am using an LG G3, with the latest version of AEDict and Android version 6.0 (Marshmallow).
The text was updated successfully, but these errors were encountered: