Using System.Speech.Recognition opens Windows Spee

2019-01-20 13:48发布

I tried implementing some simple speech recognition WinForms program in C# like the one described here in Michael Levy answer:

good Speech recognition API

The problem i have is that any time i run the program Windows Speech Recognition opens and is also doing stuff based on what i am saying. Also when the program starts i have to say "start listening" for speech recognition to work.

My question is: How can i use speech recognition without having Windows Speech Recognition also act on what i am saying? I don't need Windows Speech Recognition UI to open at all and i need to be able to use recognition without having to say "start listening" before.

Thanks for your answers

1条回答
Root(大扎)
2楼-- · 2019-01-20 14:32

Are you sure you are using an inproc recognizer for your application only. You do this by instantiating a SpeechRecognitionEngine() in your application. See SpeechRecognitionEngine Class. I suspect you are instantiating a shared recognizer - SpeechRecognizer Class

查看更多
登录 后发表回答