Closed s-a closed 8 years ago
just found this which look promising. https://github.com/atom/node-spellchecker
as far as i can see we could write a simple retext plugin to adapt node-spellchecker module right?
It doesn’t support dictionaries unfortunately, which I’d really like!
I see them here https://github.com/atom/node-spellchecker/tree/master/vendor/hunspell_dictionaries or what do you mean?
Ah, found it!
However, from what I see, that function receives two arguments: a language tag (for example, en_US
), and a directory name (e.g., foo/bar
). Then, it loads files in that directory, with names of the language, and extensions of either .aff
or .dic
. Meaning, the list of dictionaries I published wont work: wooorm/dictionaries
:(
Closing this for now, sozzzz. Somewhere in the future!
Yup, it doesn’t work yet, nodehun is a bit broken and I couldn’t get it to pass.
I started work on an alternative Hunspell-compatible JavaScript implementation, but it’s a lot of work (reverse engineering, as the license of hunspell is not permissive) and I shelved it for now :( I cannot yet tell you when it’s going to work! :(