Uses of Class
opennlp.tools.stemmer.hunspell.HunspellStemmer.Analysis
Packages that use HunspellStemmer.Analysis
-
Uses of HunspellStemmer.Analysis in opennlp.tools.stemmer.hunspell
Methods in opennlp.tools.stemmer.hunspell with parameters of type HunspellStemmer.AnalysisModifier and TypeMethodDescriptionprivate voidHunspellStemmer.analyze(String word, HunspellStemmer.Analysis analyses) Adds every analysis of one case variant to the result set: the word's own dictionary entry, single suffix removal, twofold suffix removal through continuation classes, single prefix removal, and cross-product removal of one prefix together with one suffix and an optional continuation suffix.private voidHunspellStemmer.undoCrossProductInnerSuffix(String stem, HunspellDictionary.Affix prefix, HunspellDictionary.Affix outer, HunspellDictionary.Affix inner, HunspellStemmer.Analysis analyses) Undoes an inner suffix after a prefix and an outer suffix have been removed.private voidHunspellStemmer.undoCrossProductSuffix(String stem, HunspellDictionary.Affix prefix, HunspellDictionary.Affix suffix, HunspellStemmer.Analysis analyses) Undoes the suffix half of a cross-product removal when both rules opted in.private voidHunspellStemmer.undoDoublePrefixSuffix(String word, HunspellDictionary.Affix inner, HunspellDictionary.Affix outer, HunspellDictionary.Affix suffix, HunspellStemmer.Analysis analyses) Removes the suffix following a continuation-linked prefix combination.private voidHunspellStemmer.undoInnerPrefix(String stem, HunspellDictionary.Affix outer, HunspellDictionary.Affix inner, HunspellStemmer.Analysis analyses) Removes a continuation-linked inner prefix in COMPLEXPREFIXES mode.private voidHunspellStemmer.undoInnerSuffix(String stem, HunspellDictionary.Affix outer, HunspellDictionary.Affix inner, HunspellStemmer.Analysis analyses) Undoes the inner suffix of a twofold removal when the rule's continuation classes allow the outer one.private voidHunspellStemmer.undoPrefix(String word, HunspellDictionary.Affix prefix, HunspellStemmer.Analysis analyses) Undoes one prefix rule and, for cross-product rules, one further suffix on the intermediate stem, adding dictionary-confirmed analyses.private voidHunspellStemmer.undoSuffix(String word, HunspellDictionary.Affix suffix, HunspellStemmer.Analysis analyses) Undoes one suffix rule and, through continuation classes, one further suffix on the intermediate stem, adding dictionary-confirmed analyses.