Results 1 to 7 of 7

Thread: How to in VB6 "Turn off the kitchen lights at 50 percent" in SAPI grammar?

Threaded View

  1. #1

    Thread Starter
    Lively Member Nikole's Avatar
    Join Date
    Feb 2010
    Posts
    79

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width