9 Replies Latest reply: Nov 30, 2017 3:30 AM by amalhotra@natilik.com RSS

VVB11.0 and Nuance Grammars returning multiple slots

janinegraves

I'm trying to test Virtual VB 11.0 and Nuance 10 - with a Studio Form element pointing to a custom external grammar  that returns multiple slots into element data (using the SlotElementData settings).

This works fine when I use the IOS VB.

But when I use the VVB it doesn't seem to parse out the return values. 

Is this a bug?

********************************

Activity Log when using IOS VB:

 

Form_getCity,data,nbestInterpretation1,+city:Boston+SWI_grammarName:session:field6070@field.grammar+address:100 Mass Ave +state:MA+SWI_literal:boston+SWI_meaning:{address:100 Mass Ave city:Boston state:MA}

Form_getCity,data,city1,Boston

Form_getCity,data,address1,100 Mass Ave

Form_getCity,data,state1,MA

********************************

Activity Log when using the Virtual VB:

Form_getCity,data,nbestInterpretation1,[object ScriptableObjectImpl]

********************************

The grammar:

<?xml version="1.0"?>

<grammar version="1.0" xml:lang="en-US" root="root" mode="voice" xmlns="http://www.w3.org/2001/06/grammar" >

    <rule id="root" scope="public">

        <one-of>

            <item> <tag> address='100 Mass Ave'; city='Boston'; state='MA';</tag> boston </item> 

           <item> <tag> address='First Ave'; city='Phoenix'; state='AZ';</tag> phoenix</item>  

        </one-of>

    </rule>

</grammar>

********************************