Groups > IBM > ibm.software.speech.multimodal > Re: Confidence Level, Opera Voice Log




Confidence Level, Opera Voice Log

Confidence Level, Opera Voice Log
Sat, 28 Oct 2006 20:07:28 -030
Two questions hopefully some knows the answers to:

Is it possible to programatically get access to the confidence level 
that is returned from the speech engine? More specifically, I want to be 
able to tell what the confidence level is on a particual field. In the 
X+V standard it mentions something to this effect but does not go into 
detail on how to do it... not that I can find anyway.

And, does anyone know where I can find the voice log while using Opera?

Thanks!

Post Reply
Re: Confidence Level, Opera Voice Log
Sun, 29 Oct 2006 13:53:12 +020
Le Sun, 29 Oct 2006 02:07:28 +0300, Scott Durling <scott.durling@nrc.ca> a
 
écrit:

> Two questions hopefully some knows the answers to:
>
> Is it possible to programatically get access to the confidence level  
> that is returned from the speech engine? More specifically, I want to be  
> able to tell what the confidence level is on a particual field. In the  
> X+V standard it mentions something to this effect but does not go into  
> detail on how to do it... not that I can find anyway.
>
> And, does anyone know where I can find the voice log while using Opera?
>
> Thanks!
>
> Scott

Hello!

Yes, it is possible.

<form>

<field name="lily">
<grammar src="flowers.gram" />

<prompt>Say something to me</prompt>

<filled>
<value expr="alert(application.lastresult$.confidence)" />
</filled>

</field>

</form>

The above form will show you in an alert the confidence level of the  
matched utterance.

The idea is that the UA generates shadow variables during run time.  
application.lastresult$ is always the last matched field. Such a shadow  
variable contains:

- .confidence = the level of confidence of the match. 0.0 being the lowest  
and 1.0 the highest value.
- .utterance = the exact utterance matched, e.g. "the blue lily".
- .interpretation = the object whiched resulted from the semantic  
interpretation tags. It can be something like {flower: "lily", color: 

"#00f"}. It all depends on your flowers.gram-mar.

If you have several fields, you can use application.lily$.confidence. As  
you noticed, you only have to use the field_name$ instead of lastresult$.

For more information, read:
http://www.w3.org/TR/voicexml20/#dml2.3.1
http://www.w3.org/TR/voicexml20/#dml5.1.5

As for the voice log: it is available in Tools > Advanced > Error console.
 
However, you must first enable voice logging. To do so, go to Tools >  
Preferences > Advanced > Voice > Details. There's a drop down which
allows  
you to select the level of logging for voice. Make sure you use the latest  
Opera 9.

Good luck and have fun.

-- 
ROBO Design - We bring you the future
Post Reply
Re: Confidence Level, Opera Voice Log
Mon, 30 Oct 2006 17:07:39 -040
Is it possible to record what a user speaks into a <vxml:field>?

Some examples I see use a script to do this, but I have never seen 
anyone do it while also in a field.

Scott

Scott Durling wrote:
> Two questions hopefully some knows the answers to:
> 
> Is it possible to programatically get access to the confidence level 
> that is returned from the speech engine? More specifically, I want to be 
> able to tell what the confidence level is on a particual field. In the 
> X+V standard it mentions something to this effect but does not go into 
> detail on how to do it... not that I can find anyway.
> 
> And, does anyone know where I can find the voice log while using Opera?
> 
> Thanks!
> 
Post Reply
about | contact