Uses of Enum Class
opennlp.tools.stemmer.hunspell.HunspellDictionary.LoadMode
Packages that use HunspellDictionary.LoadMode
-
Uses of HunspellDictionary.LoadMode in opennlp.tools.stemmer.hunspell
Methods in opennlp.tools.stemmer.hunspell that return HunspellDictionary.LoadModeModifier and TypeMethodDescriptionstatic HunspellDictionary.LoadModeReturns the enum constant of this class with the specified name.static HunspellDictionary.LoadMode[]HunspellDictionary.LoadMode.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in opennlp.tools.stemmer.hunspell with parameters of type HunspellDictionary.LoadModeModifier and TypeMethodDescriptionstatic HunspellDictionaryHunspellDictionary.load(InputStream affixStream, InputStream dictionaryStream, HunspellDictionary.LoadMode mode) Loads affix and dictionary streams with the selected directive policy.static HunspellDictionaryHunspellDictionary.load(Path affixFile, Path dictionaryFile, HunspellDictionary.LoadMode mode) Loads affix and dictionary files with the selected directive policy.private static HunspellDictionaryHunspellDictionary.loadStreams(InputStream affixStream, InputStream dictionaryStream, HunspellDictionary.LoadMode mode, String source) Loads validated streams without closing them.private static List<HunspellDictionary.UnsupportedDirective> HunspellDictionary.maskIgnoredAffixLines(byte[] bytes, HunspellDictionary.LoadMode mode, String source) Replaces comments and unused directive lines with ASCII spaces before strict decoding.