我正在使用bot框架并在其中启用语音功能。 在测试语音功能时,它无法识别少数单词,例如“ HR”。 我尝试使用其他地区的订阅密钥(Westus,eastus,common)。在所有情况下,它都不识别单词“ HR”。 如何使其识别该单词?
有什么选择吗?
speechOptions = {
speechRecognizer: new CognitiveServices.SpeechRecognizer({
subscriptionKey:
'*******************'
}),
speechSynthesizer: new CognitiveServices.SpeechSynthesizer({
gender: CognitiveServices.SynthesisGender.Female,
subscriptionKey: '***********************',
voiceName: 'Microsoft Server Speech Text to Speech Voice (en-US, JessaRUS)'
})
};
答案 0 :(得分:0)
不幸的是,我目前不认为这是可能的。当前,Web聊天存储库中有一个issue,以增加对语音偏爱词表的支持。希望它应该在4.6版本中优先。我知道开发工作开始集中在为网络聊天中的语音创建更好的用户体验上。
同时,您可以提示您使用诸如“人力资源”之类的短语而不是“人力资源”。
希望这会有所帮助!