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

Grammar question : multiple keywords

From: Yahn Teisseire <yahn@ukibi.com>
Date: Wed, 2 Oct 2002 08:44:38 -0400 (EDT)
Message-ID: <0a0401c26a11$5b2b2e20$e9020a0a@paris.ukibi.com>
To: <www-voice@w3.org>

I'd like to know if that's possible to build a grammar able to recognize
multiple keywords, for example, "offer John a cookie", "send Tabatha
flowers", without building a grammar like :

    (offer John cookie) {<action="offer"><contact="John"><object="cookie">}
    (offer John flowers)
    (send John cookie) {<action="send "><contact="John"><object="cookie">}
    (send John flowers) {<action="send "><contact="John"><object="flowers">}
    (offer Tabatha cookie) {<action="offer"><contact="Tabatha
    (offer Tabatha flowers) {<action="offer"><contact="Tabatha
    (send Tabatha cookie) {<action="send "><contact="Tabatha
    (send Tabatha flowers) {<action="send "><contact="Tabatha

because if you have a lot of actions and contacts, the grammar will be too huge to describe all combinations.

Thanks for your help
Received on Wednesday, 2 October 2002 10:20:36 UTC

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