|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An active list is maintained as a sorted list
Field Summary | |
static java.lang.String |
PROP_ABSOLUTE_WORD_BEAM_WIDTH
Sphinx4 property that specifies the absolute word beam width |
static int |
PROP_ABSOLUTE_WORD_BEAM_WIDTH_DEFAULT
Sphinx4 property that specifies the default value for the absolute word beam width |
static java.lang.String |
PROP_RELATIVE_WORD_BEAM_WIDTH
Sphinx4 property that specifies the relative word beam width |
static float |
PROP_RELATIVE_WORD_BEAM_WIDTH_DEFAULT
Sphinx4 property that specifies the default value for the relative word beam width |
Method Summary | |
void |
add(Token token)
Adds the given token to the list |
void |
dump()
Dumps out debug info for the active list manager |
ActiveList |
getEmittingList()
Returns the emitting ActiveList, and removes it from this manager. |
java.util.Iterator |
getNonEmittingListIterator()
Returns an Iterator of all the non-emitting ActiveLists. |
void |
replace(Token oldToken,
Token newToken)
Replaces an old token with a new token |
void |
setNumStateOrder(int numStateOrder)
Sets the total number of state types to be managed |
Methods inherited from interface edu.cmu.sphinx.util.props.Configurable |
getName, newProperties, register |
Field Detail |
public static final java.lang.String PROP_ABSOLUTE_WORD_BEAM_WIDTH
public static final int PROP_ABSOLUTE_WORD_BEAM_WIDTH_DEFAULT
public static final java.lang.String PROP_RELATIVE_WORD_BEAM_WIDTH
public static final float PROP_RELATIVE_WORD_BEAM_WIDTH_DEFAULT
Method Detail |
public void add(Token token)
token
- the token to addpublic void replace(Token oldToken, Token newToken)
oldToken
- the token to replace (or null in which case,
replace works like add).newToken
- the new token to be placed in the list.public java.util.Iterator getNonEmittingListIterator()
public ActiveList getEmittingList()
public void dump()
public void setNumStateOrder(int numStateOrder)
numStateOrder
- the total number of state types
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |