W3C home > Mailing lists > Public > www-voice@w3.org > October to December 2002

Question : multiple nomatch rules ?

From: Yahn Teisseire <yahn@ukibi.com>
Date: Mon, 28 Oct 2002 18:23:33 +0100
Message-ID: <12b701c27ea6$bf18a710$e9020a0a@paris.ukibi.com>
To: "Voice w3c" <www-voice@w3.org>

I have the following grammar :

<grammar root="command">
<rule id="command" scope="public">
            <item><ruleref uri="#action"/></item>
            <item><ruleref uri="#contact"/></item>

<rule id="action">

<rule id="contact">

I'd like to know if it's possible to write 2 <nomatch> rules :
- one to say "Sorry this contact doesn't exists" if the user said for example "call peter"
- one to say "Sorry i don't understand" if the user said a real un-understable sentance.

because actually, i have the message "Sorry i don't understand" even if the rule "action" matches something, but i'm unable to catch it.

Thanks for your help,

    Yahn Teisseire
Received on Monday, 28 October 2002 12:23:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:03:47 UTC