cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
366
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: null on 21-08-2006 11:32:45 PM
Hi,

How does Audium handle the case when one utterance can return multiple results? In my grammar below, when caller says "one", it matches 3 records but Audium returns maxnbest=1. application.lastresult$.length also returns 1.

<grammar>
<rule>
<item> <ruleref> </item> <tag>PHONE=EXTENSION.DIRECT_LINE; TYPE="employee";</tag>
</rule>

<rule> <one> <item>one<tag>
DIRECT_LINE="35124633907"; EXTENSION="333910"; DIVISION="3 Revenue duplicatte Processing";</tag></item> <item>one<tag> DIRECT_LINE="45124633907"; EXTENSION="433910"; DIVISION="4 Revenue duplicatte Processing";</tag></item> <item>one<tag> DIRECT_LINE="55124633907"; EXTENSION="533910"; DIVISION="5 Revenue duplicatte Processing";</tag></item> </one> </rule> </grammar>

Subject: RE: Multiple interpretations for one utterance
Replied by: Vance Vagell on 22-08-2006 01:42:39 PM
Hi Luong,

Please refer to our Element Specification document for information about how our Form and Form with Confirm elements handle multiple-slot interpretations. However, in short, you can either specify the name of each slot you expect to be returned and have its value stored in element data, or you can specify that a concatenated string of all slot values be returned for your own custom processing.

Hope this helps,
Vance

Subject: RE: Multiple interpretations for one utterance
Replied by: null on 22-08-2006 03:52:36 PM
Audium works for multiple slots, but doesn't for multiple interpretations. In my grammar, if callers say "one", Audium returns one result and 3 slots. It should return 3 results, each result has 3 slots.

I understand that nbest match acousticly, therefore "one" returns 1 nbest. But it should return 3 intepretations that looks like this

application.lastresult$[0].interpration[0].DIRECT_LINE = "35124633907"
application.lastresult$[0].interpration[1].DIRECT_LINE = "45124633907"
application.lastresult$[0].interpration[2].DIRECT_LINE = "55124633907"

In summary, when callers say "one" I need to get back all 3 DIRECT_LINE slots. Is this possible in Audium? I am using OSR 3.

Thanks.

Subject: RE: Multiple interpretations for one utterance
Replied by: Vance Vagell on 22-08-2006 04:01:14 PM
Hi Luong,

If you set the maxnbest setting to "3", then each slot will have the top-3 interpretations returned (and stored by Call Services) for it. If a slot_element_data setting has been configured for each slot, these interpretations will be stored in element data with a format of:

slotName1
slotName2
slotName3

For example, if your grammar has a slot named "my_slot", and you configured a slot_element_data setting with the value "my_slot", then at runtime three element data variables would be created: "my_slot1", "my_slot2", "my_slot3". Each of these variables would contain an n-best interpretation.

Regards,
Vance
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links