System.Speech recognition error
问题 I am writing a speech recognition program using system.speech from MS. I have been going through the online tutorials and all the great info on StackOverflow however i seem to keep running into an issue where the recognizer seems to throw an error. Below is the code I am using (minus the grammar creation). Grammar grammarQuestionsSingle; Grammar grammarQuestionsShort; Grammar grammarQuestionsLong; Grammar grammarStatement; //Grammar grammarDeclarationShort; //Grammar grammarDeclarationLong;