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 SearchGraph
public int getNumStateOrder()
getNumStateOrder
in interface SearchGraph
public boolean getWordTokenFirst()
getWordTokenFirst
in interface SearchGraph
protected 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)