Extensible English language lexicon for POS tagging with Emojis and around 110K words
npm install en-lexicon --save
const lexicon = ;console;// "JJ"// multiple POS tags are separated by "|"console;// "VBN|JJ|VBD"
One of the main reason that I had to write my own lexicon module is that I needed it to be extensible.
To extend the lexion with medical terms for example:
const lexicon = ;lexicon;// Now that you've extended the lexicon with your own terms// you won't only get the terms you entered// The lexicon will (try) to be smart and// apply some inflections on those terms// the term you enteredconsole;// "VB"console;// "VBD|VBN"console;// "VBG"
License: The MIT License (MIT) - Copyright (c) 2017 Alex Corvi