Visualbasic.net语音识别 [英] Visualbasic.net speech recognition

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

问题描述

我可以在文本框中说出文字。但我无法识别我的声音,也无法将其写入文本框!

所以有人能告诉我如何识别我的演讲并将其写入文本框?



我尝试过:



我目前正在使用Visual Basic .net。我创建了一个文本到语音程序,但在创建语音到文本方面遇到了问题。我希望得到认可我的声音并写在文本框中。如果有人可以解决它!

I'm able to speak the text in a textbox. But I cannot recognize my voice and cannot write it into a textbox!
So Can anyone tell me how do I recognize my speech and write it in a textbox?

What I have tried:

I'm currently using Visual Basic .net . I have created a text to speech program but facing problem in creating speech to text. I want to get recognized my voice and written in a textbox. Please solve it if anyone can !!

推荐答案

这是你如何使用语音识别(从这里开始): System.Speech.Recognition命名空间



请参阅我对该问题的评论。我不认为这很清楚,但你很可能想要识别任意言论。如果是这样,则意味着您需要使用预定义的语法,名为 DictationGrammar

< a href =https://msdn.microsoft.com/en-us/library/system.speech.recognition.dictationgrammar%28v=vs.110%29.aspx> DictationGrammar Class(System.Speech.Recognition)。



现在,麻烦就是识别保真度。到目前为止,我没有下载最新的识别引擎。我尝试在XP和Windows 7上运行的版本,但保真度是一个相当大的问题:一切只能用非常小的语法,所有措辞都非常非常独特。即使是远程语音相似的单词也会使识别混淆。作为口述 - 忘记它。所以,你可以尝试安装最新版本,但我建议你不要屏住呼吸。 :-(



-SA
This is how you can use speech recognition (start here): System.Speech.Recognition Namespace.

Please see my comment to the question. I don't think it's clear, but it's pretty likely that you want to recognize any arbitrary speech. If so, it means that you need to use predefined Grammar called DictationGrammar:
DictationGrammar Class (System.Speech.Recognition).

Now, the trouble is the recognition fidelity. So far, I did not download the latest recognition engine. The versions I tried on XP and Windows 7 worked, but fidelity was a considerable problem: everything worked only with very small grammar, where all phrased are very, very distinct in pronunciation. Even remotely phonetically similar words confused the recognition. As the dictation — forget it. So, you can try to install the latest version, but I would advise not to hold your breath. :-(

—SA


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

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