edu.cmu.sphinx.linguist.dflat
Class OutOfGrammarGraph

java.lang.Object
  extended byedu.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
 
Method Summary
 SearchStateArc getOutOfGrammarGraph()
          Returns an arc to this out-of-grammar graph
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutOfGrammarGraph

public OutOfGrammarGraph(AcousticModel model,
                         float logOutOfGrammarBranchProbability,
                         float logPhoneInsertionProbability)
Creates an OutOfGrammarGraph

Parameters:
model - the acoustic model
logOutOfGrammarBranchProbability - probability of branching to this graph
logPhoneInsertionProbability - probability of inserting a phone
Method Detail

getOutOfGrammarGraph

public SearchStateArc getOutOfGrammarGraph()
Returns an arc to this out-of-grammar graph

Returns:
an arc to the graph