|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.cmu.sphinx.linguist.dictionary.FullDictionary
inpro.sphinx.linguist.dictionary.SyllableAwareFullDictionary
public class SyllableAwareFullDictionary
| Field Summary | |
|---|---|
static java.lang.String |
SYLLABLE_BOUNDARY_SYMBOL
|
| Fields inherited from class edu.cmu.sphinx.linguist.dictionary.FullDictionary |
|---|
addSilEndingPronunciation, allowMissingWords, wordDictionary |
| Fields inherited from interface edu.cmu.sphinx.linguist.dictionary.Dictionary |
|---|
PROP_ADD_SIL_ENDING_PRONUNCIATION, PROP_ALLOW_MISSING_WORDS, PROP_CREATE_MISSING_WORDS, PROP_DICTIONARY, PROP_FILLER_DICTIONARY, PROP_UNIT_MANAGER, PROP_WORD_REPLACEMENT, SENTENCE_END_SPELLING, SENTENCE_START_SPELLING, SILENCE_SPELLING |
| Constructor Summary | |
|---|---|
SyllableAwareFullDictionary()
|
|
| Method Summary | |
|---|---|
protected java.util.Map<java.lang.String,edu.cmu.sphinx.linguist.dictionary.Word> |
loadDictionary(java.io.InputStream inputStream,
boolean isFillerDict)
Loads the given sphinx3 style simple dictionary from the given InputStream. |
| Methods inherited from class edu.cmu.sphinx.linguist.dictionary.FullDictionary |
|---|
allocate, createWords, deallocate, getCIUnit, getFillerDictionaryFile, getFillerWords, getPossibleWordClassifications, getSentenceEndWord, getSentenceStartWord, getSilenceWord, getWord, getWordDictionaryFile, newProperties, removeParensFromWord, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SYLLABLE_BOUNDARY_SYMBOL
| Constructor Detail |
|---|
public SyllableAwareFullDictionary()
| Method Detail |
|---|
protected java.util.Map<java.lang.String,edu.cmu.sphinx.linguist.dictionary.Word> loadDictionary(java.io.InputStream inputStream,
boolean isFillerDict)
throws java.io.IOException
loadDictionary in class edu.cmu.sphinx.linguist.dictionary.FullDictionaryinputStream - the InputStream of the dictionaryisFillerDict - true if this is a filler dictionary, false otherwise
java.io.IOException - if there is an error reading the dictionary
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||