Uses of Record Class
opennlp.tools.stemmer.hunspell.HunspellStemmer.CompoundPart
Packages that use HunspellStemmer.CompoundPart
-
Uses of HunspellStemmer.CompoundPart in opennlp.tools.stemmer.hunspell
Methods in opennlp.tools.stemmer.hunspell that return types with arguments of type HunspellStemmer.CompoundPartModifier and TypeMethodDescriptionprivate List<HunspellStemmer.CompoundPart> HunspellStemmer.partReadings(String part, String surface, HunspellDictionary.CompoundPosition position, boolean first, boolean last, boolean movingRule) Collects direct and affixed readings for a compound component.private List<HunspellStemmer.CompoundPart> Finds selected dictionary entries for a compound-rule part.Methods in opennlp.tools.stemmer.hunspell with parameters of type HunspellStemmer.CompoundPartModifier and TypeMethodDescriptionprivate booleanHunspellStemmer.rejectsJunction(HunspellStemmer.CompoundPart left, HunspellStemmer.CompoundPart right, HunspellDictionary.CompoundPattern allowed, boolean last) Applies the junction declarations.Method parameters in opennlp.tools.stemmer.hunspell with type arguments of type HunspellStemmer.CompoundPartModifier and TypeMethodDescriptionprivate voidHunspellStemmer.Results.addCompound(List<HunspellStemmer.CompoundPart> parts) Adds a complete compound analysis, preserving homonym alternatives.private voidHunspellStemmer.addCompoundCrossDouble(String part, String surface, String root, HunspellDictionary.Affix inner, HunspellDictionary.Affix outer, HunspellDictionary.Affix cross, HunspellDictionary.CompoundPosition position, List<HunspellStemmer.CompoundPart> readings) Validates a continuation sequence combined with an opposite-end affix.private voidHunspellStemmer.addRulePart(String part, String root, String surface, boolean last, List<HunspellStemmer.CompoundPart> result, HunspellDictionary.Affix... affixes) Adds homonyms permitted by their blocking and affix flags.private voidHunspellStemmer.collectAffixedPartReading(String part, String surface, HunspellDictionary.Affix affix, HunspellDictionary.CompoundPosition position, boolean first, boolean last, List<HunspellStemmer.CompoundPart> readings) Adds the stem of one affixed part reading when the rule and the stem's entry admit it at the position.private voidHunspellStemmer.collectCompoundSuffixAfterPrefixes(String part, String surface, String text, HunspellDictionary.Affix inner, HunspellDictionary.Affix outer, HunspellDictionary.Affix suffix, HunspellDictionary.CompoundPosition position, boolean last, List<HunspellStemmer.CompoundPart> readings) Checks a suffix after continuation-linked compound prefixes.private voidHunspellStemmer.collectCrossDoublePart(String part, String surface, String text, HunspellDictionary.Affix inner, HunspellDictionary.Affix outer, HunspellDictionary.Affix prefix, HunspellDictionary.CompoundPosition position, List<HunspellStemmer.CompoundPart> readings) Removes an inner compound suffix after a prefix and outer suffix.private voidHunspellStemmer.collectCrossPart(String part, String surface, String intermediate, HunspellDictionary.Affix prefix, HunspellDictionary.Affix suffix, HunspellDictionary.CompoundPosition position, boolean last, List<HunspellStemmer.CompoundPart> readings) Validates a compound component with a prefix and suffix.private voidHunspellStemmer.collectCrossPartReadings(String part, String surface, HunspellDictionary.Affix prefix, HunspellDictionary.CompoundPosition position, boolean first, boolean last, List<HunspellStemmer.CompoundPart> readings) Searches suffix combinations after removing a compound component's prefix.private voidHunspellStemmer.collectDoublePart(String part, String surface, String intermediate, HunspellDictionary.Affix inner, HunspellDictionary.Affix outer, HunspellDictionary.CompoundPosition position, boolean last, List<HunspellStemmer.CompoundPart> readings) Finds a compound part with continuation-linked affixes.private voidHunspellStemmer.collectPartReadings(String part, String surface, HunspellDictionary.CompoundPosition position, boolean first, boolean last, boolean movingRule, List<HunspellStemmer.CompoundPart> readings) Collects direct entries and permitted affix combinations for a component.private voidHunspellStemmer.search(String word, String caseSource, int[] codePointOffsets, int fromPoint, List<HunspellStemmer.CompoundPart> parts, HunspellStemmer.Results analyses, int[] budget, List<HunspellStemmer.Junction> junctions, byte[] remainderChecks) Extends a partial decomposition with the part starting atfromPoint, trying every admissible length and recursing on the remainder.private voidHunspellStemmer.searchRule(String word, String surface, int from, HunspellCompoundRule rule, List<HunspellStemmer.CompoundPart> parts, List<int[]> flags, HunspellStemmer.Results analyses, int[] budget) Searches compound-rule paths without combining flags from different homonyms.