语音到文本C#库 [英] Voice to text C# Library

查看:69
本文介绍了语音到文本C#库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找要在wp7中使用的语音到文本转换库.如果有人可以提供我,请继续.

I''m looking for voice to text converting library for using in wp7. If anyone can provide me plz go on.

推荐答案



尝试检查以下示例:

http://msdn.microsoft.com/en-us/library/bb608250.aspx [ ^ ]

问候
robert


try to check following example:

http://msdn.microsoft.com/en-us/library/bb608250.aspx[^]

regards
robert


您可以引用程序集"System.Speech",名称空间为System.Speech.Recognition,请参见:
http://msdn.microsoft.com/en-us/library/system.speech. Identification.aspx [ ^ ],
http://msdn.microsoft.com/en-us/library/hh361625.aspx [ ^ ].

要使其正常工作,您将需要下载并安装所需的语音识别引擎.请参阅 http://msdn.microsoft.com/en-us/library/hh361636.aspx [ ^ ].

至于代码示例……我确实有一些,但是在此处发布这样的示例可能有点不符合CodeProject Quick Questions&答案.现在,当您知道要查找的内容时,您可以自己找到足够的样本:

http://bit.ly/AkFfnk [ ^ ].

举例来说: http://www.mperfect.net/speechSamples/ [ http://msdn.microsoft.com/en-us/library/system.speech.recognition.dictationgrammar.aspx [ ^ ].

在上面引用的文章末尾尝试代码示例,但是...如果听写的结果使您感到沮丧,请请不要怪我.这就是微软最近提供的这项技术的水平.

我已经读过,有一些商业产品可以提供更好的听写质量,但我从未尝试过.

有关更多信息,请从 http://en.wikipedia.org/wiki/Speech_recognition [ ^ ].

—SA
You can reference the assembly "System.Speech", name space System.Speech.Recognition, please see:
http://msdn.microsoft.com/en-us/library/system.speech.recognition.aspx[^],
http://msdn.microsoft.com/en-us/library/hh361625.aspx[^].

To make it working you will need to download and install required speech recognition engine. Please see http://msdn.microsoft.com/en-us/library/hh361636.aspx[^].

As to the code sample… I do have some, but posting such a sample here could be a bit out of the format of CodeProject Quick Questions & Answers. Now when you know what to look for, you can find enough samples by yourself:

http://bit.ly/AkFfnk[^].

Just for example: http://www.mperfect.net/speechSamples/[^].

Now, speech recognition is not speech-to-text yet. Speech recognition is normally based on a relatively small custom grammar. It works pretty well. What to do to recognize any arbitrary speech into text? It would need a whole dictionary covering the whole natural language. Such thing does exist. You need to use the class DictationGrammar. Please see http://msdn.microsoft.com/en-us/library/system.speech.recognition.dictationgrammar.aspx[^].

Try the code sample at the end of the article referenced above, but… please don''t blame me if the results of dictation frustrate you. This is the level of this technology offered by Microsoft these days.

I have read that there are commercial products which provide much better dictation quality, but I never tried.

For more information, please explore this topic starting from http://en.wikipedia.org/wiki/Speech_recognition[^].

—SA


这篇关于语音到文本C#库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆