yaspeller icon indicating copy to clipboard operation
yaspeller copied to clipboard

Output suggests to correct to the same word.

Open mikdiet opened this issue 2 years ago • 3 comments

Hey, I'm using your package for many years for https://github.com/rusrails/rusrails spellchecking.

After recent update, I'm getting an error, when it complains on correct word, and suggests to fix it to the same word.

Examples:

1. Пул (32:1, suggest:  Пулл,  Пул)
2. Тогда (83:1, suggest:  Тогда)
3. отправит (83:56, suggest: отправить, отправит, отправят)
4. yml (suggest: html, yml, wml)

More examples in CI: https://app.circleci.com/pipelines/github/rusrails/rusrails/427/workflows/5af5d8af-78f7-4a93-a86d-30cd79f27e30/jobs/1526

mikdiet avatar Nov 18 '23 23:11 mikdiet

I'm also facing this issue after an update. What's more interesting is that there's at least one instance of a misspelled suggestion:

Typos: 1
1. необязательно (32:1, suggest: не обязательно, но обязательно, не обезательно)

snejugal avatar Nov 21 '23 14:11 snejugal

upvote

bskydive avatar Dec 13 '23 19:12 bskydive

Unfortunately, errors occur due to the Speller API, I can fix them on my side, but this is not correct. I recommend switching to CSpell.

hcodes avatar Dec 14 '23 07:12 hcodes