edu.cmu.sphinx.result
Interface ConfidenceResult

All Superinterfaces:
java.lang.Iterable<ConfusionSet>
All Known Implementing Classes:
Sausage

public interface ConfidenceResult
extends java.lang.Iterable<ConfusionSet>

Shows the confidence information about a Result.


Method Summary
 Path getBestHypothesis()
          Returns the best hypothesis of the result.
 ConfusionSet getConfusionSet(int i)
          Get the nth confusion set in this result
 int size()
          Get the number of word slots contained in this result
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

getBestHypothesis

Path getBestHypothesis()
Returns the best hypothesis of the result.

Returns:
the best hypothesis of the result

size

int size()
Get the number of word slots contained in this result

Returns:
length of the result

getConfusionSet

ConfusionSet getConfusionSet(int i)
Get the nth confusion set in this result

Parameters:
i - the index of the confusion set to get
Returns:
the requested confusion set