duckduckgo / zeroclickinfo-spice

DuckDuckGo Instant Answers based on JavaScript (JSON) APIs
https://duckduckhack.com/
Other
548 stars 942 forks source link

Thesaurus missing major meaning #412

Closed yegg closed 8 years ago

yegg commented 10 years ago

https://duckduckgo.com/?q=thesaurus+friendly

vs

http://words.bighugelabs.com/friendly

moollaza commented 10 years ago

Although thesaurus has bad results, the "similar to" spice has much better ones. Perhaps we should deprecate thesaurus and just use the Levelpump API for synonyms?

https://duckduckgo.com/?q=similar+to+friendly

jagtalon commented 10 years ago

Maybe choosing one instead of using two APIs is the best option. I guess what's lacking in the Levelpump API is that it doesn't say what part of speech the word belongs too--it's something that I personally find useful.

jagtalon commented 10 years ago

https://duckduckgo.com/js/spice/thesaurus/friendly/synonym has adjective but https://duckduckgo.com/?q=thesaurus+friendly only shows noun

Jedidiah commented 9 years ago

Would something along these lines work better?

screen shot 2015-01-11 at 23 48 00

javathunderman commented 9 years ago

@moollaza Any update on this?

moollaza commented 9 years ago

@Jedidiah apologies for the late reply, I hadn't noticed your comment. That approach certainly looks like a step in the right direction!

It seems like there's actually a bug here though because the Thesaurus IA is giving different results for the two queries: https://duckduckgo.com/?q=similar+to+friendly&ia=thesaurus and https://duckduckgo.com/?q=thesaurus+friendly

Jedidiah commented 8 years ago

I think it's probably happening because we're setting different modes for the two queries https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/share/spice/thesaurus/thesaurus.js#L24-L25

Similar to is set to sim and Thesaurus syn. I was thinking thesaurus should really show all modes.

moollaza commented 8 years ago

I was thinking thesaurus should really show all modes.

@Jedidiah looking at your example, I agree I think that approach would work well.

I don't like copying Google/Bing/etc but it seems like most of them also so antonyms and other meanings when searching for synonyms or thesaurus

sekhavati commented 8 years ago

I'd be happy to take a look at this if nobody else already is?