Print Page | Close Window

how to limit commands recognized in IE?

Printed From: MSSpeech-Forum
Category: Windows™ Speech Recognition Forums
Forum Name: New Users & General Questions
Forum Description: Ask questions, give and get answers.
URL: https://www.msspeech-forum.com/forum_posts.asp?TID=164
Printed Date: 09/May/2024 at 9:40am
Software Version: Web Wiz Forums 12.02 - http://www.webwizforums.com


Topic: how to limit commands recognized in IE?
Posted By: peterweinstein
Subject: how to limit commands recognized in IE?
Date Posted: 04/Feb/2010 at 4:27pm

Hi,

I'm a newbie to Windows speech recognition but an experienced programmer. I have developed a web application that runs in Internet Explorer, with commands triggered by speech recognition. The problem is that too many commands are recognized. I need to limit speech recognition to a small set of commands, in other words, I need to define a grammar.

Ideally, my grammar will have effect only on my browser windows. But if it affects everything in Internet Explorer, that is also satisfactory. In fact, I would be pleased even if my grammar affects all current speech recognition system wide.

My question is: what would be the easiest, most effective way to define such a grammar? My laptop runs Windows Vista so I would like to start there. My web application uses Adobe Flex if that is relevant.

Thank you very much for your help,
Peter




Replies:
Posted By: mmarkoe_admin
Date Posted: 05/Feb/2010 at 9:23am
Originally posted by peterweinstein peterweinstein wrote:

My question is: what would be the easiest, most effective way to define such a grammar? My laptop runs Windows Vista so I would like to start there. My web application uses Adobe Flex if that is relevant.
Do a Google Search for SAPI. There are different versions. I believe when you figure out which one meets your needs, you can download it for free from Microsoft.

Marty


Posted By: peterweinstein
Date Posted: 05/Feb/2010 at 11:54am

Thanks for the suggestion Marty. I did learn that the Windows SDK for Vista includes SAPI. My question now is how to activate the grammar so that the default speech recognition engine, or the engine that Internet Explorer is using, is constrained by the grammar. Inch by inch ;-)

Peter


Posted By: mmarkoe_admin
Date Posted: 05/Feb/2010 at 2:27pm
Originally posted by peterweinstein peterweinstein wrote:


Thanks for the suggestion Marty. I did learn that the Windows SDK for Vista includes SAPI. My question now is how to activate the grammar so that the default speech recognition engine, or the engine that Internet Explorer is using, is constrained by the grammar. Inch by inch ;-)
When creating speech macros you can designate the application to use it in. As in:
<speechMacros>
<command>
<appIsInForeground processName ="iexplore.exe"/>
 
I would assume if you read the documentation and network with other speech API developers it should not be a problem to designate the grammar for Internet Explorer.
 
Marty


Posted By: peterweinstein
Date Posted: 05/Feb/2010 at 2:59pm
Thanks again, Marty, I appreciate your attention.

I would like to understand your comment about speech macros. Are you saying that I can use speech macros to designate the grammar for Internet Explorer?

Or are you saying that since speech macros have this ability, then you believe I will find a similar ability that I can express in, for example, a Visual Basic application?

I'm still trying to figure out my approach, for example, at the moment I'm working through an example using Visual Basic.

Thanks,
Peter


Posted By: mmarkoe_admin
Date Posted: 05/Feb/2010 at 3:12pm
Originally posted by peterweinstein peterweinstein wrote:

I would like to understand your comment about speech macros. Are you saying that I can use speech macros to designate the grammar for Internet Explorer?
Or are you saying that since speech macros have this ability, then you believe I will find a similar ability that I can express in, for example, a Visual Basic application?
Yes, I'm surmising you can designate the application to have the vocabulary active within.
 
Marty



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.02 - http://www.webwizforums.com
Copyright ©2001-2019 Web Wiz Ltd. - https://www.webwiz.net