0.1.2 • Published 6 years ago
wordnetdictionary-poschar v0.1.2
wordnetdictionary-poschar
Get part of speech character of sense/synset from WordNet dictionary.
const posChar = require('wordnetdictionary-poschar');
// posChar(<sense/synset>)
// dictionary = <WordNet dictionary object>
// sense = <WordNet dictionary sense>
// synset = <WordNet dictionary synset>
dictionary.posChar(sense);
// <part of speech character of sense>
dictionary.posChar(synset);
// <part of speech character of synset>