|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.decoder.search.WordActiveListFactory
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_LOG_MATH
Sphinx property that defines the name of the logmath to be used by this search manager. |
static java.lang.String |
PROP_MAX_FILLER_WORDS
property that sets the max filler words allowed in the beam. |
static int |
PROP_MAX_FILLER_WORDS_DEFAULT
The default value for the PROP_MAX_FILLER_WORDS property |
static java.lang.String |
PROP_MAX_PATHS_PER_WORD
property that sets the max paths for a single word. |
static int |
PROP_MAX_PATHS_PER_WORD_DEFAULT
The default value for the PROP_MAX_PATHS_PER_WORD property |
Fields inherited from interface edu.cmu.sphinx.decoder.search.ActiveListFactory |
PROP_ABSOLUTE_BEAM_WIDTH, PROP_ABSOLUTE_BEAM_WIDTH_DEFAULT, PROP_RELATIVE_BEAM_WIDTH, PROP_RELATIVE_BEAM_WIDTH_DEFAULT, PROP_STRICT_PRUNING, PROP_STRICT_PRUNING_DEFAULT |
Constructor Summary | |
WordActiveListFactory()
|
Method Summary | |
java.lang.String |
getName()
Retrieves the name for this configurable component |
ActiveList |
newInstance()
Creates a new active list of a particular type |
void |
newProperties(PropertySheet ps)
This method is called when this configurable component has new data. |
void |
register(java.lang.String name,
Registry registry)
Register my properties. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String PROP_LOG_MATH
public static final java.lang.String PROP_MAX_PATHS_PER_WORD
public static final int PROP_MAX_PATHS_PER_WORD_DEFAULT
public static final java.lang.String PROP_MAX_FILLER_WORDS
public static final int PROP_MAX_FILLER_WORDS_DEFAULT
Constructor Detail |
public WordActiveListFactory()
Method Detail |
public void register(java.lang.String name, Registry registry) throws PropertyException
Configurable
register
in interface Configurable
name
- the name of the componentregistry
- the registry for this component
PropertyException
public void newProperties(PropertySheet ps) throws PropertyException
Configurable
newProperties
in interface Configurable
ps
- a property sheet holding the new data
PropertyException
- if there is a problem with the properties.public java.lang.String getName()
Configurable
getName
in interface Configurable
public ActiveList newInstance()
ActiveListFactory
newInstance
in interface ActiveListFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |