I want to use the grammar like this: This is + name.
The code is :
GrammarBuilder grammar = new GrammarBuilder();
grammar.Append("This is");
gammar.Append(new Choices("Bangalore", "Sanjay", "Cindy",...));
_recognizer.LoadGrammar(new Grammar(grammar));
My question is, could I send the event when the engine recognize This is, and send another event when the engine recognize the name?
How to do this?
I think you might be able to do this by using phrases
See MSDN.
I haven't been able to test it yet though.
Update: the choices phrase doesn't seem to work.