Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 840 Bytes

File metadata and controls

11 lines (8 loc) · 840 Bytes

Python English Dictionary API

High-Level Overview

For any given English word, this API provides callers with the ability to fetch the definitions, origins, synonyms, antonyms, other word-relations, and rhyming words. Since the API uses Merriam-Webster and Thesaurus.com as the primary source of information, please note that the word must be a valid entry in both websites.

Dependencies

- lxml and requests: See http://docs.python-guide.org/en/latest/scenarios/scrape/ for an introduction. According to the cited source, requests + lxml are more efficient than the in-built urllib2 module, which is why I used these libraries. - merriam-webster.com - thesaurus.com