edu.cmu.sphinx.decoder.pruner
Interface Pruner

All Superinterfaces:
Configurable
All Known Implementing Classes:
NullPruner, SimplePruner

public interface Pruner
extends Configurable

Provides a mechanism for pruning a set of StateTokens


Method Summary
 void allocate()
          Allocates resources necessary for this pruner
 void deallocate()
          Deallocates resources necessary for this pruner
 ActiveList prune(ActiveList stateTokenList)
          prunes the given set of states
 void startRecognition()
          Starts the pruner
 void stopRecognition()
          Performs post-recognition cleanup.
 
Methods inherited from interface edu.cmu.sphinx.util.props.Configurable
newProperties
 

Method Detail

startRecognition

void startRecognition()
Starts the pruner


prune

ActiveList prune(ActiveList stateTokenList)
prunes the given set of states

Parameters:
stateTokenList - a list containing StateToken objects to be scored
Returns:
the pruned list, (may be the sample list as stateTokenList)

stopRecognition

void stopRecognition()
Performs post-recognition cleanup.


allocate

void allocate()
Allocates resources necessary for this pruner


deallocate

void deallocate()
Deallocates resources necessary for this pruner