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, visitStatesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLexState, getSignature, getSuccessors, getWordHistory, isFinal, toPrettyStringpublic HMMStateState(SentenceHMMState parent, HMMState hmmState)
parent - the parent of this statehmmState - the hmmState associated with this statepublic HMMState getHMMState()
getHMMState in interface HMMSearchStatepublic boolean isEmitting()
isEmitting in interface SearchStateisEmitting in class SentenceHMMStatepublic java.lang.String getTypeLabel()
getTypeLabel in class SentenceHMMStatepublic float getScore(Data feature)
getScore in interface ScoreProviderfeature - data to scorepublic int getOrder()
getOrder in interface SearchStategetOrder in class SentenceHMMStatepublic float[] getComponentScore(Data feature)
ScoreProvidergetComponentScore in interface ScoreProviderfeature - data to score