I'm having a problem return the above mentioned. I've mailed someone on this and they mentioned the $$$.score variable which should return the confidence score of a particular rule in a grammar context. As can be seen below in the sample XML output from my test gramma this seems to be returning undefined. My grammar. I hope someone points out the blindingly obvious and makes me say Doh!! :)
<br><br><br>Grammar<br>=====================================<br>#ABNF 1.0;<br>language en-US;<br>mode voice;<br>tag-format <lumenvox/1.0>;<br><br>root $FullTagGrammar;<br><br>$everyone = everyone:"everyone";
<br>$having = having:"having";<br>$great = great:"great";<br>$time = time:"time";<br>$holidays = holidays:"holidays";<br>$later = later:"later";<br>$beach = beach:"beach";
<br>$house = house:"house";<br>$barbeque = barbeque:"barbeque";<br>$beer = beer|beers:"beer";<br>$see = see:"see";<br>$soon = soon:"soon";<br><br>$WordsList = ($everyone|$having|$great|$time|$holidays|$later|$beach|$house|$barbeque|$beer|$see|$soon){$ =$$};
<br><br><br>$Tag = [$WordsList{$.score = $$$.score}] $WordsList {$.wordslist = $$};<br><br>$FullTagGrammar = {$.tagslist =new Array} ($Tag {$.tagslist.push($$)} )<1-> [and $Tag{$.tagslist.push($$)}];<br><br><br><br>
Sample Output<br>===================================================<br> <tagslist><item index=0><score>[Undefined]</score><wordslist>having</wordslist></item><item index=1><score>[Undefined]</score><wordslist>time</wordslist></item></tagslist>
<br><br><br>