edu.cmu.sphinx.linguist.dflat
Class OutOfGrammarGraph
java.lang.Object
edu.cmu.sphinx.linguist.dflat.OutOfGrammarGraph
public class OutOfGrammarGraph
- extends java.lang.Object
Builds a grammar sub-graph that matches all phones. This is suitable for use as an out-of-grammar detector
|
Constructor Summary |
OutOfGrammarGraph(AcousticModel model,
float logOutOfGrammarBranchProbability,
float logPhoneInsertionProbability)
Creates an OutOfGrammarGraph |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutOfGrammarGraph
public OutOfGrammarGraph(AcousticModel model,
float logOutOfGrammarBranchProbability,
float logPhoneInsertionProbability)
- Creates an OutOfGrammarGraph
- Parameters:
model - the acoustic model
probability of branching to this graphlogPhoneInsertionProbability - probability of inserting a phone
getOutOfGrammarGraph
public SearchStateArc getOutOfGrammarGraph()
- Returns an arc to this out-of-grammar graph
- Returns:
- an arc to the graph