Class HunspellDictionaryHolder
java.lang.Object
org.nuxeo.ecm.platform.importer.random.HunspellDictionaryHolder
- All Implemented Interfaces:
DictionaryHolder
- Author:
- Thierry Delprat
-
Field Details
-
DEFAULT_DIC
- See Also:
-
INITIAL_SIZE
protected static final int INITIAL_SIZE- See Also:
-
words
-
RANDOM
-
wordCount
protected int wordCount -
dicName
-
-
Constructor Details
-
HunspellDictionaryHolder
-
-
Method Details
-
init
- Specified by:
init
in interfaceDictionaryHolder
- Throws:
IOException
-
loadDic
- Throws:
IOException
- Since:
- 6.0
-
getWordCount
public int getWordCount()- Specified by:
getWordCount
in interfaceDictionaryHolder
-
getRandomWord
- Specified by:
getRandomWord
in interfaceDictionaryHolder
-