geekpradd / PyDictionary

PyDictionary is a Dictionary Module for Python 2/3 to get meanings, translations, synonyms and antonyms of words
https://pypi.python.org/pypi/PyDictionary
MIT License
274 stars 65 forks source link

Can we specify so that we can get words from thesaurus.com only. #37

Open anantkr136 opened 4 years ago

anantkr136 commented 4 years ago

Currently pydictionary returns a huge list of synonyms and antonyms that doesn't make much sense.

Can we set some flag that will make sure it is returning only from thesaurs.com. i.e Synonyms for individual is Goat ;-)

b1tninja commented 3 years ago

https://www.synonym.com/synonyms/{0} is the current source used for synonyms. I am using this library and nltk which you may find useful. I think the brown corpus has related words