How to in VB6 "Turn off the kitchen lights at 50 percent" in SAPI grammar?
Hi my dear guys,
Can anyonw help me with this trouble? I've 3 days on this without sleep. :sick:
How to "Turn off the kitchen lights at 50 percent" in SAPI grammar structure?
Code:
<grammar langid="409">
<RULE NAME="voicelink" TOPLEVEL="ACTIVE">
<PHRASE>
<PHRASE>Turn</PHRASE>
<!-- introduction word -->
<OPT>...</OPT>
<LIST>
<PHRASE>
<LIST>
<PHRASE>on</PHRASE>
<PHRASE>off</PHRASE>
</LIST>
<LIST>
<LIST PROPNAME="{A1}">
<PHRASE>light</PHRASE>
</LIST>
<LIST PROPNAME="{A2}">
<PHRASE>radio</PHRASE>
</LIST>
<LIST PROPNAME="{A3}">
<PHRASE>tv</PHRASE>
</LIST>
</LIST>
</PHRASE>
</LIST>
</PHRASE>
</RULE>
</grammar>
Re: How to "Turn off the kitchen lights at 50 percent" in SAPI grammar?
Re: How to "Turn off the kitchen lights at 50 percent" in SAPI grammar?
Quote:
Originally Posted by
Code Doc
This is VB6? :afrog:
Yes, this is a simple SAPI XML Grammar for VB6.
Re: How to "Turn off the kitchen lights at 50 percent" in SAPI grammar?
Quote:
Originally Posted by
Nikole
Yes, this is a simple SAPI XML Grammar for VB6.
Then it's XML, not VB6 specific.
SAPI isn't VB6-specific either, you need to try asking in a section of the forum specifically for general questions.
Re: How to "Turn off the kitchen lights at 50 percent" in SAPI grammar?
Quote:
Originally Posted by
smUX
Then it's XML, not VB6 specific.
SAPI isn't VB6-specific either, you need to try asking in a section of the forum specifically for general questions.
I know, SAPI is programming language independant, but on this forum (VB6 and Earlier) has many questions about SAPI grammar and vb6 , i need help-
Re: How to in VB6 "Turn off the kitchen lights at 50 percent" in SAPI grammar?
That is completely irrelevant - your question is nothing to do with VB6 code, so should not have been posted in the VB6 forum.
Thread moved to 'General Developer' forum
Re: How to in VB6 "Turn off the kitchen lights at 50 percent" in SAPI grammar?
Quote:
Originally Posted by
si_the_geek
That is completely irrelevant - your question is nothing to do with VB6 code, so should not have been posted in the VB6 forum.
Thread moved to 'General Developer' forum
Ok, ok, move the thread if this make you happy :D