node-wordnet-magic icon indicating copy to clipboard operation
node-wordnet-magic copied to clipboard

tools for working with Princeton's lexical database WordNet

Results 16 node-wordnet-magic issues
Sort by recently updated
recently updated
newest added

Hi @Planeshifter , Sadly there are couple of issues regarding installation of module including sqlite3 failure as well as downloading sqlite-31.db from provided link. (Using node v10.8.0) ``` node-pre-gyp ERR!...

When running `npm install wordnet-magic` sqlite3 fails. ``` $ npm install --save wordnet-magic npm WARN deprecated [email protected]: critical bug fixed in v2.0.4 > [email protected] install /Users/robert/Dev/test/node_modules/sqlite3 > node-pre-gyp install --fallback-to-build...

Hi, Just playing with the library and it looks promising but I am running sample code: ``` var wordNet = require('wordnet-magic'); var wn = wordNet("./wordnet/sqlite-31.db", ()=>{console.log("Loading wordnet...");}); var kiss =...

I try to run the following code ``` var high = new wn.Word("accept"); high.getAntonyms(function(err, antonymArray){ console.log(antonymArray); }); ``` It returns an empty list, however there are antonyms for 'accept' in...

Hi, I have to compare a word with all the words in the wordnet, so how do I take all the db?

Node v 8 code sample ``` wn.fetchSynset( 'ffff', function(err, synsetArray) { if(err) console.error(err, synsetArray); else wn.print(synsetArray); }); ``` Found issue, it is placed here https://github.com/Planeshifter/node-wordnet-magic/blob/master/lib/index_old.js#L49-L53 sqlite3's method `each` gets 4...

` // extend prototype objects // String if (!String.prototype.hasOwnProperty("repeat")){ String.prototype.repeat = function(num){ return new Array( num + 1 ).join( this ); }; } if (!String.prototype.hasOwnProperty("endsWith")){ String.prototype.endsWith = function(str){ var myRegExp...

I can get only adjective's antonyms. When I read related function I see that there is a condition to limit antonym result with adjective. Is there any specific reason ?...

Running this code: ``` let WordNet = require('wordnet-magic'); let wn = WordNet("data/sqlite-31.db", true); let word = new wn.Word("cried"); word.getSynsets((err, synsetArray) => { if(err) console.error(err, synsetArray); else wn.print(synsetArray); }); ``` Gives...

I've been playing around with this all afternoon and really can't see what I'm doing wrong. It seems that the `getHyponyms` method returns hypernyms, rather than hyponyms. Any ideas @Planeshifter...