是否可以在 Windows Phone 8 中将语音识别为文本?
支持所有语言还是仅安装?
private async void ButtonSR_Click(object sender, RoutedEventArgs e)
{
// Create an instance of SpeechRecognizerUI.
this.recoWithUI = new SpeechRecognizerUI();
// Start recognition (load the dictation grammar by default).
SpeechRecognitionUIResult recoResult = await recoWithUI.RecognizeWithUIAsync();
// Do something with the recognition result.
MessageBox.Show(string.Format("You said {0}.", recoResult.RecognitionResult.Text));
}
我建议在 Windows Phone 8 上完全免费地使用 google api text to speech 并且效果很好:
您可以在此处找到操作方法: 如何在 Windows 窗体中使用 google text to speech api?
当然,这需要互联网连接和开源的 NAudio!
谷歌最适合我
如果你想要一个你可能感兴趣的离线选项:http: //www.codeproject.com/Articles/483347/Speech-recognition-speech-to-text-text-to-speech-a
http://www.codeproject.com/Articles/380027/Csharp-Speech-to-Text