-
Notifications
You must be signed in to change notification settings - Fork 38
Use this module to do spell checking in node.js! This is a C++ binding for popular library libhunspell, which is used in Google Chrome, Openoffice.org, and Mozilla Firefox.
prodigylink/node-spell
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Hi! This is my first node.js extension. :-) NOTE: This libhunspell binding for node is currently the Minimal Viable Product of software. The dictionary files you need and a working example are in test/ You will probably need to modify the 'Hunspell * pMS= new Hunspell();' line if you need to support different languages or want to change the path of the dictionary files. This will be fixed soon. You will need the hunspell library and hunspell-devel installed. Make sure the path in ./wscript is correct as well. Routines: Currently, node-spell only has one very simple function called quickspellcheck(). It accepts a string with one word in it as a parameter. If you need to spellcheck text with multiple words in it, you will need to loop through each word, checking it with quickspellcheck(). See example in test/ Compiling: node-waf configure && node-waf build Your needed module will be in build/default/
About
Use this module to do spell checking in node.js! This is a C++ binding for popular library libhunspell, which is used in Google Chrome, Openoffice.org, and Mozilla Firefox.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published