【问题标题】:Speech recognition to text Windows Phone 8语音识别到文本 Windows Phone 8
【发布时间】:2013-06-01 12:06:19
【问题描述】:

是否可以在 Windows Phone 8 中将语音识别为文本?

支持所有语言还是只安装?

【问题讨论】:

    标签: c# windows-phone-8


    【解决方案1】:

    Just use the services out of the box

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

    【讨论】:

      【解决方案2】:

      我建议在 windows phone 8 上完全免费地使用 google api text to speech 并且效果很好:

      您可以在此处找到操作方法: How can I use google text to speech api in windows form?

      当然,这需要互联网连接和开源的 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

      【讨论】:

      • 谢谢,但需要互联网连接。我正在寻找离线选项:)
      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-03
      相关资源
      最近更新 更多