1.0.0 • Published 6 years ago

spellchk-tst-lex v1.0.0

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

spellchk-test-lex

A test package for spell check lexicons

This project adds in spellcheck lexicons and more importantly a custom dictionary which can be updated. Lexicon files: myTestLexicon06input.tlx - input file in clear text myTestLexicon06.clx - compressed final lexicon file

Note that you should keep your files containing words in text form (the input text file), since there is no way to convert a compressed lexicon back to text.

The configuration file .npmignore lists directories and files to be excluded from the build package when running npm install or build

To Build and Test your changes

# Inside an elevated command prompt (runAsAdministrator)
# Install dependencies and consume the published package
npm install
# build the native spell check Node add-on library
npm run build
# test the app
npm start
# to publish and up the version
npm version patch
#npm run build
npm publish ./package

FYI

ABI Stable Node module API

Node enhancement proposal

References

The add-on makes use of Node and the Chromium project's V8 JavaScript engine.

For more information on implementing Node add-ons:

Node Add-Ons Documentation

For more info on using Google's V8 API:

Google V8 Reference

This is the best reference on how to handle input/output between Javascript and the node plug-in

Node Gyp Reference

Gyp stands for Generate your projects. Basically creates .SLN, makefiles or XCode projects for various platoforms in order to build native code.

Node Gyp User Documentation

If you have questions contact: <spellchk.user>. If your problem is with building in node-gyp I probably can't help. Try getting latest of everything.