【发布时间】:2018-10-05 04:51:05
【问题描述】:
我希望我的程序将我的 RecognizedAudio 转换为文本,这是我尝试过的
RecognizedAudio nameAudio = result.GetAudioForWordRange(result.Words[2], result.Words[result.Words.Count - 1]);
MessageBox.Show(nameAudio.ToString());
它输出这条消息:
System.Speech.Recognition.RecognizedAudio
有人能帮我解决这个问题吗?我真的很感激!
提前致谢
【问题讨论】:
-
对我对这个特定库的不熟悉表示歉意,但从 API 文档看来,您似乎是通过 RecognitionResult.Text 属性从音频中获取文本,其中显示
Gets the normalized text generated by a speech recognizer from recognized input.
标签: c# .net winforms speech-recognition