public class KASRWord
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
KASRWord(java.lang.String text_,
float confidence_,
float startTime_,
float duration_) |
Modifier and Type | Method and Description |
---|---|
float |
getConfidence()
Confidence in the range 0 to 1 for the word.
|
float |
getDuration()
Duration, in seconds, for this word.
|
float |
getStartTime()
Start time, in seconds, for this word relative to when the recognizer started to listen.
|
java.lang.String |
getText()
Text of the word
|
boolean |
isTag()
False for real words, true for tags, e.g.
|
java.lang.String |
toString()
String representation of this object.
|
protected KASRWord(java.lang.String text_, float confidence_, float startTime_, float duration_)
public java.lang.String getText()
public float getStartTime()
public float getDuration()
public float getConfidence()
public boolean isTag()
public java.lang.String toString()
toString
in class java.lang.Object