|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.result.AbstractSausageMaker
edu.cmu.sphinx.result.SausageMaker
public class SausageMaker
The SausageMaker takes word lattices as input and turns them into sausages (Confusion Networks) according to Mangu, Brill and Stolcke, "Finding Consensus in Speech Recognition: word error minimization and other applications of confusion networks", Computer Speech and Language, 2000. Note that the
getBestHypothesis
of the
ConfidenceResult object returned by the score
method returns the path where all the words have
the highest posterior probability within its corresponding time slot.
Field Summary |
---|
Fields inherited from class edu.cmu.sphinx.result.AbstractSausageMaker |
---|
PROP_LANGUAGE_WEIGHT |
Constructor Summary | |
---|---|
SausageMaker()
Construct an empty sausage maker |
|
SausageMaker(Lattice l)
Construct a sausage maker |
Method Summary | |
---|---|
Sausage |
makeSausage()
Turn the lattice contained in this sausage maker into a sausage object. |
ConfidenceResult |
score(Result result)
Computes confidences for a Result and returns a ConfidenceResult, a compact representation of all the hypothesis contained in the result together with their per-word and per-path confidences. |
Methods inherited from class edu.cmu.sphinx.result.AbstractSausageMaker |
---|
newProperties |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SausageMaker()
public SausageMaker(Lattice l)
l
- the lattice to construct a sausage fromMethod Detail |
---|
public Sausage makeSausage()
public ConfidenceResult score(Result result)
ConfidenceScorer
result
- the result to compute confidences for
ConfidenceScorer.score(edu.cmu.sphinx.result.Result)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |