writemonkey / wm3

165 stars 5 forks source link

Bad russian spell checker #103

Open ChuJung opened 7 years ago

ChuJung commented 7 years ago

Russian spellchecker detects errors but can't give suggestions.

Example: "очень" (very). When i write "чень", checker detect error. but don't know what to suggest. Example 2: "ёлка" (fir-tree). When i write "елка", checker detect error and suggest "ела", "ка", "ел", "лак", but not "ёлка".

One of the best ru dic here - https://addons.mozilla.org/ru/firefox/addon/russian-spellchecking-dic-3703/ It's default in russian version of Firefox. But there's many files, not only 2. So i don't know can you include this into WM3 or not. I would appreciate it if you try.

writemonkey commented 7 years ago

Please send me all the files from this package and I'll look into it. i.

writemonkey commented 7 years ago

Must be related to #108 i.

ChuJung commented 7 years ago

With that dic "ё" is not error anymore, but other problems is still here.

Was: "очень" (very). When i write "чень", checker detect error. but don't know what to suggest. Now: "очень" (very). When i write "чень", checker detect error and suggest "чье". Better then nothing but to far from good suggestions.

https://www.dropbox.com/sh/4wx94fqs6va0qoh/AADs-W7imUo1oYlKhd5wWzwHa?dl=0 here is all files from dic, what i'm talking about. That dic in Firefox: "очень" (very). When i write "чень", checker detect error and suggest "очень" and "печень". Two really good suggestions.

writemonkey commented 7 years ago

Suggestions are not explicitly part of dictionary files. Spell checker uses it's own algorithms to provide them. I'll look into the code (not mine) to see if I can improve it in that regard. i.

ChuJung commented 7 years ago

As i said.. I don't know how it works =) There is good service with multilingual support. Mb you can add that as plugin? Just suggestion =)

ChuJung commented 7 years ago

With dics from #108 doesn't work grammatical case. Моряк - correct Моряка - suggesting "моряк" =)