Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python module with access to english dictionaries including definitions of words [closed]

Tags:

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?

like image 696
Sadik Avatar asked Jan 28 '14 01:01

Sadik


1 Answers

Instead of a module, you can rely other offline/online sources like xml,json,api etc.

  1. https://github.com/adambom/dictionary [json file]

  2. http://dictionary-api.cambridge.org [REST api]

  3. http://glosbe.com/a-api [REST api]

  4. http://developer.oxforddictionaries.com/developer-resources/api-reference-guide/intro-using-the-oxford-dictionaries-api/ [REST api]

  5. http://www.ibiblio.org/webster/ [XML, open source]

like image 171
DhruvPathak Avatar answered Sep 22 '22 20:09

DhruvPathak