edu.cmu.sphinx.decoder.search
Class ActiveListFactory

java.lang.Object
  extended by edu.cmu.sphinx.decoder.search.ActiveListFactory
All Implemented Interfaces:
Configurable
Direct Known Subclasses:
PartitionActiveListFactory, SimpleActiveListFactory, SortingActiveListFactory, WordActiveListFactory

public abstract class ActiveListFactory
extends java.lang.Object
implements Configurable

Creates new active lists.


Field Summary
static java.lang.String PROP_ABSOLUTE_BEAM_WIDTH
          property that sets the desired (or target) size for this active list.
static java.lang.String PROP_LOG_MATH
          Sphinx property that defines the name of the logmath to be used by this search manager.
static java.lang.String PROP_RELATIVE_BEAM_WIDTH
          Property that sets the minimum score relative to the maximum score in the list for pruning.
static java.lang.String PROP_STRICT_PRUNING
          Property that indicates whether or not the active list will implement 'strict pruning'.
 
Constructor Summary
ActiveListFactory()
           
 
Method Summary
abstract  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_LOG_MATH

@S4Component(type=LogMath.class)
public static final java.lang.String PROP_LOG_MATH
Sphinx property that defines the name of the logmath to be used by this search manager.

See Also:
Constant Field Values

PROP_ABSOLUTE_BEAM_WIDTH

@S4Integer(defaultValue=-1)
public static final java.lang.String PROP_ABSOLUTE_BEAM_WIDTH
property that sets the desired (or target) size for this active list. This is sometimes referred to as the beam size

See Also:
Constant Field Values

PROP_RELATIVE_BEAM_WIDTH

@S4Double(defaultValue=1.0E-80)
public static final java.lang.String PROP_RELATIVE_BEAM_WIDTH
Property that sets the minimum score relative to the maximum score in the list for pruning. Tokens with a score less than relativeBeamWidth * maximumScore will be pruned from the list

See Also:
Constant Field Values

PROP_STRICT_PRUNING

@S4Boolean(defaultValue=true)
public static final java.lang.String PROP_STRICT_PRUNING
Property that indicates whether or not the active list will implement 'strict pruning'. When strict pruning is enabled, the active list will not remove tokens from the active list until they have been completely scored. If strict pruning is not enabled, tokens can be removed from the active list based upon their entry scores. The default setting is false (disabled).

See Also:
Constant Field Values
Constructor Detail

ActiveListFactory

public ActiveListFactory()
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
Parameters:
ps - a property sheet holding the new data
Throws:
PropertyException - if there is a problem with the properties.

newInstance

public abstract ActiveList newInstance()
Creates a new active list of a particular type

Returns:
the active list