Need help with grammar file? RRS feed

  • Question

  • Hi,

    I have a simple grammar file as shown. 

    If the user speaks any sentence which does not contain below words "total" or "balance", the speech is hypothesized and recognized at a point and returns "account balance" as text. 

    Please help with the grammar file modification to avoid such incorrect recognition. If the user speaks words that are not in grammar file, a "no match found" message should be displayed.

    <?xml version="1.0" encoding="UTF-8" ?>
    <grammar version="1.0" xml:lang="en-US" mode="voice" root="VenBa" xmlns="http://www.w3.org/2001/06/grammar" tag-format="semantics/1.0"   >
    <rule id="VenBa" scope="public">
    <tag>out.Text="account balance";out.testCaseResult = "Passed";</tag>
    <tag>out.Text="Could not interpret the command";out.testCaseResult = "Failed";</tag>

    Tuesday, May 28, 2013 1:40 PM