I am working on a app in android where I need to select a word and display its definition from Google. Do I have to use some search API provided by Google, or another API?
An example will do. Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It seems Google Dictionary is no longer available, but even when it was, the API was unavailable to 3rd parties. Instead, I found several alternative options.
XML Dictionary Exchange Format
You could use XDXF to download a flat-file dictionary in your desired language, and use a hash table to index the file appropriately.
This has two distinct advantages:
Network access is not required to support dictionary look-ups
It’s ultimately more flexible because the data can be easily manipulated (sorted, filtered, specially formatted) to better support application design & requirements.
Abbreviations.com API
If you prefer not to home-brew your own hash-table, abbreviations.com has a public dictionary API that uses REST to obtain definition information in XML format for a given word.
Sample Request URL:
Sample Response: