|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cmu.sphinx.linguist.language.grammar.Grammar
edu.cmu.sphinx.linguist.language.grammar.ForcedAlignerGrammar
public class ForcedAlignerGrammar
Creates a grammar from a reference sentence. It is a constrained grammar that represents the sentence only.
Note that all grammar probabilities are maintained in the LogMath log base
| Field Summary |
|---|
| 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 | |
|---|---|
ForcedAlignerGrammar()
|
|
ForcedAlignerGrammar(boolean showGrammar,
boolean optimizeGrammar,
boolean addSilenceWords,
boolean addFillerWords,
Dictionary dictionary)
|
|
| Method Summary |
|---|
| Methods inherited from class edu.cmu.sphinx.linguist.language.grammar.Grammar |
|---|
allocate, deallocate, dumpGrammar, dumpRandomSentences, dumpRandomSentences, dumpStatistics, getDictionary, getGrammarNodes, getInitialNode, getNumNodes, getRandomSentence, newProperties |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ForcedAlignerGrammar(boolean showGrammar,
boolean optimizeGrammar,
boolean addSilenceWords,
boolean addFillerWords,
Dictionary dictionary)
public ForcedAlignerGrammar()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||