|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.result.WordResultPath
public class WordResultPath
An implementation of a result Path that computes scores and confidences on the fly.
Method Summary | |
---|---|
void |
add(WordResult wr)
|
double |
getConfidence()
Returns a log confidence score for this path. |
LogMath |
getLogMath()
Returns the LogMath of the scores. |
double |
getScore()
Gets the total score for this path. |
java.lang.String |
getTranscription()
Gets the transcription of the path. |
WordResult[] |
getWords()
Gets the ordered set of words for this path |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface edu.cmu.sphinx.result.Path |
---|
toString |
Method Detail |
---|
public double getScore()
Path
getScore
in interface Path
Path.getScore()
public double getConfidence()
Path
getConfidence
in interface Path
Path.getConfidence()
public LogMath getLogMath()
getLogMath
in interface Path
public WordResult[] getWords()
Path
getWords
in interface Path
Path.getWords()
public java.lang.String getTranscription()
Path
getTranscription
in interface Path
Path.getTranscription()
public void add(WordResult wr)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |