Package opennlp.tools.stemmer.hunspell
package opennlp.tools.stemmer.hunspell
-
ClassDescriptionOne parsed affix condition: a fixed-length sequence of literal code points and bracketed character classes, matched with a single scan and no regular expressions.Affix tables with entry counts and source locations for validation errors.An entry including the directive name.A compound flag sequence with optional and repeated elements.Interprets a flag according to the affix file's FLAG setting.Non-recursive longest-match input and output conversions.A conversion with optional word-boundary requirements.An immutable, in-memory Hunspell-format dictionary loaded from user-supplied
.affand.dicfiles.One parsed affix rule of aPFXorSFXblock.The parsed affix file content.An immutable index of affix rules keyed by the boundary code point of their affix material, answering each lookup by binary search so the per-word scans inHunspellStemmerallocate nothing.The capitalization classes of a word.A compound-boundary restriction and optional spelling replacement.The place a part takes in a compound, deciding which positional flag admits it.The flag encodings a dictionary may declare with theFLAGdirective.Controls whether unsupported affix directives prevent dictionary loading.The first occurrence of an unsupported affix directive.OneBREAKdeclaration: a separator and the anchors that bind it to the start or end of the word.Opt-in installation of Hunspell.aff/.dicpairs and their license readme from an application-suppliedDictionaryCatalog.A dictionary-backedStemmerover aHunspellDictionary: a surface form is reduced to the dictionary words it can be derived from by removing one suffix, one prefix, a cross-product combination of both, or an additional affix licensed by a continuation class.One selected compound-part reading.A required boundary after a compound spelling substitution.The shareable handle for Hunspell stemming: holds one immutableHunspellDictionaryand hands outHunspellStemmerinstances over it.