Uses of Record Class
opennlp.tools.stemmer.hunspell.HunspellDictionary.Affix
Packages that use HunspellDictionary.Affix
-
Uses of HunspellDictionary.Affix in opennlp.tools.stemmer.hunspell
Fields in opennlp.tools.stemmer.hunspell with type parameters of type HunspellDictionary.AffixModifier and TypeFieldDescriptionprivate final List<HunspellDictionary.Affix> HunspellStemmer.CompoundPart.affixesThe field for theaffixesrecord component.private final List<List<HunspellDictionary.Affix>> HunspellDictionary.BoundaryIndex.bucketsThe rule bucket for each boundary, aligned withHunspellDictionary.BoundaryIndex.boundaries.private static final List<HunspellDictionary.Affix> HunspellDictionary.NO_AFFIXESThe shared empty bucket answered for characters no affix rule is keyed under.private final List<HunspellDictionary.Affix> HunspellDictionary.AffixFile.prefixesprivate final List<HunspellDictionary.Affix> HunspellDictionary.prefixesWithoutMaterialprivate final List<HunspellDictionary.Affix> HunspellDictionary.AffixFile.suffixesprivate final List<HunspellDictionary.Affix> HunspellDictionary.suffixesWithoutMaterialMethods in opennlp.tools.stemmer.hunspell that return types with arguments of type HunspellDictionary.AffixModifier and TypeMethodDescriptionHunspellStemmer.CompoundPart.affixes()Returns the value of theaffixesrecord component.(package private) List<HunspellDictionary.Affix> HunspellDictionary.BoundaryIndex.bucket(int codePoint) The rules bucketed under a boundary code point.(package private) List<HunspellDictionary.Affix> HunspellDictionary.prefixesStartingWith(int first) The prefix rules whose affix material starts with the given code point, which are the only material-bearing rules that can be undone from a word starting with it.(package private) List<HunspellDictionary.Affix> HunspellDictionary.prefixesWithoutMaterial()Returns the strip-only prefix rules, applicable to any word.(package private) List<HunspellDictionary.Affix> HunspellDictionary.suffixesEndingWith(int last) The suffix rules whose affix material ends in the given code point, which are the only material-bearing rules that can be undone from a word ending in it.(package private) List<HunspellDictionary.Affix> HunspellDictionary.suffixesWithoutMaterial()Returns the strip-only suffix rules, applicable to any word.Methods in opennlp.tools.stemmer.hunspell with parameters of type HunspellDictionary.AffixModifier and TypeMethodDescription(package private) booleanHunspellDictionary.acceptsCase(int[] flags, String surface, String variant, HunspellDictionary.Affix... affixes) Checks case-sensitive and warning restrictions for a selected entry.(package private) booleanHunspellDictionary.acceptsRulePart(int[] flags, boolean last, HunspellDictionary.Affix... affixes) Checks blocking flags on a compound-rule part.private voidHunspellStemmer.Analysis.add(String root, int[] flags, HunspellDictionary.Affix... affixes) Adds morphology-aware stems after case and warning checks.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.(package private) booleanHunspellDictionary.affixAdmits(HunspellDictionary.Affix affix, HunspellDictionary.CompoundPosition position) Checks whether an affix admits its derived form at a compound position: its continuation classes carry the general compounding flag or the position's dedicated flag.(package private) booleanHunspellDictionary.circumfixOnly(HunspellDictionary.Affix affix) Checks whether an affix is one half of a circumfix: it carries theCIRCUMFIXflag among its continuation classes, so it is only valid on a word that also carries a circumfix-marked affix of the other kind, the Germange...tparticiple being the model.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.(package private) booleanHunspellDictionary.compoundOnly(HunspellDictionary.Affix affix) Checks whether an affix applies only inside compounds: it carries theONLYINCOMPOUNDflag among its continuation classes.(package private) booleanHunspellDictionary.forbidsInCompound(HunspellDictionary.Affix affix) Checks whether an affix bars its derived form from compounds altogether: it carries theCOMPOUNDFORBIDFLAGamong its continuation classes.private booleanHunspellStemmer.isIdentityRule(HunspellDictionary.Affix affix) Checks whether an affix rule adds and strips no material.(package private) booleanHunspellDictionary.licensesCrossProduct(int[] flags, HunspellDictionary.Affix prefix, HunspellDictionary.Affix suffix) Checks cross-product flags within a single entry.HunspellDictionary.morphologicalAnalyses(String root, int[] flags, boolean compoundEnd, HunspellDictionary.Affix... affixes) Returns morphological fields for matching dictionary entries and applied rules: prefix fields, then entry fields, then suffix fields.private StringHunspellDictionary.morphologicalStem(String root, List<String> fields, HunspellDictionary.Affix... affixes) Applies morphological stem and affix fields to one dictionary entry.HunspellDictionary.morphologicalStems(String root, int[] flags, HunspellDictionary.Affix... affixes) Returns a stem after applying entry and affix morphology.(package private) booleanHunspellDictionary.needsFurtherAffix(HunspellDictionary.Affix affix) Checks whether a form made with this affix alone is still a virtual stem: the affix carries theNEEDAFFIXflag among its continuation classes, so a further affix must join before the form is a word.(package private) booleanHunspellDictionary.permitsInside(HunspellDictionary.Affix affix) Checks whether an affix may sit at a compound-internal boundary: it carries theCOMPOUNDPERMITFLAGamong its continuation classes.private StringHunspellStemmer.removeAffixInCompound(String part, HunspellDictionary.Affix affix, boolean suffix) Undoes one affix rule on a compound part.private StringHunspellStemmer.removePrefix(String word, HunspellDictionary.Affix prefix) Undoes one prefix rule: cuts the affix material off the start of the word, restores the strip string the rule removed on application, and checks the rule's condition against the restored stem.private StringHunspellStemmer.removePrefixAllowingIdentity(String word, HunspellDictionary.Affix prefix) Undoes a prefix in a continuation sequence, including a rule that changes no material.private StringHunspellStemmer.removeSuffix(String word, HunspellDictionary.Affix suffix) Undoes one suffix rule: cuts the affix material off the end of the word, restores the strip string the rule removed on application, and checks the rule's condition against the restored stem.private StringHunspellStemmer.removeSuffixAllowingIdentity(String word, HunspellDictionary.Affix suffix) Undoes a suffix in a continuation sequence, including a rule that changes no material.(package private) booleanHunspellDictionary.supportsCompoundCrossProduct(int[] flags, HunspellDictionary.CompoundPosition position, HunspellDictionary.Affix prefix, HunspellDictionary.Affix suffix, HunspellDictionary.Affix... additional) Checks a compound cross-product reading.(package private) booleanHunspellDictionary.supportsCrossProduct(int[] flags, HunspellDictionary.Affix prefix, HunspellDictionary.Affix suffix) Checks whether one homonym supports a cross-product analysis, under the conditions ofHunspellDictionary.supportsCrossProduct(List, Affix, Affix).(package private) booleanHunspellDictionary.supportsCrossProduct(List<int[]> flagSets, HunspellDictionary.Affix prefix, HunspellDictionary.Affix suffix) Checks whether some homonym supports a cross-product analysis.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.Method parameters in opennlp.tools.stemmer.hunspell with type arguments of type HunspellDictionary.AffixModifier and TypeMethodDescriptionprivate static HunspellDictionary.BoundaryIndexHunspellDictionary.bucketByBoundary(List<HunspellDictionary.Affix> rules, boolean suffix, List<HunspellDictionary.Affix> withoutMaterial) Buckets affix rules by the boundary code point of their affix material, the last code point for a suffix rule and the first for a prefix rule.(package private) intHunspellDictionary.compoundSyllables(String part, int[] flags, List<HunspellDictionary.Affix> affixes, boolean last) Calculates a component's contribution to the compound syllable limit.(package private) intHunspellDictionary.compoundUnits(int[] flags, List<HunspellDictionary.Affix> affixes) Counts an entry toward COMPOUNDWORDMAX.private booleanHunspellDictionary.CompoundPattern.hasBoundaryFlag(int[] flags, List<HunspellDictionary.Affix> affixes, int required) Tests entry and continuation flags for a boundary condition.private static intHunspellDictionary.longestSpacedForm(Set<String> words, List<HunspellDictionary.Affix> prefixes, List<HunspellDictionary.Affix> suffixes) Bounds the length of a word containing a space that can have a reading.(package private) booleanHunspellDictionary.CompoundPattern.matches(String left, int[] leftFlags, String right, int[] rightFlags, List<HunspellDictionary.Affix> leftAffixes, List<HunspellDictionary.Affix> rightAffixes) Checks the selected readings at a junction.Constructor parameters in opennlp.tools.stemmer.hunspell with type arguments of type HunspellDictionary.AffixModifierConstructorDescriptionprivateBoundaryIndex(Map<Integer, List<HunspellDictionary.Affix>> byBoundary) Initializes the index from mutable buckets, freezing each one.privateCompoundPart(String surface, String root, int[] flags, List<HunspellDictionary.Affix> affixes, List<String> stems) Creates an instance of aCompoundPartrecord class.