public class GrammarState extends SentenceHMMState
SentenceHMMState.Color
Constructor and Description |
---|
GrammarState(GrammarNode node)
Creates a GrammarState
|
Modifier and Type | Method and Description |
---|---|
GrammarNode |
getGrammarNode()
Gets the grammar node 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 GrammarState(GrammarNode node)
node
- the GrammarNode associated with this statepublic GrammarNode getGrammarNode()
public java.lang.String getTypeLabel()
getTypeLabel
in class SentenceHMMState
public int getOrder()
getOrder
in interface SearchState
getOrder
in class SentenceHMMState