|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TokenStack
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 |
---|
Token add(Token token)
boolean isInsertable(float score, int frameNumber)
score
- the score the check
int getCapacity()
void clear()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |