public class SentenceHMMStateArc extends java.lang.Object implements SearchStateArc
All probabilities are in the LogMath log domain
| Constructor and Description |
|---|
SentenceHMMStateArc(SentenceHMMState nextState,
float logLanguageProbability,
float logInsertionProbability)
Creates a SentenceHMMStateArc
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Determines if the given object is equal to this object
|
float |
getInsertionProbability()
Retrieves the insertion 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
|
public SentenceHMMStateArc(SentenceHMMState nextState, float logLanguageProbability, float logInsertionProbability)
nextState - the next statelogLanguageProbability - the log language probabilitylogInsertionProbability - the log insertion probabilitypublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the object to compare totrue if the objects are equalpublic int hashCode()
hashCode in class java.lang.Objectpublic SearchState getState()
getState in interface SearchStateArcpublic SentenceHMMState getNextState()
Returns the next state as a SentenceHMSMtate
public float getLanguageProbability()
getLanguageProbability in interface SearchStateArcpublic float getInsertionProbability()
getInsertionProbability in interface SearchStateArcpublic float getProbability()
getProbability in interface SearchStateArc