Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google translate API with synonyms

I am using Google translate API in my iOS app. But to get the best fit translation for my words, I need to get synonyms of translated word like it present on Google Translate web page.

I have found some libraries which provide synonyms but all works with English words only.

Is there any Google API which we can use with google translate api to get synonyms of translated word in target language.

like image 428
Hem Dutt Avatar asked Sep 17 '25 01:09

Hem Dutt


1 Answers

The Google Translation API service doesn't support the multiple translations of a word functionality. This feature is only available via the web interface at translate.google.com, as it is mentioned in the Google's official FAQs documentation.

Based on this, it seems that GCP doesn't offers a specific API alternative you can use to get synonyms; Therefore, I think you should try by using third-party software, such as Datamuse API or the libraries you mentioned before, to get the synonyms and then translate them by using the Google Translation API service as an available workaround.

like image 78
Armin_SC Avatar answered Sep 21 '25 12:09

Armin_SC