protected class CIPhoneLoop.PhoneLoopSearchGraph extends java.lang.Object implements SearchGraph
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,SearchState> |
existingStates |
protected SentenceHMMState |
firstState |
| Constructor and Description |
|---|
PhoneLoopSearchGraph()
Constructs a phone loop search graph.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addStateToCache(SentenceHMMState state)
Adds the given state to the cache of states
|
protected void |
attachState(SentenceHMMState prevState,
SentenceHMMState nextState,
float logLanguageProbability,
float logInsertionProbability) |
protected HMMStateState |
expandHMMTree(UnitState parent,
HMMStateState tree)
Expands the given hmm state tree
|
SearchState |
getInitialState()
Retrieves initial search state
|
int |
getNumStateOrder()
Returns the number of different state types maintained in the search graph
|
boolean |
getWordTokenFirst() |
protected final java.util.Map<java.lang.String,SearchState> existingStates
protected final SentenceHMMState firstState
public PhoneLoopSearchGraph()
public SearchState getInitialState()
getInitialState in interface SearchGraphpublic int getNumStateOrder()
getNumStateOrder in interface SearchGraphpublic boolean getWordTokenFirst()
getWordTokenFirst in interface SearchGraphprotected void addStateToCache(SentenceHMMState state)
state - the state to addprotected HMMStateState expandHMMTree(UnitState parent, HMMStateState tree)
parent - the parent of the treetree - the tree to expandprotected void attachState(SentenceHMMState prevState, SentenceHMMState nextState, float logLanguageProbability, float logInsertionProbability)