Click here to Skip to main content
Click here to Skip to main content
 
Add your own
alternative version

Speech Recognition

, 26 Feb 2004
Voice-activated OS
<GRAMMAR LANGID="409">
	<DEFINE>
		<ID NAME="RID_Deactivate" VAL="0"></ID>
		<ID NAME="RID_Up" VAL="1"></ID>
		<ID NAME="RID_Down" VAL="2"></ID>
		<ID NAME="RID_Right" VAL="3"></ID>
		<ID NAME="RID_Left" VAL="4"></ID>
		<ID NAME="RID_Enter" VAL="5"></ID>
		<ID NAME="RID_Escape" VAL="6"></ID>
		<ID NAME="RID_Tab" VAL="7"></ID>
		<ID NAME="RID_Alt" VAL="8"></ID>
		<ID NAME="RID_Start" VAL="9"></ID>
		<ID NAME="RID_ShowCommands" VAL="300"></ID>
		<ID NAME="RID_CloseForm" VAL="11"></ID>
		<ID NAME="RID_ShowFavorites" VAL="12"></ID>
		<ID NAME="RID_SwitchProgram" VAL="13"></ID>
		<ID NAME="RID_HoldKey" VAL="14"></ID>
		<ID NAME="RID_ShutDown" VAL="15"></ID>
		<ID NAME="RID_PageUp" VAL="16"></ID>
		<ID NAME="RID_PageDown" VAL="17"></ID>
		<ID NAME="RID_Yes" VAL="18"></ID>
		<ID NAME="RID_No" VAL="19"></ID>
		<ID NAME="RID_EnterNumericState" VAL="20"></ID>
		<ID NAME="RID_EnterAlphabeticState" VAL="21"></ID>
	</DEFINE>

	<RULE NAME="Deactivate" ID="RID_Deactivate" TOPLEVEL="ACTIVE">
		<P>deactivate</P>
	</RULE>
	<RULE NAME="Up" ID="RID_Up" TOPLEVEL="ACTIVE">
		<P>up</P>
	</RULE>
	<RULE NAME="Down" ID="RID_Down" TOPLEVEL="ACTIVE">
		<P>down</P>
	</RULE>
	<RULE NAME="Right" ID="RID_Right" TOPLEVEL="ACTIVE">
		<P>right</P>
	</RULE>
	<RULE NAME="Left" ID="RID_Left" TOPLEVEL="ACTIVE">
		<P>left</P>
	</RULE>
	<RULE NAME="Enter" ID="RID_Enter" TOPLEVEL="ACTIVE">
		<L>
			<P>enter</P>
			<P>run</P>
			<P>O K</P>
		</L>
	</RULE>
	<RULE NAME="Escape" ID="RID_Escape" TOPLEVEL="ACTIVE">
		<L>
			<P>escape</P>
			<P>cancel</P>
		</L>
	</RULE>
	<RULE NAME="Tab" ID="RID_Tab" TOPLEVEL="ACTIVE">
		<P>tab</P>
	</RULE>
	<RULE NAME="Alt" ID="RID_Alt" TOPLEVEL="ACTIVE">
		<L>
			<P>alt</P>
			<P>menu</P>
		</L>
	</RULE>
	<RULE NAME="Start" ID="RID_Start" TOPLEVEL="ACTIVE">
		<P>start</P>
	</RULE>
	<RULE NAME="ShowCommands" ID="RID_ShowCommands" TOPLEVEL="ACTIVE">
		<P>commands list</P>
	</RULE>
	<RULE NAME="CloseForm" ID="RID_CloseForm" TOPLEVEL="ACTIVE">
		<P WEIGHT=".05">close</P>
	</RULE>
	<RULE NAME="ShowFavorites" ID="RID_ShowFavorites" TOPLEVEL="ACTIVE">
		<P>favorites</P>
		<O>programs</O>
	</RULE>
	<RULE NAME="SwitchProgram" ID="RID_SwitchProgram" TOPLEVEL="ACTIVE">
		<P>switch program</P>
	</RULE>
	<RULE NAME="HoldKey" ID="RID_HoldKey" TOPLEVEL="ACTIVE">
		<P>press key</P>
	</RULE>
	<RULE NAME="ShutDown" ID="RID_ShutDown" TOPLEVEL="ACTIVE">
		<P>shut down</P>
	</RULE>
	<RULE NAME="PageUp" ID="RID_PageUp" TOPLEVEL="ACTIVE">
		<P>Page up</P>
	</RULE>
	<RULE NAME="PageDown" ID="RID_PageDown" TOPLEVEL="ACTIVE">
		<P>Page down</P>
	</RULE>
	<RULE NAME="Yes" ID="RID_Yes" TOPLEVEL="ACTIVE">
		<P>yes</P>
	</RULE>
	<RULE NAME="No" ID="RID_No" TOPLEVEL="ACTIVE">
		<P>No</P>
	</RULE>
	<RULE NAME="EnterNumericState" ID="RID_EnterNumericState" TOPLEVEL="ACTIVE">
		<P>enter numeric state</P>
	</RULE>
	<RULE NAME="EnterAlphabeticState" ID="RID_EnterAlphabeticState" TOPLEVEL="ACTIVE">
		<P>enter Alphabetic state</P>
	</RULE>
</GRAMMAR>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Tambi Ashmoz

Israel Israel
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150327.1 | Last Updated 27 Feb 2004
Article Copyright 2004 by Tambi Ashmoz
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid