Reputation: 121
Would anyone know of a way to extract Google Synonyms, either through their API or other (TOS-approved) methods?
Specifically, Google have a function that allows you to type a tilde sign "~" in front of a word to conduct a search with synonyms.
As opposed to the search results, I'd like to extract the actual synonym data - so for ~cat, I would like a script that returns feline, kitten, etc.
http://www.synonymlab.com/ do something similar, I guess - but do they do this through the API?
Sorry but there's limited information out there. Any ideas if it's possible?
Upvotes: 12
Views: 6234
Reputation: 1
I found this. This provides unlimited JSON response for the word you want to search. https://dictionaryapi.dev/
Upvotes: 0
Reputation: 49
The Google Doesn't provide an API for Synonyms. However, A great API Service for Synonyms is http://datamarket.azure.com/dataset/bing/synonyms . It will allows you to request 5000/pm.
Upvotes: -1
Reputation: 32715
I looked around for a Google synonym API and found no evidence of such as service.
On the other hand, I found evidence that other people also looked and found nothing. :)
As alternatives, you might consider using WordNet, Freebase (see a discussion on synonyms), or Wikipedia (see Extracting Named Entities and Synonyms from Wikipedia).
Upvotes: 5