public class PhoneNonEmittingSearchState extends java.lang.Object implements SearchState, SearchStateArc
| Modifier and Type | Field and Description |
|---|---|
protected AllphoneLinguist |
linguist |
protected Unit |
unit |
| Constructor and Description |
|---|
PhoneNonEmittingSearchState(Unit unit,
AllphoneLinguist linguist,
float insertionProb,
float languageProb) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
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
|
java.lang.String |
getSignature()
Returns a unique signature for this state
|
SearchState |
getState()
Gets a successor to this search state
|
SearchStateArc[] |
getSuccessors()
Gets a successor to this search state
|
WordSequence |
getWordHistory()
Gets the word history for this state
|
int |
hashCode() |
boolean |
isEmitting()
Determines if this is an emitting state
|
boolean |
isFinal()
Determines if this is a final state
|
java.lang.String |
toPrettyString()
Returns a pretty version of the string representation for this object
|
protected Unit unit
protected AllphoneLinguist linguist
public PhoneNonEmittingSearchState(Unit unit, AllphoneLinguist linguist, float insertionProb, float languageProb)
public SearchStateArc[] getSuccessors()
SearchStategetSuccessors in interface SearchStatepublic boolean isEmitting()
SearchStateisEmitting in interface SearchStatetrue if the state is an emitting statepublic boolean isFinal()
SearchStateisFinal in interface SearchStatetrue if the state is a final statepublic java.lang.String toPrettyString()
SearchStatetoPrettyString in interface SearchStatepublic java.lang.String getSignature()
SearchStategetSignature in interface SearchStatepublic WordSequence getWordHistory()
SearchStategetWordHistory in interface SearchStatepublic int getOrder()
SearchStategetOrder in interface SearchStatepublic SearchState getState()
SearchStateArcgetState in interface SearchStateArcpublic float getProbability()
SearchStateArcgetProbability in interface SearchStateArcpublic float getLanguageProbability()
SearchStateArcgetLanguageProbability in interface SearchStateArcpublic float getInsertionProbability()
SearchStateArcgetInsertionProbability in interface SearchStateArcpublic java.lang.Object getLexState()
SearchStategetLexState in interface SearchStatepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object