使用System.Speech.Recognition打开Windows语音识别 [英] Using System.Speech.Recognition opens Windows Speech Recognition

查看:309
本文介绍了使用System.Speech.Recognition打开Windows语音识别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试用C#实现一些简单的语音识别WinForms程序,例如Michael Levy答案中所述的程序:




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

解决方案

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

这篇关于使用System.Speech.Recognition打开Windows语音识别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆