- From: Yahn Teisseire <yahn@ukibi.com>
- Date: Wed, 16 Oct 2002 14:42:03 +0200
- To: <www-voice@w3.org>
Received on Wednesday, 16 October 2002 08:42:04 UTC
Hi, I have the following grammar : Finalgrammar [ (Action:a ?Name:n ?Media:m) {<action $a><contact $n><media $m>} ] Action [ call { return ("call")} find { return ("find")} spell { return ("spell")} ] Name [ [john doe (john doe) johny] {return([<contactname "john doe"><contactid "1234">])} ] Media [ home { return ("home")} mobile { return ("mobile")} work { return ("work")} ] This grammar works, but i'm unable to access "contactname" and "contactid" : application.lastresult$[0].interpretation.action returns "call" for example, application.lastresult$[0].interpretation.contact returns { contactname = "john doe" contactid = "1234" }, but application.lastresult$[0].interpretation.contact.contactname returns "undefined". How could i do ? Thanks
Received on Wednesday, 16 October 2002 08:42:04 UTC