When I select a input language and type some word (as it pronounce). It gives a 'Did you mean' options. How can I get this option as a response from Google cloud translate API?
Please take a look on below image.
When I select a input language and type some word (as it pronounce). It gives a 'Did you mean' options. How can I get this option as a response from Google cloud translate API?
Please take a look on below image.
Not for Google Translate, but you can use SerpApi Spell Check API. It extract Google "Did you mean?" from regular searches.
JSON should be structured that way. Assuming a search for "Coffeee":
"search_information":
{
...
"query_displayed": "coffeee",
"spelling_fix": "coffee",
"showing_results_for": "coffee"
},
...
Documentation: https://serpapi.com/spell-check