标签: c# visual-studio speech-to-text
这是我使用的代码。 但是无法识别。
GrammarBuilder gra = new GrammarBuilder(); gra.AppendDictation(); Grammar gr = new Grammar(gra); sre.LoadGrammar(new DictationGrammar()); sre.SetInputToDefaultAudioDevice(); sre.SpeechRecognized += sre_SpeechRecognized;