|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ActiveListManager
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 |
|---|
newProperties |
| Field Detail |
|---|
@S4Integer(defaultValue=2000) static final java.lang.String PROP_ABSOLUTE_WORD_BEAM_WIDTH
static final int PROP_ABSOLUTE_WORD_BEAM_WIDTH_DEFAULT
@S4Double(defaultValue=0.0) static final java.lang.String PROP_RELATIVE_WORD_BEAM_WIDTH
static final float PROP_RELATIVE_WORD_BEAM_WIDTH_DEFAULT
| Method Detail |
|---|
void add(Token token)
token - the token to add
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.java.util.Iterator getNonEmittingListIterator()
ActiveList getEmittingList()
void dump()
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 | ||||||||