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