views:

70

answers:

2

Microsoft Speech Recognition comes with a Speech Reference Card. It consists in some pre-determined words that are recognized.

I want to know if it's possible to disable it. Is it?

EDIT: I want to remove all pre-defined commands. This ones: http://windows.microsoft.com/en-us/windows-vista/Common-commands-in-Speech-Recognition

EDIT2: I'm using SpeechLib!

A: 

You probably want an in-process recognizer, instead of a shared recognizer.

Since you're using C#, you need to use the SpeechRecognitionEngine class if you're using System.Speech.Recognition.

In particular, you need to also set the Audio Input property of the recognizer using SetInputToDefaultAudioDevice, so that the inproc recognizer knows where to get the audio from.

Eric Brown
A: 

Trying to change the code to use what you said, I've discovered what I needed!

With this command:

recGrammar.SetGrammarState(SPGRAMMARSTATE.SPGS_EXCLUSIVE);

all worked!

You can find more info here!

aF