Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我选择一种输入语言并输入一些单词(因为它的发音)。它提供了“您的意思是”选项。我怎样才能从谷歌云翻译 API 获得这个选项?
请看下面的图片。
https://i.stack.imgur.com/I29AP.png
不适用于 Google 翻译,但您可以使用 SerpApi Spell Check API。它提取谷歌“你的意思是?” 从常规搜索中。
JSON 应该以这种方式构建。假设搜索“咖啡”:
"search_information": { ... "query_displayed": "coffeee", "spelling_fix": "coffee", "showing_results_for": "coffee" }, ...
文档:https ://serpapi.com/spell-check