i m trying to write a grammar file which will verbose like follows
i say “a” followed by “b”…should print "ab"
i say “a” ,“b” then “c”…should print “abc”

i m currently trying out with
$rootrule={out=new Array}($wordslist{$.push($$)})<1->

with wordslist defined earlier…
in dialplan i m making use of speech_text(0)
but the output is like
</item index=0>a</item index=1>b…
so how to get rid of this “item index” in the output???