I am looking for a python module that helps me get the definition(s) from an english dictionary for a word.
There is of course enchant
, which helps me check if the word exists in the English language, but it does not provide definitions of them (at least I don't see anything like that in the docs)
There is also WordNet, which is accessible with NLTK. It has definitions and even sample sentences, but WordNet does not contain all English words. Common words like "how", "I", "You", "should", "could"... are not part of WordNet.
Is there any python module that gives access to a full english dictionary including definitions of words?
Instead of a module, you can rely other offline/online sources like xml,json,api etc.
https://github.com/adambom/dictionary [json file]
http://dictionary-api.cambridge.org [REST api]
http://glosbe.com/a-api [REST api]
http://www.ibiblio.org/webster/ [XML, open source]