0
SpeechRecognizerUI sr = new SpeechRecognizerUI();
sr.Settings.ListenText = "Say the recipient and body of the E-Mail";
sr.Settings.ExampleText = "Mom saying Happy Mother's Day";
//await Speak("Say the recipient and body of the E-Mail"); // TTS prompt
var recoResult = await sr.RecognizeWithUIAsync();
MessageBox.Show(recoResult.RecognitionResult.Text);

这会引发未处理的异常并且 WP8 应用程序崩溃。我该如何解决?

4

1 回答 1

0

您可能需要选择一种语音语言goto phone SETTINGS然后SPEECH

在我的设置中,语音语言被列为none,一旦我选择了一种语言,即英语(美国),它似乎就可以工作。

参考这篇文章

于 2013-08-29T00:07:23.367 回答