edu.cmu.sphinx.result
Interface ConfidenceResult

All Known Implementing Classes:
Sausage

public interface ConfidenceResult

Shows the confidence information about a Result.


Method Summary
 java.util.Iterator confusionSetIterator()
          Iterator through the confusion sets in this result.
 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
 

Method Detail

getBestHypothesis

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

Returns:
the best hypothesis of the result

size

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

Returns:
length of the result

confusionSetIterator

public java.util.Iterator confusionSetIterator()
Iterator through the confusion sets in this result.

Returns:
confusion set iterator

getConfusionSet

public 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