org.jvoicexml.implementation.mrcpv2
Class Mrcpv2RecognitionResult

java.lang.Object
  extended by org.jvoicexml.implementation.mrcpv2.Mrcpv2RecognitionResult
All Implemented Interfaces:
RecognitionResult

public final class Mrcpv2RecognitionResult
extends Object
implements RecognitionResult

Result of the recognition process.

Since:
0.7
Version:
$Revision: 2355 $
Author:
Spencer Lord

Constructor Summary
Mrcpv2RecognitionResult(org.speechforge.cairo.client.recog.RecognitionResult res)
          Constructs a new object.
 
Method Summary
 float getConfidence()
          
 String getMark()
          
 org.jvoicexml.xml.srgs.ModeType getMode()
          
 Object getSemanticInterpretation()
          
 String getUtterance()
          
 String[] getWords()
          
 float[] getWordsConfidence()
          
 boolean isAccepted()
          
 boolean isRejected()
          
 void setMark(String mark)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mrcpv2RecognitionResult

public Mrcpv2RecognitionResult(org.speechforge.cairo.client.recog.RecognitionResult res)
Constructs a new object.

Parameters:
res - The result returned by the recognizer.
Method Detail

getUtterance

public String getUtterance()

Specified by:
getUtterance in interface RecognitionResult

isAccepted

public boolean isAccepted()

Specified by:
isAccepted in interface RecognitionResult

isRejected

public boolean isRejected()

Specified by:
isRejected in interface RecognitionResult

setMark

public void setMark(String mark)

Specified by:
setMark in interface RecognitionResult

getMark

public String getMark()

Specified by:
getMark in interface RecognitionResult

getConfidence

public float getConfidence()

Specified by:
getConfidence in interface RecognitionResult

getWordsConfidence

public float[] getWordsConfidence()

Specified by:
getWordsConfidence in interface RecognitionResult

getWords

public String[] getWords()

Specified by:
getWords in interface RecognitionResult

getMode

public org.jvoicexml.xml.srgs.ModeType getMode()

Specified by:
getMode in interface RecognitionResult

getSemanticInterpretation

public Object getSemanticInterpretation()

Specified by:
getSemanticInterpretation in interface RecognitionResult


Copyright © 2008-2010JVoiceXML group.