edu.cmu.sphinx.decoder.scorer
Interface AcousticScorer

All Superinterfaces:
Configurable
All Known Implementing Classes:
ParallelAcousticScorer, SimpleAcousticScorer, ThreadedAcousticScorer

public interface AcousticScorer
extends Configurable

Provides a mechanism for scoring a set of HMM states


Method Summary
 void allocate()
          Allocates resources for this scorer
 Scoreable calculateScores(java.util.List scorableList)
          Scores the given set of states
 void deallocate()
          Deallocates resouces for this scorer
 void startRecognition()
          starts the scorer
 void stopRecognition()
          stops the scorer
 
Methods inherited from interface edu.cmu.sphinx.util.props.Configurable
getName, newProperties, register
 

Method Detail

allocate

public void allocate()
              throws java.io.IOException
Allocates resources for this scorer

Throws:
java.io.IOException

deallocate

public void deallocate()
Deallocates resouces for this scorer


startRecognition

public void startRecognition()
starts the scorer


calculateScores

public Scoreable calculateScores(java.util.List scorableList)
Scores the given set of states

Parameters:
scorableList - a list containing Scorable objects to be scored
Returns:
the best scoring scorable, or null if there are no more frames to score

stopRecognition

public void stopRecognition()
stops the scorer