Find synonyms for words in Node
Built off @cgiffard's synonym package, this module is just a wrapper around WordNet to easily provide synonyms.
Install with npm
:
$ npm install find-synonyms
Use in your project:
var synonyms = require('find-synonyms');
// Finds up to n synonyms of word
// If n = 0, returns all found synonyms
synonyms(word, n, function (syns) {
// syns has length at most n and has synonyms of word
});