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