public class PronunciationState extends SentenceHMMState implements WordSearchState
SentenceHMMState.Color| Constructor and Description |
|---|
PronunciationState(java.lang.String name,
Pronunciation p,
int which)
Creates a PronunciationState
|
PronunciationState(WordState parent,
int which)
Creates a PronunciationState
|
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder()
Returns the state order for this state type
|
Pronunciation |
getPronunciation()
Gets the pronunciation associated with this state
|
java.lang.String |
getTypeLabel()
Retrieves a short label describing the type of this state.
|
boolean |
isWordStart()
Returns true if this PronunciationState indicates the start of a word.
|
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, resetAllProcessed, setColor, setFanIn, setFinalState, setProcessed, setSharedState, setWhich, setWordStart, toPrettyString, toString, validateAll, visitStatesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLexState, getSignature, getSuccessors, getWordHistory, isEmitting, isFinal, toPrettyStringpublic PronunciationState(WordState parent, int which)
parent - the parent word of the current pronunciationwhich - the pronunciation of interestpublic PronunciationState(java.lang.String name,
Pronunciation p,
int which)
name - the name of the pronunciation associated with this statep - the pronunciationwhich - the index for the pronunciationpublic Pronunciation getPronunciation()
getPronunciation in interface WordSearchStatepublic java.lang.String getTypeLabel()
getTypeLabel in class SentenceHMMStatepublic int getOrder()
getOrder in interface SearchStategetOrder in class SentenceHMMStatepublic boolean isWordStart()
isWordStart in interface WordSearchStateisWordStart in class SentenceHMMState