Groups > Microsoft > Microsoft Speech Tech > Re: Vista "Start Listenting" VS Speech.Recognition.SpeechRecognitionEngine... need help




Vista "Start Listenting" VS
Speech.Recognition.SpeechRecognitionEngine... need help

Vista "Start Listenting" VS Speech.Recognition.SpeechRecognitionEngine... need help
Tue, 26 Feb 2008 22:40:21 -080
Not sure where to turn to get community support for programming with the 
speechrecognitionengine namespace, maybe someone here can help or point me 
in the right direction.

I create a grammer with gramarbuilder
            Dim gb As New GrammarBuilder(c)
            Dim g As New Grammar(gb)
            g.Enabled = False
            sp.LoadGrammarAsync(g)

I make my keyword to listen for "Start Listening" just like Vista.

I start the engine
            sp.RecognizeAsync(RecognizeMode.Single)

I then read outloud any generic page on the web... and it way to often fires 
the SpeechRecognized event with phrases that don't come close.

I THEN close my program and turn on Vista Speech Recognition and read the 
same page. Until I actually say "start listening" it doesn't fire.
What is 
different? What can I do to get my recognition to be similar to that of 
Vista... isn't it the same engine? (FYI - VS2008 and 3.5 framework) 
Post Reply
Re: Vista "Start Listenting" VS Speech.Recognition.SpeechRecognitionEngine... need help
Wed, 27 Feb 2008 12:19:10 -080
Hi Jason,

You could have your application inspect the Confidence property for each 
"start listening" recognition and if it's below a certain threshold
don't 
have your application act on it.

To find a good threshold I suggest you start by logging the confidence 
scores for the things that are getting recognized as "start
listening". 
Once you've logged the confidence scores from a handful of correct and 
incorrect recognitions you should have enough data to pick a good confidence 
threshold for this task.

-- Steve Meyer

This posting is provided "AS IS" with no warranties, and confers no
rights.

"Jason" <xx1234xx@hotmail.com> wrote in message 
news:eHDAHuQeIHA.1168@TK2MSFTNGP02.phx.gbl...
> Not sure where to turn to get community support for programming with the 
> speechrecognitionengine namespace, maybe someone here can help or point me

> in the right direction.
>
> I create a grammer with gramarbuilder
>            Dim gb As New GrammarBuilder(c)
>            Dim g As New Grammar(gb)
>            g.Enabled = False
>            sp.LoadGrammarAsync(g)
>
> I make my keyword to listen for "Start Listening" just like
Vista.
>
> I start the engine
>            sp.RecognizeAsync(RecognizeMode.Single)
>
> I then read outloud any generic page on the web... and it way to often 
> fires the SpeechRecognized event with phrases that don't come close.
>
> I THEN close my program and turn on Vista Speech Recognition and read the 
> same page. Until I actually say "start listening" it doesn't
fire. What is 
> different? What can I do to get my recognition to be similar to that of 
> Vista... isn't it the same engine? (FYI - VS2008 and 3.5 framework) 
Post Reply
about | contact