通过数据库对所有单词进行语音识别 [英] speech recognition for all words by database

查看:216
本文介绍了通过数据库对所有单词进行语音识别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我已经使用语音库离线完成了语音识别应用,该语音库调用了包含代码中单词的加载语法。





但是如果在代码中写的话是不好的,因为英语很大,所以为所有单词制作数据库是好的



但是它很难,我可以将所有单词存储在数据库中吗?如何在数据库中将我的口语与保存的单词进行关联?





你可以帮助我吗? br $> b $ b





hello everyone, i have done speech recognition app offline by using the speech library which call load grammer method which contains the words in code.


but it is not good if the words written in the code , because the english language is huge so it is good to make databasefor all words

but it is hard, can i store all words in database ?? and how can i make correlation between my spoken word and the saved word in database ??


can you help me, please ?



Choices SLES = new Choices(); // class Choice of loadGrammer Method
            SLES.Add(new String[] {"hello","how","are" ,"you","book","conversation","the","peace","he","translates", "text", "from","Arabic","to","English","language","exit", "everyone", "in","translator","it" });
            Grammar gr = new Grammar(new GrammarBuilder(SLES));
            try
            {
                recognizer.RequestRecognizerUpdate(); //Request of Recognition
                recognizer.LoadGrammar(gr); //load Grammer
                recognizer.SpeechRecognized += recognizer_SpeechRecognized;
                recognizer.SetInputToDefaultAudioDevice(); 
                recognizer.RecognizeAsync(RecognizeMode.Multiple); 

                    }

推荐答案

有一个预定义的语法用于覆盖一些大字典, System.Speech.Recognition.DictationGrammar

http://msdn.microsoft.com/en-us/library/system.speech.recognition.dictationgrammar%28v=vs.110%29.aspx [ ^ ]。



但是,不要屏住呼吸。我尝试使用微软为Windows XP和7提供的引擎。对于具有截然不同的单词/短语的小语法的识别质量相当不错,但是对于听写来说这是非常糟糕的。我不确定你能不能做得更好。另见我对这个问题的评论。



-SA
There is a predefined grammar for dictation covering some big dictionary, System.Speech.Recognition.DictationGrammar:
http://msdn.microsoft.com/en-us/library/system.speech.recognition.dictationgrammar%28v=vs.110%29.aspx[^].

However, don't hold your breath. I tried it with the engine supplied by Microsoft for Windows XP and 7. The quality of recognition for small grammars with distinctly different words/phrases was fairly good, but for dictation it was quite bad. I'm not sure if you can get something much better. See also my comment to the question.

—SA


也许这可能是有趣的到OP;它为我做了一个有趣的读物: https://software.intel.com/zh-cn/articles/voice-recognition-and-synthesis-using-the-intel-perceptual-computing-sdk



如果您在Google上搜索C#语音识别库,那么就像微软提供的其他十几个其他人一样。你会发现一些谢尔盖可能会提到的。
Maybe this might be of interest to the OP; it made an interesting read for me: https://software.intel.com/en-us/articles/voice-recognition-and-synthesis-using-the-intel-perceptual-computing-sdk

There are a dozen others just like the one Microsoft offer if you search Google for C# Speech Recognition Library. You will find some of the ones Sergey is probably referring to.


有一些关于代码项目的文章,你可以从中获得帮助



语音识别,语音到文本,文本C#中的语音和语音合成 [ ^ ]



>网络语音识别 [ ^ ]
There are some articles on code project, you may take help from it

Speech recognition, speech to text, text to speech, and speech synthesis in C#[^]

Speech Recognition for the Web[^]


这篇关于通过数据库对所有单词进行语音识别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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