spellchk-tst-lex v1.0.0
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
References
The add-on makes use of Node and the Chromium project's V8 JavaScript engine.
For more information on implementing Node add-ons:
For more info on using Google's V8 API:
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.
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.
6 years ago