Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

funny, but accurate wordnet synonyms #11

Closed
spencermountain opened this issue Nov 11, 2011 · 3 comments
Closed

funny, but accurate wordnet synonyms #11

spencermountain opened this issue Nov 11, 2011 · 3 comments

Comments

@spencermountain
Copy link

hey, chris, think lookupsynonyms is goofed up a bit.

wordnet.lookupSynonyms('weird', function(results) {
console.log(results)
}

i get outlandishness, strange

which seems right? but

on wordnet i get:
eldritch
uncanny
weird
unearthly

http://www.wordnet-online.com/weird.shtml
http://ubiquity.freebaseapps.com/wordnet?word=weird

same for goofy, sly, most words.

hey, any reason why not to add 'compress' as a dependency?
cheeers

@chrisumbel
Copy link
Member

oooo, i'll look in to the synonym situation. admittedly wordnet has had some blind changes made to account for windows bugs.

'compress' was removed as a dependency specifically due to the recent onslaught of windows users having problems with it. when time permits i intend to come up with a proper solution.

@chrisumbel
Copy link
Member

after updating to natural 0.0.57 try this using the regular-old lookup method:

wordnet.lookup('weird', function(results) {
for(var i = 0; i < results.length; i++) {
console.log('-----------------------');
console.log(results[i].lemma);
console.log(results[i].synonyms);
}
});

@chrisumbel
Copy link
Member

natural wordnet integration is in the process of a giant rework and simplification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants