aarondandy / WeCantSpell.Hunspell

A port of Hunspell v1 for .NET and .NET Standard
https://www.nuget.org/packages/WeCantSpell.Hunspell/
Other
126 stars 19 forks source link

Some suggestions have incorrect spelling #86

Closed alex-ford-cambium closed 1 month ago

alex-ford-cambium commented 7 months ago

I've found a few cases where a misspelled word is suggested. This issue does not occur in the native C++ version.

But if I take a word like abjurers and put a typo in so that it is now abmurers, one of the suggested words is abjureers, which is not an English word. Here are a few more examples:

Word Word Misspelled Bad Suggestion
epoxied epooied poiseed
jewelries ewelries jewelrys
squabbles suabbles squabblees
aarondandy commented 7 months ago

To better prepare for reproduction, can you also provide the dictionaries and versions of this library (assuming latest) and hunspell involved?

alex-ford-cambium commented 7 months ago

I was able to reproduce this issue in version 5.0. and 4.0 and tested it in version 1.7.2 of Hunspell, which did not have the issue. I've attached a zip file with our dictionary and affix file although I've tested others and still had the issue. Thanks for looking into this!

dictionary_files.zip

aarondandy commented 1 month ago

@alex-ford-cambium Thanks for this report. I was able to get the issue fixed I think. let me know if this new version resolves the issue for you: https://www.nuget.org/packages/WeCantSpell.Hunspell/5.0.1