edu.cmu.sphinx.linguist.flat
Class CIPhoneLoop
java.lang.Object
edu.cmu.sphinx.linguist.flat.CIPhoneLoop
- public class CIPhoneLoop
- extends java.lang.Object
Constructs a loop of all the context-independent phones.
This loop is used in the static flat linguist for detecting
out-of-grammar utterances. A 'phoneInsertionProbability' will be added
to the score each time a new phone is entered. To obtain the all-phone
search graph loop, simply called the method
getSearchGraph
.
Constructor Summary |
CIPhoneLoop(AcousticModel model,
float logPhoneInsertionProbability)
Creates the CIPhoneLoop with the given acoustic model
and phone insertion probability |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CIPhoneLoop
public CIPhoneLoop(AcousticModel model,
float logPhoneInsertionProbability)
- Creates the CIPhoneLoop with the given acoustic model
and phone insertion probability
- Parameters:
model
- the acoustic modellogPhoneInsertionProbability
- the insertion probability
getSearchGraph
public SearchGraph getSearchGraph()
- Creates a new loop of all the context-independent phones.
- Returns:
- the phone loop search graph