edu.cmu.sphinx.linguist.language.grammar
Class BatchForcedAlignerGrammar

java.lang.Object
  extended by edu.cmu.sphinx.linguist.language.grammar.Grammar
      extended by edu.cmu.sphinx.linguist.language.grammar.ForcedAlignerGrammar
          extended by edu.cmu.sphinx.linguist.language.grammar.BatchForcedAlignerGrammar
All Implemented Interfaces:
GrammarInterface, Configurable

public class BatchForcedAlignerGrammar
extends ForcedAlignerGrammar
implements GrammarInterface

Copyright 1999-2006 Carnegie Mellon University. Portions Copyright 2002 Sun Microsystems, Inc. Portions Copyright 2002 Mitsubishi Electric Research Laboratories. All Rights Reserved. Use is subject to license terms.

See the file "license.terms" for information on usage and redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.

User: Peter Wolf Date: Jan 10, 2006 Time: 9:42:36 AM


Field Summary
static java.lang.String PROP_REF_FILE
          Property that defines the reference file containing the transcripts used to create the froced align grammar
 
Fields inherited from class edu.cmu.sphinx.linguist.language.grammar.Grammar
PROP_ADD_FILLER_WORDS, PROP_ADD_SIL_WORDS, PROP_DICTIONARY, PROP_OPTIMIZE_GRAMMAR, PROP_SHOW_GRAMMAR
 
Constructor Summary
BatchForcedAlignerGrammar()
           
 
Method Summary
 GrammarNode getInitialNode()
          Returns the initial node for the grammar
 void newProperties(PropertySheet ps)
          This method is called when this configurable component needs to be reconfigured.
 void setUtterance(java.lang.String utteranceName)
           
 
Methods inherited from class edu.cmu.sphinx.linguist.language.grammar.Grammar
allocate, deallocate, dumpGrammar, dumpRandomSentences, dumpRandomSentences, dumpStatistics, getDictionary, getGrammarNodes, getNumNodes, getRandomSentence
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.cmu.sphinx.linguist.language.grammar.GrammarInterface
getGrammarNodes
 

Field Detail

PROP_REF_FILE

@S4String(defaultValue="")
public static final java.lang.String PROP_REF_FILE
Property that defines the reference file containing the transcripts used to create the froced align grammar

See Also:
Constant Field Values
Constructor Detail

BatchForcedAlignerGrammar

public BatchForcedAlignerGrammar()
Method Detail

newProperties

public void newProperties(PropertySheet ps)
                   throws PropertyException
Description copied from interface: Configurable
This method is called when this configurable component needs to be reconfigured.

Specified by:
newProperties in interface Configurable
Overrides:
newProperties in class Grammar
Parameters:
ps - a property sheet holding the new data
Throws:
PropertyException - if there is a problem with the properties.

getInitialNode

public GrammarNode getInitialNode()
Description copied from class: Grammar
Returns the initial node for the grammar

Specified by:
getInitialNode in interface GrammarInterface
Overrides:
getInitialNode in class Grammar
Returns:
the initial grammar node

setUtterance

public void setUtterance(java.lang.String utteranceName)