繁体   English   中英

文本的语音识别Windows Phone 8

[英]Speech recognition to text Windows Phone 8

在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));
}

我建议使用Google api文本在Windows Phone 8上完全免费地进行语音播放,并且效果很好:

您可以在此处找到操作方法: 如何在Windows窗体中使用Google文本语音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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM