public class HMMStateState extends SentenceHMMState implements java.io.Serializable, HMMSearchState, ScoreProvider
SentenceHMMState.Color
Constructor and Description |
---|
HMMStateState(SentenceHMMState parent,
HMMState hmmState)
Creates a HMMStateState
|
Modifier and Type | Method and Description |
---|---|
float[] |
getComponentScore(Data feature)
Provides component score
|
HMMState |
getHMMState()
Gets the hmmState associated with this state
|
int |
getOrder()
Returns the state order for this state type
|
float |
getScore(Data feature)
Calculate the acoustic score for this state
|
java.lang.String |
getTypeLabel()
Retrieves a short label describing the type of this state.
|
boolean |
isEmitting()
Determines if this state is an emitting state
|
collectStates, connect, dumpAll, findArc, getAnnotation, getAssociatedWord, getColor, getFullName, getLexState, getName, getNumSuccessors, getParent, getPrettyName, getSignature, getSuccessors, getTitle, getValueSignature, getWhich, getWordHistory, isFanIn, isFinal, isProcessed, isSharedState, isUnit, isWordStart, resetAllProcessed, setColor, setFanIn, setFinalState, setProcessed, setSharedState, setWhich, setWordStart, toPrettyString, toString, validateAll, visitStates
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLexState, getSignature, getSuccessors, getWordHistory, isFinal, toPrettyString
public HMMStateState(SentenceHMMState parent, HMMState hmmState)
parent
- the parent of this statehmmState
- the hmmState associated with this statepublic HMMState getHMMState()
getHMMState
in interface HMMSearchState
public boolean isEmitting()
isEmitting
in interface SearchState
isEmitting
in class SentenceHMMState
public java.lang.String getTypeLabel()
getTypeLabel
in class SentenceHMMState
public float getScore(Data feature)
getScore
in interface ScoreProvider
feature
- data to scorepublic int getOrder()
getOrder
in interface SearchState
getOrder
in class SentenceHMMState
public float[] getComponentScore(Data feature)
ScoreProvider
getComponentScore
in interface ScoreProvider
feature
- data to score