|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A stack of tokens at a SentenceHMMState, allowing more than one path through the state.
Method Summary | |
Token |
add(Token token)
Adds the given Token to this TokenStack. |
void |
clear()
Removes all of the Tokens from this TokenStack |
int |
getCapacity()
Returns the capacity of this TokenStack, that is, the maximum number of elements allowed in this TokenStack. |
boolean |
isInsertable(float score,
int frameNumber)
Returns true if the given score is higher than the lowest scoring token in this TokenStack. |
Method Detail |
public Token add(Token token)
public boolean isInsertable(float score, int frameNumber)
score
- the score the check
public int getCapacity()
public void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |