edu.cmu.sphinx.decoder.search
Class WordActiveListFactory

java.lang.Object
  extended by edu.cmu.sphinx.decoder.search.ActiveListFactory
      extended by edu.cmu.sphinx.decoder.search.WordActiveListFactory
All Implemented Interfaces:
Configurable

public class WordActiveListFactory
extends ActiveListFactory

A factory for WordActiveList. The word active list is active list designed to hold word tokens only. In addition to the usual active list properties such as absolute and relative beams, the word active list allows restricting the number of copies of any particular word in the word beam. Also the word active list can restrict the number of fillers in the beam.


Field Summary
static java.lang.String PROP_MAX_FILLER_WORDS
          property that sets the max filler words allowed in the beam.
static java.lang.String PROP_MAX_PATHS_PER_WORD
          property that sets the max paths for a single word.
 
Fields inherited from class edu.cmu.sphinx.decoder.search.ActiveListFactory
PROP_ABSOLUTE_BEAM_WIDTH, PROP_LOG_MATH, PROP_RELATIVE_BEAM_WIDTH, PROP_STRICT_PRUNING
 
Constructor Summary
WordActiveListFactory()
           
 
Method Summary
 ActiveList newInstance()
          Creates a new active list of a particular type
 void newProperties(PropertySheet ps)
          This method is called when this configurable component needs to be reconfigured.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_MAX_PATHS_PER_WORD

@S4Integer(defaultValue=0)
public static final java.lang.String PROP_MAX_PATHS_PER_WORD
property that sets the max paths for a single word. (zero disables this feature)

See Also:
Constant Field Values

PROP_MAX_FILLER_WORDS

@S4Integer(defaultValue=1)
public static final java.lang.String PROP_MAX_FILLER_WORDS
property that sets the max filler words allowed in the beam. (zero disables this feature)

See Also:
Constant Field Values
Constructor Detail

WordActiveListFactory

public WordActiveListFactory()
Method Detail

newProperties

public void newProperties(PropertySheet ps)
                   throws PropertyException
Description copied from interface: Configurable
This method is called when this configurable component needs to be reconfigured.

Specified by:
newProperties in interface Configurable
Overrides:
newProperties in class ActiveListFactory
Parameters:
ps - a property sheet holding the new data
Throws:
PropertyException - if there is a problem with the properties.

newInstance

public ActiveList newInstance()
Description copied from class: ActiveListFactory
Creates a new active list of a particular type

Specified by:
newInstance in class ActiveListFactory
Returns:
the active list