Hi, 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 : <grammar> <![CDATA[[ (offer John cookie) {<action="offer"><contact="John"><object="cookie">} (offer John flowers) {<action="offer"><contact="John"><object="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 "><object="cookie">} (offer Tabatha flowers) {<action="offer"><contact="Tabatha "><object="flowers">} (send Tabatha cookie) {<action="send "><contact="Tabatha "><object="cookie">} (send Tabatha flowers) {<action="send "><contact="Tabatha "><object="flowers">} ]]]> </grammar> because if you have a lot of actions and contacts, the grammar will be too huge to describe all combinations. Thanks for your helpReceived on Wednesday, 2 October 2002 10:20:36 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 30 October 2006 12:48:56 GMT