| Constructor and Description |
|---|
JSGFGrammar(java.lang.String location,
java.lang.String grammarName,
boolean showGrammar,
boolean optimizeGrammar,
boolean addSilenceWords,
boolean addFillerWords,
Dictionary dictionary) |
JSGFGrammar(java.net.URL baseURL,
java.lang.String grammarName,
boolean showGrammar,
boolean optimizeGrammar,
boolean addSilenceWords,
boolean addFillerWords,
Dictionary dictionary) |
| Modifier and Type | Method and Description |
|---|---|
static WordSequence |
WordSequence.asWordSequence(Dictionary dictionary,
java.lang.String... words) |
| Modifier and Type | Class and Description |
|---|---|
class |
MappingDictionary
Maps the phones from one phoneset to another to use dictionary from the one
acoustic mode with another one.
|
class |
TextDictionary
Creates a dictionary by quickly reading in an ASCII-based Sphinx-3 format
dictionary.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ClassPresentingDictionary
The only purpose of this class is to present all classes
as words in the getWord() method.
|
| Constructor and Description |
|---|
ClassPresentingDictionary(ClassMap classMap,
Dictionary wordDictionary) |
| Modifier and Type | Field and Description |
|---|---|
protected Dictionary |
Grammar.dictionary |
| Modifier and Type | Method and Description |
|---|---|
Dictionary |
Grammar.getDictionary()
Gets the dictionary for this grammar
|
| Constructor and Description |
|---|
AlignerGrammar(boolean showGrammar,
boolean optimizeGrammar,
boolean addSilenceWords,
boolean addFillerWords,
Dictionary dictionary) |
BatchForcedAlignerGrammar(java.lang.String refFile,
boolean showGrammar,
boolean optimizeGrammar,
boolean addSilenceWords,
boolean addFillerWords,
Dictionary dictionary) |
ForcedAlignerGrammar(boolean showGrammar,
boolean optimizeGrammar,
boolean addSilenceWords,
boolean addFillerWords,
Dictionary dictionary) |
FSTGrammar(java.lang.String path,
boolean showGrammar,
boolean optimizeGrammar,
boolean addSilenceWords,
boolean addFillerWords,
Dictionary dictionary) |
Grammar(boolean showGrammar,
boolean optimizeGrammar,
boolean addSilenceWords,
boolean addFillerWords,
Dictionary dictionary) |
LatticeGrammar(Lattice lattice,
boolean showGrammar,
boolean optimizeGrammar,
boolean addSilenceWords,
boolean addFillerWords,
Dictionary dictionary) |
LMGrammar(LanguageModel languageModel,
boolean showGrammar,
boolean optimizeGrammar,
boolean addSilenceWords,
boolean addFillerWords,
Dictionary dictionary) |
SimpleWordListGrammar(java.lang.String path,
boolean isLooping,
boolean showGrammar,
boolean optimizeGrammar,
boolean addSilenceWords,
boolean addFillerWords,
Dictionary dictionary) |
| Constructor and Description |
|---|
DynamicTrigramModel(Dictionary dictionary) |
SimpleNGramModel(java.lang.String location,
Dictionary dictionary,
float unigramWeight,
int desiredMaxDepth) |
SimpleNGramModel(java.net.URL urlLocation,
Dictionary dictionary,
float unigramWeight,
int desiredMaxDepth) |
| Modifier and Type | Field and Description |
|---|---|
protected Dictionary |
LargeNGramModel.dictionary |
| Constructor and Description |
|---|
LargeNGramModel(java.lang.String format,
java.net.URL location,
java.lang.String ngramLogFile,
int maxNGramCacheSize,
boolean clearCacheAfterUtterance,
int maxDepth,
Dictionary dictionary,
boolean applyLanguageWeightAndWip,
float languageWeight,
double wip,
float unigramWeight,
boolean fullSmear) |
LargeTrigramModel(java.lang.String format,
java.net.URL urlLocation,
java.lang.String ngramLogFile,
int maxTrigramCacheSize,
int maxBigramCacheSize,
boolean clearCacheAfterUtterance,
int maxDepth,
Dictionary dictionary,
boolean applyLanguageWeightAndWip,
float languageWeight,
double wip,
float unigramWeight,
boolean fullSmear) |
| Modifier and Type | Field and Description |
|---|---|
protected Dictionary |
NgramTrieModel.dictionary |
| Constructor and Description |
|---|
NgramTrieModel(java.lang.String format,
java.net.URL location,
java.lang.String ngramLogFile,
int maxNGramCacheSize,
boolean clearCacheAfterUtterance,
int maxDepth,
Dictionary dictionary,
boolean applyLanguageWeightAndWip,
float languageWeight,
double wip,
float unigramWeight) |
| Modifier and Type | Method and Description |
|---|---|
Dictionary |
LexTreeLinguist.getDictionary() |
| Constructor and Description |
|---|
LexTreeLinguist(AcousticModel acousticModel,
UnitManager unitManager,
LanguageModel languageModel,
Dictionary dictionary,
boolean fullWordHistories,
boolean wantUnigramSmear,
double wordInsertionProbability,
double silenceInsertionProbability,
double fillerInsertionProbability,
double unitInsertionProbability,
float languageWeight,
boolean addFillerWords,
boolean generateUnitStates,
float unigramSmearWeight,
int maxArcCacheSize) |
| Modifier and Type | Method and Description |
|---|---|
static Lattice |
GDLLatticeFactory.getLattice(java.lang.String gdlFile,
Dictionary dictionary)
Create a Lattice from a GDL (AISee) Lattice file.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TrainerDictionary
Dummy trainer dictionary.
|
| Modifier and Type | Method and Description |
|---|---|
Dictionary |
Transcript.getDictionary() |
Dictionary |
SimpleTranscript.getDictionary()
Gets the transcript's dictionary.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Utterance.add(java.lang.String transcript,
Dictionary dictionary,
boolean isExact,
java.lang.String wordSeparator)
Add transcript with dictionary and exact flag.
|
void |
SimpleUtterance.add(java.lang.String transcript,
Dictionary dictionary,
boolean isExact,
java.lang.String wordSeparator)
Add transcript with dictionary and exact flag.
|
void |
SimpleTranscript.initialize(Dictionary dictionary,
boolean isExact)
Initializes the SimpleTranscript with dictionary and exact flag.
|
| Constructor and Description |
|---|
SimpleTranscript(Dictionary dictionary,
boolean isExact)
Constructor for the SimpleTranscript.
|
SimpleTranscript(java.lang.String transcript,
Dictionary dictionary,
boolean isExact)
Constructor for the SimpleTranscript.
|
SimpleTranscript(java.lang.String transcript,
Dictionary dictionary,
boolean isExact,
java.lang.String wordSeparator)
Constructor for the SimpleTranscript.
|