actions-on-google - 用于 Google 助理的双语口语闪存卡

标签 actions-on-google google-assistant-sdk

我正在为 Google Assistant 开发双语(日语/英语)抽认卡应用程序,以便它适用于 Google Home。

谷歌助手会用日语说一个词,并检查用户是否用正确的英语翻译回复,反之亦然。

简单地从 Google Sheet 数据开始是行不通的,因为助手无法读取日语输入。有没有办法实现这一目标?

本质上,问题是,是否可以在一种语言的文本到语音和另一种语言的语音识别之间交替?

最佳答案

我不认为 Google 助理可以在对话过程中在多种语言之间切换。到目前为止,我只看到了一个语言学习应用程序的示例,请参阅:

https://tech.busuu.com/creating-a-new-busuu-experience-for-the-google-assistant-on-google-home-e62ba200e000

但他们似乎和你有同样的问题,受到助手有限语言选项的限制。在 Busuu 助手应用程序中,您只能学习一种语言,具体使用哪种语言取决于您的语言环境。

The Google Assistant is a conversation between you and Google. You can now prompt the Google Assistant in French (“Parler à busuu ”) or German (“Sprich mit busuu”) and learn English as if you were having a real conversation with a language teacher. You can already prompt in English (“Ok Google, talk to busuu”) to learn Spanish.



至于以一种语言输出语音而助理语言环境设置为另一种语言的问题,他们使用 SSML 播放包含“外语”语言单词/句子的音频样本。

因此,在 Assistant 的当前状态下,似乎无法使用 2 路语言学习应用程序,但我希望这会对您有所帮助。

也看看:https://dialogflow.com/docs/multi-language .

关于actions-on-google - 用于 Google 助理的双语口语闪存卡,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47049259/

相关文章:

dialogflow-es - 如何使用 Dialogflow for Google 操作发送电子邮件

node.js - 错误 : expected_inputs[0]. input_prompt.rich_initial_prompt: 'item[1]' 不能为空

actions-on-google - 如何从 google home 的语音匹配配置文件中获取用户的唯一身份?

linux - Google Assistant 获取 SSL 错误

dialogflow-es - 后续意图不再由助手处理

node.js - 可以在 Google Actions V2 中实现音量增大|减小

dialogflow-es - 没有nodejs库请求用户位置

android - ApI AI 应用程序在网络模拟器上运行良好,但在 Android 手机上运行不佳

android - 从 Android 应用程序向 Google 智能助理(特别是智能助理,而不是任何其他搜索方法)发送命令

java - 让我的 Google 助理针对特定单词调用我的 REST API