public class BranchState extends SentenceHMMState
SentenceHMMState.Color
Constructor and Description |
---|
BranchState(java.lang.String leftContext,
java.lang.String rightContext,
int nodeID)
Creates a branch state
|
Modifier and Type | Method and Description |
---|---|
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 BranchState(java.lang.String leftContext, java.lang.String rightContext, int nodeID)
leftContext
- left contextrightContext
- right contextnodeID
- the grammar node idpublic java.lang.String getTypeLabel()
getTypeLabel
in class SentenceHMMState
public int getOrder()
getOrder
in interface SearchState
getOrder
in class SentenceHMMState