如何对简单的“语音识别"进行编码?只需识别几个单词的应用程序? [英] How to code a simple "voice recognition" application that needs to recognize just a few words?

查看:121
本文介绍了如何对简单的“语音识别"进行编码?只需识别几个单词的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个患有多发性硬化症的朋友,他不能在脖子下面移动.他的大部分工作是听录音,看广播或看电视,但他完全依靠托儿所里的人来更换CD.我每周只拜访他两次.

我的预算非常有限-我失业了-所以我考虑编写一个简单的语音识别应用程序,该应用程序至少可以识别3个不同的命令.像下一个",确定",取消".使用这些命令,我​​无法编写一些简单的界面来选择和播放音频甚至视频.

我可以使用动作脚本2(Flash 8),并且在过去的某个时候,我记得学习一些vb6.我记得有些事,比如预构建函数,您可以将它们拖入编码环境中,而不是去做.但是从我搜索过的语音识别来看,要复杂一些.

我从这里获得了此文件:http://www.codeproject.com/KB/audio-video/SAPI/Speech.zip,但我不知道从哪里开始,是否有指针?

我只需要了解如何使应用程序识别麦克风的输入并区分至少3种不同的输入即可.

谢谢

I''ve got a friend with multiple sclerosis who can''t move below the neck. Most of what he does is listening to audio recordings or some radio or watch tv, but he is completely dependent on the people in the nursery home for changing the cd''s. I only visit him twice a week.

My budget is very limited - I''m unemployed - so I thought about coding a simple voice recognition app that would recognize at least 3 different commands. Like "next", "ok", "cancel". With those commands I could than code some simple interface to select and play audio or even videos.

I can work with action script 2 (flash 8), and sometime in the past I remebered learning some vb 6. I remeber there are some thingies with like prebuilt functions that you drag into the coding environment that than allow you to do things. But from what I''ve googled voice recognition is a bit more complicated.

I got this file from here: http://www.codeproject.com/KB/audio-video/SAPI/Speech.zip but I have no idea where to start, any pointers?

I just need to understand how to get an application to recognize input from a microphone and distinguish between at least 3 different inputs.

Thanks

推荐答案

我见过的大多数内容都是C#而不是VB的-但是它将很容易转换.

此处看看 [
[edit] RT:固定链接[/edit]
Most of the stuff I''ve seen has been in C# rather than VB - but it will translate over very easily.

Have a look here[^]
It should give you the basics.

Then try MSDN for full details on the System.Speech.Recognition namespace.

Good luck - you hopefully won''t need it!

[edit]They don''t mention it, but you will need to add a reference to "System.Speech" and a "using System.Speech.Recognition;" before VS will understand you... OriginalGriff[/edit]

[edit]RT: Fixed link[/edit]


看看这个文章 [ ^ ],它应该可以让您跳开始.
Take a look at this article[^], it should give you jump start.


谢谢!我会仔细研究一下!
Thank you guys! I''ll take a good look into it!


这篇关于如何对简单的“语音识别"进行编码?只需识别几个单词的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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