|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.linguist.lextree.LexTreeLinguist.LexTreeState
edu.cmu.sphinx.linguist.lextree.LexTreeLinguist.LexTreeWordState
Represents a word state in the search space
Method Summary | |
boolean |
equals(java.lang.Object o)
Determines if the given object is equal to this object |
float |
getAcousticProbability()
Gets the language probability of entering this state |
float |
getInsertionProbability()
Gets the insertion probability of entering this state |
float |
getLanguageProbability()
Gets the language probability of entering this state |
java.lang.Object |
getLexState()
Returns the lex tree state |
int |
getOrder()
Returns the order of this particular state |
float |
getProbability()
Gets the composite probability of entering this state |
Pronunciation |
getPronunciation()
Gets the word pronunciation for this state |
java.lang.String |
getSignature()
Gets the unique signature for this state. |
float |
getSmearProb()
|
float |
getSmearTerm()
|
SearchState |
getState()
Gets a successor to this search state |
SearchStateArc[] |
getSuccessors()
Returns the list of successors to this state |
WordSequence |
getWordHistory()
Returns the word sequence for this state |
int |
hashCode()
Generate a hashcode for an object |
boolean |
isEmitting()
Determines if this is an emitting state |
boolean |
isFinal()
Determines if this is a final state |
boolean |
isWordStart()
Returns true if this LexTreeWordState indicates the start of a word. |
java.lang.String |
toPrettyString()
Returns a pretty version of the string representation for this object |
java.lang.String |
toString()
Returns the string representation of this object |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.cmu.sphinx.linguist.SearchState |
getLexState, getWordHistory, isEmitting, toPrettyString |
Method Detail |
public Pronunciation getPronunciation()
getPronunciation
in interface WordSearchState
public boolean isFinal()
isFinal
in interface SearchState
true
if this is an final state.public int hashCode()
public java.lang.String getSignature()
getSignature
in interface SearchState
public boolean equals(java.lang.Object o)
o
- the object to test
true
if the object is equal to thispublic float getLanguageProbability()
getLanguageProbability
in interface SearchStateArc
public SearchStateArc[] getSuccessors()
getSuccessors
in interface SearchState
public int getOrder()
SearchState
getOrder
in interface SearchState
public boolean isWordStart()
isWordStart
in interface WordSearchState
public float getSmearTerm()
public float getSmearProb()
public SearchState getState()
getState
in interface SearchStateArc
public float getProbability()
getProbability
in interface SearchStateArc
public float getAcousticProbability()
getAcousticProbability
in interface SearchStateArc
public float getInsertionProbability()
getInsertionProbability
in interface SearchStateArc
public boolean isEmitting()
isEmitting
in interface SearchState
true
if this is an emitting state.public WordSequence getWordHistory()
getWordHistory
in interface SearchState
public java.lang.Object getLexState()
SearchState
getLexState
in interface SearchState
public java.lang.String toString()
public java.lang.String toPrettyString()
toPrettyString
in interface SearchState
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |