public interface DictionaryBuilder
Modifier and Type | Method and Description |
---|---|
void |
addWord(java.lang.String word)
Adds a new word to the dictionary.
|
Dictionary |
getDictionary() |
void |
setDictionaryProperties(java.lang.String language,
java.lang.String typeName,
boolean caseNormalization,
boolean multiWordEntries,
java.lang.String multiWordSeparator)
Set the dictionary properties, this method have to be called before words
can be added to the dictionary.
|
Dictionary getDictionary()
void addWord(java.lang.String word)
word
- word that should be added.void setDictionaryProperties(java.lang.String language, java.lang.String typeName, boolean caseNormalization, boolean multiWordEntries, java.lang.String multiWordSeparator)
language
- dictionary languagetypeName
- type name for the dictionary contentcaseNormalization
- case normalization settingsmultiWordEntries
- multi-word entries settingmultiWordSeparator
- multi-word entry separatorCopyright © 2013. All Rights Reserved.