Alexa 如何在技能设置中使用德语时用英语发音?

How can Alexa pronounce something in English while using German in skill settings?

由于在亚马逊SSML documentation找不到任何信息,我想寻求帮助。

我有 Alexa 的多语言技能。英语中有几个关键词。

所以当用户使用德语版本时,我希望 Alexa 用英语而不是德语发音。

是否有机会存档这个目标,或者我会(在最坏的情况下)只使用声音文件吗?

如果您使用的是德语技能,您可能必须使用音素才能做到这一点。来自 Amazon Developer Forums:

Question: Suppose we have the words "Rhode Island" in a german sentence. Alexa will speak out the word island wrong. Is it possible using SSML to say alexa that this word should be spoken e.g. the american way without bothering with all the phoneme variants?


Answer: You would need to use SSML in conjunction with phonemes to get the pronunciation working properly for that case.

2016 年 12 月亚马逊团队的一位开发人员给出了答案,因此很可能现在仍然如此。

您可以在 Amazon 文档中阅读 phonemes in SSML 的语法。根据您的耐心和您想说的单词的长度,使用 pre-made 声音文件可能更容易;否则,只需找到您想说的短语的国际音标:

<speak>
    <phoneme alphabet="ipa" ph="həˈləʊ̯">Hello</phoneme>.
</speak>

IPA 转录的一个很好的参考是 Wiktionary (that's where I got the transcription for hello),所以即使您自己不了解 IPA 也没关系。

似乎可以肯定(至少现在)德语和英语技能 cannot be mixed together,因此您更不可能在 one[] 中混合使用德语和英语技能很顺手