WP8语音识别UI导致未处理的异常

时间:2013-05-11 16:29:50

标签: c# speech-recognition voice voice-recognition

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应用程序崩溃了。我该如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

您可能需要选择语音语言转到手机设置,然后语音

在我的设置中,语音语言被列为,一旦我选择了一种语言,即英语(美国),它似乎有效。

请参阅this post

相关问题