Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/318.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# windows应用中的语音识别_C#_.net_Speech Recognition - Fatal编程技术网

C# windows应用中的语音识别

C# windows应用中的语音识别,c#,.net,speech-recognition,C#,.net,Speech Recognition,我们正在尝试开发一个语音识别应用程序用户microsoft.net speech private SpeechRecognizer _sr; private SpeechSynthesizer _ss; 这将自动打开windows语音识别,因此它将尝试检测所有语音,并使用它 有没有办法将这种语音识别限制为只与我们正在构建的应用程序一起工作? 而且,只响应带有特定前缀的命令。 鲍勃,你在吗? 鲍勃,你能做到吗? 鲍勃,你能做到吗?你必须使用Class。只是为了完成《哈姆雷特》 是的,使用语音识

我们正在尝试开发一个语音识别应用程序用户microsoft.net speech

private SpeechRecognizer _sr;

private SpeechSynthesizer _ss;
这将自动打开windows语音识别,因此它将尝试检测所有语音,并使用它

有没有办法将这种语音识别限制为只与我们正在构建的应用程序一起工作? 而且,只响应带有特定前缀的命令。 鲍勃,你在吗? 鲍勃,你能做到吗?
鲍勃,你能做到吗?

你必须使用Class。

只是为了完成《哈姆雷特》

是的,使用语音识别引擎并使用
SpeechRecognized
事件来获取第一个识别出的单词,将其与定义的前缀(如bob)进行比较,并在其为真时执行任何您想执行的操作


干杯

@tweelit谢谢,我可能会回来问更多的问题。。!你推荐这方面的阅读材料吗?因为这对我们来说很新?还是谷歌就是最好的选择