是否可以禁用语音参考卡?

发布于 2024-09-02 17:35:34 字数 318 浏览 1 评论 0原文

Microsoft 语音识别附带语音参考卡。它包含一些可识别的预先确定的单词。

我想知道是否可以禁用它。是吗?

编辑: 我想删除所有预定义的命令。 这个: http://windows.microsoft.com/ en-us/windows-vista/语音识别中的常用命令

编辑2: 我正在使用 SpeechLib!

Microsoft Speech Recognition comes with a Speech Reference Card. It consists in some pre-determined words that are recognized.

I want to know if it's possible to disable it. Is it?

EDIT:
I want to remove all pre-defined commands.
This ones:
http://windows.microsoft.com/en-us/windows-vista/Common-commands-in-Speech-Recognition

EDIT2:
I'm using SpeechLib!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

一场春暖 2024-09-09 17:35:34

您可能需要一个进程内识别器,而不是共享识别器。

由于您使用的是 C#,因此需要使用 SpeechRecognitionEngine 类(如果您使用的是 System.Speech.Recognition)。

特别是,您还需要使用 SetInputToDefaultAudioDevice,以便 inproc 识别器知道从哪里获取音频。

You probably want an in-process recognizer, instead of a shared recognizer.

Since you're using C#, you need to use the SpeechRecognitionEngine class if you're using System.Speech.Recognition.

In particular, you need to also set the Audio Input property of the recognizer using SetInputToDefaultAudioDevice, so that the inproc recognizer knows where to get the audio from.

许你一世情深 2024-09-09 17:35:34

尝试更改代码以使用您所说的内容,我发现了我需要的东西!

使用此命令:

recGrammar.SetGrammarState(SPGRAMMARSTATE.SPGS_EXCLUSIVE);

一切正常!

您可以在此处找到更多信息!

Trying to change the code to use what you said, I've discovered what I needed!

With this command:

recGrammar.SetGrammarState(SPGRAMMARSTATE.SPGS_EXCLUSIVE);

all worked!

You can find more info here!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文