<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:PMingLiU;
        panose-1:2 2 3 0 0 0 0 0 0 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@PMingLiU";
        panose-1:2 2 3 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {margin-right:0in;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle20
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=FR link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>What exactly is happening
after you type either of those?</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>In the second case (WHERE
IS CLASS) RC is trying to perform an explicit confirmation &#8220;I think you said
you wanted information about a class. Is this correct?&#8221;, whereas in the first
case it&#8217;s just trying to do an implicit confirmation &#8220;Information about a class&#8230;
&lt;moves on to the next task related question&gt;&#8221;.</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>For any of these to work
properly, you need to have the ExplicitConfirm.pm and ImplicitConfirm.pm
updated in the NLG. They should map the concept name to the proper confirmation
prompt (these Rosetta modeuls work the same as Inform.pm or Request.pm). Maybe
the problem is that you&#8217;re missing those? It wouldn&#8217;t be a major problem in the
implicit confirmation case because the dialog moves on anyway but it would in
the explicit confirmation case because RC waits for a user answer (it creates a
new request agent and puts it on top of the stack).</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>So the thing is, when you
start dealing with speech, you need to have all those grounding models and
their associated prompts in the NLG set correctly. It takes a little while but
then RC does the whole grounding job for you&#8230;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>I guess we really need
some documentation about this (Dan??)&#8230;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>Hope this helps&#8230;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>antoine</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
Svetlana Stenchikova [mailto:svetastenchikova@gmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, November 08, 2006
4:51 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Antoine Raux<br>
<b><span style='font-weight:bold'>Cc:</span></b>
ravenclaw-developers@cs.cmu.edu<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [RavenclawDev 179]
grounding_manager_configuration setting inconfig file of DM</span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>I am not sure which entry
to look at.&nbsp; <br>
<br>
Could this be because I am binding multiple&nbsp; concepts?<br>
It is not a problem for me now as I can fix it by taking out <span class=e><span
id="q_10ec952b8c4ee309_1">grounding_manager_configuration from config. </span><br>
<span class=e>I am just concerned that I will deal with these issues with
speech.</span><br>
<br>
</span><br>
>From a first glance at the helios log:<br>
WHERE CLASS<br>
<br>
confidence&nbsp;&nbsp;&nbsp; 0.62288<br>
<br>
WHERE IS CLASS<br>
<br>
confidence&nbsp;&nbsp;&nbsp; 0.28883<br>
<br>
<br>
In the dialog.log I get entries:<br>
<br>
I think this is for WHERE CLASS:<br>
****************************************<br>
<br>
[GMX@16:11:10.083] Grounding model /RavenCalendar/question_type_string
[TYPE=concept_default;POLICY=expl;EM=greedy;EP=0.20]:<br>
Full state: <br>
grounded = false<br>
top_confidence = 0.622880<br>
updated = true<br>
Belief state: INACTIVE:0.00&nbsp; CONFIDENT:0.62&nbsp; UNCONFIDENT:0.38&nbsp;
GROUNDED:0.00&nbsp; <br>
Action values (dumped below):<br>
&nbsp; ACCEPT:2.4576<br>
&nbsp; EXPL_CONF:0.6568<br>
<br>
Suggested action: ACCEPT<br>
<br>
[GMX@16:11:10.083] Concept /RavenCalendar/the_event.event_type dumped below:<br>
CLASS|0.62<br>
[GMX@16:11:10.083] Grounding model /RavenCalendar/the_event.event_type
[TYPE=concept_default;POLICY=expl_impl;EM=greedy;EP=0.20]:<br>
Full state: <br>
grounded = false<br>
top_confidence = 0.622880<br>
updated = true<br>
Belief state: INACTIVE:0.00&nbsp; CONFIDENT:0.62&nbsp; UNCONFIDENT:0.38&nbsp;
GROUNDED:0.00&nbsp; <br>
Action values (dumped below):<br>
&nbsp; ACCEPT:-2.1822<br>
&nbsp; EXPL_CONF:0.6568<br>
&nbsp; IMPL_CONF:1.8856<br>
<br>
Suggested action: IMPL_CONF<br>
<br>
<br>
<br>
*****************************************<br>
<br>
and this for WHERE IS CLASS<br>
<br>
<br>
<br>
[GMX@16:11:13.314] Grounding model /RavenCalendar/question_type_string
[TYPE=concept_default;POLICY=expl;EM=greedy;EP=0.20]:<br>
Full state: <br>
grounded = false<br>
top_confidence = 0.000000<br>
updated = false<br>
Belief state: INACTIVE:1.00&nbsp; CONFIDENT:0.00&nbsp; UNCONFIDENT:0.00&nbsp;
GROUNDED:0.00&nbsp; <br>
Action values (dumped below):<br>
&nbsp; ACCEPT:10.0000<br>
&nbsp; EXPL_CONF: -<br>
<br>
Suggested action: ACCEPT<br>
<br>
[GMX@16:11:13.314] Concept /RavenCalendar/the_event.event_type dumped below:<br>
&lt;UNDEFINED&gt;<br>
[GMX@16:11:13.315] Grounding model /RavenCalendar/the_event.event_type
[TYPE=concept_default;POLICY=expl_impl;EM=greedy;EP=0.20]:<br>
Full state: <br>
grounded = false<br>
top_confidence = 0.000000<br>
<br>
<br>
[GMX@16:11:37.467] Concept /RavenCalendar/question_type_string dumped below:<br>
where|0.29<br>
[GMX@16:11:37.467] Grounding model /RavenCalendar/question_type_string
[TYPE=concept_default;POLICY=expl;EM=greedy;EP=0.20]:<br>
Full state: <br>
grounded = false<br>
top_confidence = 0.288830<br>
updated = true<br>
Belief state: INACTIVE:0.00&nbsp; CONFIDENT:0.29&nbsp; UNCONFIDENT:0.71&nbsp;
GROUNDED:0.00&nbsp; <br>
Action values (dumped below):<br>
&nbsp; ACCEPT:-4.2234<br>
&nbsp; EXPL_CONF:5.6675<br>
<br>
Suggested action: EXPL_CONF<br>
<br>
<br>
<br>
<br>
<br>
<br>
</span></font></p>

<div>

<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On 11/8/06, <b><span style='font-weight:bold'>Antoine
Raux</span></b> &lt;<a href="mailto:antoine@cs.cmu.edu">antoine@cs.cmu.edu</a>&gt;
wrote:</span></font></span></p>

<div link=blue vlink=purple>

<div>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>Hi Svetlana,</span></font></p>

<p><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:navy'>&nbsp;</span></font></p>

<p><font size=2 color=navy face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial;color:navy'>Have you looked at the confidence value for the
input in both cases? This is one of the features that Helios sends to the DM
for each input. It is possible that &quot;where class&quot; has a low
confidence for some reason (e.g. segmented parse&#8230;) and RC rejects it. Normally
if your grammar gives a full parse for &quot;where class&quot; that shouldn't
happen (at least on typed input) but&#8230;</span></font></p>

<p><font size=2 color=navy face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p><font size=2 color=navy face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial;color:navy'>antoine</span></font></p>

<p><font size=2 color=navy face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial;color:navy'>&nbsp;</span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>

<hr size=2 width="100%" align=center>

</span></font></div>

<p><b><font size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'> <a
href="mailto:ravenclaw-developers-bounces@LOGANBERRY.srv.cs.cmu.edu"
target="_blank">ravenclaw-developers-bounces@LOGANBERRY.srv.cs.cmu.edu</a>
[mailto:<a href="mailto:ravenclaw-developers-bounces@LOGANBERRY.srv.cs.cmu.edu"
target="_blank">ravenclaw-developers-bounces@LOGANBERRY.srv.cs.cmu.edu</a>] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Svetlana Stenchikova<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, November 08, 2006
2:50 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <a
href="mailto:ravenclaw-developers@cs.cmu.edu" target="_blank">ravenclaw-developers@cs.cmu.edu</a><br>
<b><span style='font-weight:bold'>Subject:</span></b> [RavenclawDev 179] grounding_manager_configuration
setting inconfig file of DM</span></font></p>

</div>

<div><span id="q_10ec952b8c4ee309_1">

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;</span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><br>
I have encountered an issue with binding a concept in DM depending on a user
utterance.<br>
<br>
in my DM I have a grammar mapping.
&quot;@(...)[Question.where_event]&gt;where,&quot;<br>
<br>
<br>
The user can ask a question in multiple ways:<br>
where class<br>
where is class<br>
where is the class<br>
what is the location the class<br>
..<br>
<br>
for all of these entries PHOENIX produces identical parse<br>
<br>
[Question] ( [where_event] ( WHERE ) )<br>
Features<br>
[EventTypeSpec] ( [event_type] ( [event_type_singular] ( MEETING ) ) )<br>
<br>
&quot; } )<br>
<br>
When a configuration file passed to the DM in -config has an entry:
grounding_manager_configuration =
turns:default;concepts:default;beliefupdatingmodel:npu<br>
<br>
<br>
if a user types:<br>
&quot;where is the class&quot;&nbsp;&nbsp;&nbsp; DM does not bind the concepts,
but if the user types <br>
&quot;where
class&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
DM binds the concepts.<br>
<br>
When the grounding_manager_configuration is taken out of DM, the binding
succeeds for both utterances.<br>
<br>
Can this be explained?&nbsp; Do you think there may be a problem with my
grammar or something in my DM? <br>
The grammar of the Phoenix parser should not matter because in all cases the
parses are identical, right?<br>
<br>
thank you<br>
<br>
Svetlana</span></font></p>

</div>

</div>

</div>

</div>

</span>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

</body>

</html>