I am just starting to play with this script. I have a failed attempt running at the house, but have it working at work.
Here I am getting words recognized that are not listed in the grammar. Am I incorrect in thinking that only the words listed in Recognizer.Recognize(["word","other","test"]) should be identified? I am getting responses in the example for spoken numbers such as "Southern" in place of "Seven". I understand that were I to train the speech API more, the errors would go down and recognition would increase, but with a grammar established, should not the recognizer simply not identify words outside of its scope? That is to say for the first example in the comments of the script: It should only recongize spoken single digit numbers and sit and wait otherewise, yes?
Thank you for your time,
Edit: I have tried bracketing the range with Recognizer.Listen(0) and (1) to flip it bback and forth. Things worked like this. I removed them and could not duplicate the error. Tests with OnRecognize and limiting the list to two words have worked properly. So maybe I'm wholly off base.
Further edit: It seems to be time sensitive. The recognizer starts in dictate mode and eventually settles into its grammar.