|
-
Mar 16th, 2010, 06:26 PM
#1
Thread Starter
Lively Member
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. 
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>
Last edited by Nikole; Mar 16th, 2010 at 07:05 PM.
-
Mar 16th, 2010, 06:35 PM
#2
Re: How to "Turn off the kitchen lights at 50 percent" in SAPI grammar?
This is VB6?
-
Mar 16th, 2010, 06:42 PM
#3
Thread Starter
Lively Member
Re: How to "Turn off the kitchen lights at 50 percent" in SAPI grammar?
 Originally Posted by Code Doc
This is VB6? 
Yes, this is a simple SAPI XML Grammar for VB6.
-
Mar 16th, 2010, 06:49 PM
#4
PowerPoster
Re: How to "Turn off the kitchen lights at 50 percent" in SAPI grammar?
 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.
Last edited by smUX; Mar 16th, 2010 at 06:52 PM.
Well, everyone else has been doing it :-)
Loading a file into memory QUICKLY - Using SendKeys - HyperLabel - A highly customisable label replacement - Using resource files/DLLs with VB - Adding GZip to your projects
Expect more to come in future
If I have helped you, RATE ME! :-)
I love helping noobs with their VB problems (probably because, as an amateur programmer, I am only slightly better at VB than them :-)) but if you SERIOUSLY want to get help for free from a community such as VBForums, you have to first have a grounding (basic knowledge) in VB6, otherwise you're way too much work to help...You've got to give a little if you want to get help from us, in other words!
And we DON'T do your homework. If your tutor doesn't teach you enough to help you make the project without his or her help, FIND A BETTER TUTOR or try reading books on programming! We are happy to help with minor things regarding the project, but you have to understand the rest of it if you want our help to be useful.
-
Mar 16th, 2010, 07:05 PM
#5
Thread Starter
Lively Member
Re: How to "Turn off the kitchen lights at 50 percent" in SAPI grammar?
 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-
-
Mar 17th, 2010, 05:14 AM
#6
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
-
Mar 17th, 2010, 06:06 AM
#7
Thread Starter
Lively Member
Re: How to in VB6 "Turn off the kitchen lights at 50 percent" in SAPI grammar?
 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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|