|
|||||||||
| 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. |
java.lang.String |
getTranscriptionNoFiller()
Gets the transcription of the path skipping the filler words |
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 PathPath.getScore()public double getConfidence()
Path
getConfidence in interface PathPath.getConfidence()public LogMath getLogMath()
getLogMath in interface Pathpublic WordResult[] getWords()
Path
getWords in interface PathPath.getWords()public java.lang.String getTranscription()
Path
getTranscription in interface PathPath.getTranscription()public java.lang.String getTranscriptionNoFiller()
Path
getTranscriptionNoFiller in interface PathPath.getTranscriptionNoFiller()public void add(WordResult wr)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||