public abstract class DictionaryRepository extends Object
Represents a repository of all dictionaries in an Index
.
Constructor and Description |
---|
DictionaryRepository() |
Modifier and Type | Method and Description |
---|---|
abstract AliasDictionary |
getAliasDictionary()
Gets a dictionary of aliases.
|
abstract Alphabet |
getAlphabet()
Gets a dictionary of characters.
|
abstract CharacterReplacementDictionary |
getCharacterReplacements()
Gets a dictionary of character replacements.
|
abstract PasswordDictionary |
getDocumentPasswords()
Gets a dictionary of document passwords.
|
abstract HomophoneDictionary |
getHomophoneDictionary()
Gets a dictionary of homophones.
|
abstract SpellingCorrector |
getSpellingCorrector()
Gets a spelling corrector.
|
abstract StopWordDictionary |
getStopWordDictionary()
Gets a dictionary of stop words.
|
abstract SynonymDictionary |
getSynonymDictionary()
Gets a dictionary of synonyms.
|
abstract IWordFormsProvider |
getWordFormsProvider()
Gets a word forms provider.
|
protected static void |
load(DictionaryBase dictionary) |
protected static void |
loadDefault(DictionaryBase dictionary) |
protected static void |
merge(DictionaryBase dictionary,
DictionaryBase other) |
protected static void |
save(DictionaryBase dictionary) |
abstract void |
setWordFormsProvider(IWordFormsProvider value)
Sets a word forms provider.
|
public abstract AliasDictionary getAliasDictionary()
Gets a dictionary of aliases.
public abstract StopWordDictionary getStopWordDictionary()
Gets a dictionary of stop words.
public abstract SynonymDictionary getSynonymDictionary()
Gets a dictionary of synonyms.
public abstract PasswordDictionary getDocumentPasswords()
Gets a dictionary of document passwords.
public abstract SpellingCorrector getSpellingCorrector()
Gets a spelling corrector.
public abstract HomophoneDictionary getHomophoneDictionary()
Gets a dictionary of homophones.
public abstract Alphabet getAlphabet()
Gets a dictionary of characters.
public abstract CharacterReplacementDictionary getCharacterReplacements()
Gets a dictionary of character replacements.
public abstract IWordFormsProvider getWordFormsProvider()
Gets a word forms provider.
public abstract void setWordFormsProvider(IWordFormsProvider value)
Sets a word forms provider.
value
- A word forms provider.protected static void save(DictionaryBase dictionary)
protected static void load(DictionaryBase dictionary)
protected static void loadDefault(DictionaryBase dictionary)
protected static void merge(DictionaryBase dictionary, DictionaryBase other)