edu.cmu.sphinx.result
Class FrameStatistics

java.lang.Object
  extended byedu.cmu.sphinx.result.FrameStatistics

public abstract class FrameStatistics
extends java.lang.Object

Contains statistics about a frame. Note that all scores are maintained in LogMath log base


Constructor Summary
FrameStatistics()
           
 
Method Summary
abstract  float getBestScore()
          Gets the best score for this frame
abstract  int getBestState()
          Gets the best scoring hmm state for this frame
abstract  Unit getBestUnit()
          Gets the unit that had the best score for this frame
abstract  Data getData()
          Gets the feature associated with this frame
abstract  int getFrameNumber()
          Gets the frame number
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrameStatistics

public FrameStatistics()
Method Detail

getFrameNumber

public abstract int getFrameNumber()
Gets the frame number

Returns:
the frame number

getData

public abstract Data getData()
Gets the feature associated with this frame

Returns:
the feature associated with the frame or null if the feature is not available

getBestScore

public abstract float getBestScore()
Gets the best score for this frame

Returns:
the best score for this frame in the LogMath log domain

getBestUnit

public abstract Unit getBestUnit()
Gets the unit that had the best score for this frame

Returns:
the unit with the best score

getBestState

public abstract int getBestState()
Gets the best scoring hmm state for this frame

Returns:
the best scoring state