|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.linguist.flat.SentenceHMMState
edu.cmu.sphinx.linguist.flat.PronunciationState
Represents a pronunciation in an SentenceHMMS
Constructor Summary | |
PronunciationState(java.lang.String name,
Pronunciation p,
int which)
Creates a PronunciationState |
|
PronunciationState(WordState parent,
int which)
Creates a PronunciationState |
Method Summary | |
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. |
Methods inherited from class edu.cmu.sphinx.linguist.flat.SentenceHMMState |
collectStates, connect, dumpAll, findArc, 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, visitStates |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.cmu.sphinx.linguist.SearchState |
getLexState, getSignature, getSuccessors, getWordHistory, isEmitting, isFinal, toPrettyString |
Constructor Detail |
public 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 pronunciationMethod Detail |
public Pronunciation getPronunciation()
getPronunciation
in interface WordSearchState
public java.lang.String getTypeLabel()
getTypeLabel
in class SentenceHMMState
public int getOrder()
getOrder
in interface SearchState
getOrder
in class SentenceHMMState
public boolean isWordStart()
isWordStart
in interface WordSearchState
isWordStart
in class SentenceHMMState
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |