public class AlternativeState extends SentenceHMMState implements java.io.Serializable
SentenceHMMState.Color
Constructor and Description |
---|
AlternativeState(GrammarState parent,
int which)
Creates a WordState
|
Modifier and Type | Method and Description |
---|---|
Word[] |
getAlternative()
Gets the word associated with this state
|
int |
getOrder()
Returns the state order for this state type
|
java.lang.String |
getTypeLabel()
Retrieves a short label describing the type of this state.
|
collectStates, connect, dumpAll, findArc, getAnnotation, getAssociatedWord, getColor, getFullName, getLexState, getName, getNumSuccessors, getParent, getPrettyName, getSignature, getSuccessors, getTitle, getValueSignature, getWhich, getWordHistory, isEmitting, isFanIn, isFinal, isProcessed, isSharedState, isUnit, isWordStart, resetAllProcessed, setColor, setFanIn, setFinalState, setProcessed, setSharedState, setWhich, setWordStart, toPrettyString, toString, validateAll, visitStates
public AlternativeState(GrammarState parent, int which)
parent
- parent itemwhich
- state numberpublic Word[] getAlternative()
public java.lang.String getTypeLabel()
getTypeLabel
in class SentenceHMMState
public int getOrder()
getOrder
in interface SearchState
getOrder
in class SentenceHMMState