|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DictionaryBuilder
The Dictionary builder interface define the methods to create a new dictionary.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 separator
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |