c# - Microsoft Speech Recognizer speed is too slow? How to speed up recognition -


i trying make simple recognition program. works fine recognizing separate words, if want recognize sentence or command "turn off computer", fails recognize async speak. if speak 'turn off computer', receives it, doesn't handle until pause , input more speech, output along first one. there way force update? able register when receives no sound, ie. audio level 0, doesn't anything. tried searching, documentation , examples aren't broad.

i using system.speech.recognition

this piece of code use recognition:

m_cultures = new system.globalization.cultureinfo(m_language); sre = new speechrecognitionengine(m_cultures); sre.recognizeasync(recognizemode.multiple); // in 'start' method.  sre.speechrecognitionrejected += new eventhandler<speechrecognitionrejectedeventargs>(sre_speechrecognitionrejected); sre.speechrecognized += new eventhandler<speechrecognizedeventargs>(sre_speechrecognized); sre.recognizecompleted += new eventhandler<recognizecompletedeventargs>(sre_recognizecompletedhandler); 

grammar consists of words including "turn", "off", "the", "computer", , on.


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -