Skip to content
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

migrate from NHunspell to WeCantSpell.Hunspell #309

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hahn-kev
Copy link
Contributor

@hahn-kev hahn-kev commented Aug 16, 2024

Right now LCM is using NHunspell, which hasn't been updated in 9 years and only supports dotnet framework (it does work on windows through compatibility, but not any other platform).

It looks like the suggested alternative is WeCantSpell.Hunspell.

One issue with WeCantSpell is that it makes the wordlist read only once it's been parsed. There's a discussion about that here, from what I can tell that's the biggest hurdle blocking us from adopting the library. I gave it a try, but I don't understand some of the Hunspell details enough to figure out what's going on in our old version.

Waiting for #306 to be merged in so the tests run.


This change is Reviewable

Copy link

github-actions bot commented Aug 16, 2024

LCM Tests

    16 files  ±0      16 suites  ±0   2m 55s ⏱️ +7s
 2 826 tests ±0   2 796 ✅  - 10   20 💤 ±0  10 ❌ +10 
11 252 runs  ±0  11 060 ✅  - 13  179 💤 ±0  13 ❌ +13 

For more details on these failures, see this check.

Results for commit 54048c4. ± Comparison against base commit c3b1d64.

♻️ This comment has been updated with latest results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant