PDA

Click to See Complete Forum and Search --> : How to in VB6 "Turn off the kitchen lights at 50 percent" in SAPI grammar?


Nikole
Mar 16th, 2010, 06:26 PM
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?


<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>

Code Doc
Mar 16th, 2010, 06:35 PM
This is VB6? :afrog:

Nikole
Mar 16th, 2010, 06:42 PM
This is VB6? :afrog:


Yes, this is a simple SAPI XML Grammar for VB6.

smUX
Mar 16th, 2010, 06:49 PM
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.

Nikole
Mar 16th, 2010, 07:05 PM
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-

si_the_geek
Mar 17th, 2010, 05:14 AM
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

Nikole
Mar 17th, 2010, 06:06 AM
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