|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.linguist.flat.SentenceHMMStateArc
Represents a transition in a sentence HMM. Each transition is described by the next state and the associated acoustic and language probability for the transition. All probabilities are in the LogMath log domain
Constructor Summary | |
SentenceHMMStateArc(SentenceHMMState nextState,
float logAcousticProbability,
float logLanguageProbability,
float logInsertionProbability)
Creates a SentenceHMMStateArc |
Method Summary | |
boolean |
equals(java.lang.Object o)
Determines if the given object is equal to this object |
float |
getAcousticProbability()
Retrieves the acoustic transition probablility for this transition. |
float |
getInsertionProbability()
Retrieves the insertaion probability for this transition |
float |
getLanguageProbability()
Retrieves the language transition probability for this transition |
SentenceHMMState |
getNextState()
For backwards compatibility Returns the next state as a SentenceHMSMtate |
float |
getProbability()
Gets the composite probability of entering this state |
SearchState |
getState()
Retrieves the next state |
int |
hashCode()
Returns a hashCode for this object |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SentenceHMMStateArc(SentenceHMMState nextState, float logAcousticProbability, float logLanguageProbability, float logInsertionProbability)
nextState
- the next statelogAcousticProbability
- the log acoustic probabilitylogLanguageProbability
- the log language probabilitylogInsertionProbability
- the log insertion probabilityMethod Detail |
public boolean equals(java.lang.Object o)
o
- the object to compare to
true
if the objects are equalpublic int hashCode()
public SearchState getState()
getState
in interface SearchStateArc
public SentenceHMMState getNextState()
public float getAcousticProbability()
getAcousticProbability
in interface SearchStateArc
public float getLanguageProbability()
getLanguageProbability
in interface SearchStateArc
public float getInsertionProbability()
getInsertionProbability
in interface SearchStateArc
public float getProbability()
getProbability
in interface SearchStateArc
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |