Google Assistant的双语口语闪存卡 [英] Bilingual spoken flash cards for Google Assistant

查看:81
本文介绍了Google Assistant的双语口语闪存卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I am developing a bilingual (Japanese/English) flashcard app for the Google Assistant so that it would work for Google Home.

Google助手会用日语说一个单词,并检查用户是否以英语正确翻译了,反之亦然。

The google assistant will say a word in Japanese, and check that the user replies with the correct translation in English, or vice-versa.

仅从Google表格数据开始是行不通的,因为助手无法读取日语输入。有没有办法做到这一点?

Simply starting from Google Sheet data does not work, since the assistant is not able to read the Japanese input. Is there a way to achieve this?

从本质上讲,问题是,是否可以在一种语言的文本转语音和另一种语言的语音识别之间进行切换?

Essentially, the question is, is it possible to alternate between text-to-speech in one language and speech recognition in a different one?

推荐答案

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

I don't think the Google Assistant can alternate between multiple languages in the middle of a conversation. So far I've only seen one example of a language learning app, see:

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

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

But they seem to have the same problem as you, being restricted by the limited language options of the Assistant. In the Busuu assistant app they have only one language you can learn, which language that is depends on your locale.


Google助手是您与Google之间的对话。您现在可以
提示使用法语( Parleràbusuu)或
德语( Sprich mit busuu)来提示Google助理,并学习英语,就好像您正在与语言老师。您已经可以使用
英语(好的Google,与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播放包含外来语言中的单词/句子的音频样本。

As for the problem of outputting speech in one language while the Assistant locale is set to another language they use SSML to play an audio sample containing the word/sentence in the "foreign" language.

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

So it looks like a 2-way language learning app might not be possible with the current state of the Assistant but I hope this will help you.

还请注意: https://dialogflow.com/docs/multi-language

这篇关于Google Assistant的双语口语闪存卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆