MSSpeech-Forum Homepage
Forum Home Forum Home > Windows™ Speech Recognition Forums > New Users & General Questions
  New Posts New Posts RSS Feed - how to limit commands recognized in IE?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how to limit commands recognized in IE?

 Post Reply Post Reply
Author
Message
peterweinstein View Drop Down
Member
Member
Avatar

Joined: 04/Feb/2010
Location: Michigan
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote peterweinstein Quote  Post ReplyReply Direct Link To This Post Topic: how to limit commands recognized in IE?
    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

Back to Top
mmarkoe_admin View Drop Down
Admin Group
Admin Group
Avatar

Joined: 16/Jul/2008
Status: Offline
Points: 331
Post Options Post Options   Thanks (0) Thanks(0)   Quote mmarkoe_admin Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
peterweinstein View Drop Down
Member
Member
Avatar

Joined: 04/Feb/2010
Location: Michigan
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote peterweinstein Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
mmarkoe_admin View Drop Down
Admin Group
Admin Group
Avatar

Joined: 16/Jul/2008
Status: Offline
Points: 331
Post Options Post Options   Thanks (0) Thanks(0)   Quote mmarkoe_admin Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
peterweinstein View Drop Down
Member
Member
Avatar

Joined: 04/Feb/2010
Location: Michigan
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote peterweinstein Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
mmarkoe_admin View Drop Down
Admin Group
Admin Group
Avatar

Joined: 16/Jul/2008
Status: Offline
Points: 331
Post Options Post Options   Thanks (0) Thanks(0)   Quote mmarkoe_admin Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.02
Copyright ©2001-2019 Web Wiz Ltd.

This page was generated in 0.248 seconds.

Microsoft Most Valuable Professional

§- Thank you for visiting our Windows Speech Recognition and Macro Forum.. -§