Bot Framework 中的德语语音支持
German Speech Support in Bot Framework
Bot Framework 中的语音支持是否也适用于德语?
亲切的问候
如果您通读 "Cross platform speech support in your app using the DirectLine channel" 部分中的 this blog,则有以下代码片段:
_botClient = new Microsoft.Bot.Client.BotClient(
BotConnection.DirectLineSecret,
BotConnection.ApplicationName
){
// We used the Cognitive Services Speech-To-Text API, with speech priming support as the speech recognizer as well as the Text-To-Speech API.
// Alternate/custom speech recognizer & synthesizer implementation are supported as well.
SpeechRecognizer = new CognitiveServicesSpeechRecognizer(BotConnection.BingSpeechKey),
SpeechSynthesizer = new CognitiveServicesSpeechSynthesizer(BotConnection.BingSpeechKey, Microsoft.Bot.Client.SpeechSynthesis.CognitiveServices.VoiceNames.Jessa_EnUs)
};
理论上你可以替换这一行:
SpeechSynthesizer = new CognitiveServicesSpeechSynthesizer(BotConnection.BingSpeechKey, Microsoft.Bot.Client.SpeechSynthesis.CognitiveServices.VoiceNames.Jessa_EnUs)
与您想要的任何合成器。所以假设那里有一个德国合成器,你的问题的答案是肯定的。
Bot Framework 中的语音支持是否也适用于德语?
亲切的问候
如果您通读 "Cross platform speech support in your app using the DirectLine channel" 部分中的 this blog,则有以下代码片段:
_botClient = new Microsoft.Bot.Client.BotClient(
BotConnection.DirectLineSecret,
BotConnection.ApplicationName
){
// We used the Cognitive Services Speech-To-Text API, with speech priming support as the speech recognizer as well as the Text-To-Speech API.
// Alternate/custom speech recognizer & synthesizer implementation are supported as well.
SpeechRecognizer = new CognitiveServicesSpeechRecognizer(BotConnection.BingSpeechKey),
SpeechSynthesizer = new CognitiveServicesSpeechSynthesizer(BotConnection.BingSpeechKey, Microsoft.Bot.Client.SpeechSynthesis.CognitiveServices.VoiceNames.Jessa_EnUs)
};
理论上你可以替换这一行:
SpeechSynthesizer = new CognitiveServicesSpeechSynthesizer(BotConnection.BingSpeechKey, Microsoft.Bot.Client.SpeechSynthesis.CognitiveServices.VoiceNames.Jessa_EnUs)
与您想要的任何合成器。所以假设那里有一个德国合成器,你的问题的答案是肯定的。