Results 1 to 7 of 7

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

  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.

  2. #2
    PowerPoster Code Doc's Avatar
    Join Date
    Mar 2007
    Location
    Omaha, Nebraska
    Posts
    2,354

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

    This is VB6?
    Doctor Ed

  3. #3

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

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

    Quote Originally Posted by Code Doc View Post
    This is VB6?

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

  4. #4
    PowerPoster
    Join Date
    May 2006
    Location
    Location, location!
    Posts
    2,673

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

    Quote Originally Posted by Nikole View Post
    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.

  5. #5

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

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

    Quote Originally Posted by smUX View Post
    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-

  6. #6
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    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

  7. #7

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

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

    Quote Originally Posted by si_the_geek View Post
    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
  •  



Click Here to Expand Forum to Full Width