Uses of Class
org.apache.lucene.analysis.hunspell.AffixKind
-
Packages that use AffixKind Package Description org.apache.lucene.analysis.hunspell A Java implementation of Hunspell stemming and spell-checking algorithms (Hunspell
), and a stemming TokenFilter (HunspellStemFilter
) based on it. -
-
Uses of AffixKind in org.apache.lucene.analysis.hunspell
Methods in org.apache.lucene.analysis.hunspell that return AffixKind Modifier and Type Method Description static AffixKind
AffixKind. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AffixKind[]
AffixKind. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.lucene.analysis.hunspell with parameters of type AffixKind Modifier and Type Method Description static AffixCondition
AffixCondition. compile(AffixKind kind, java.lang.String strip, java.lang.String condition, java.lang.String line)
Analyzes the given affix kind, strip and condition and returns an object able to efficiently check that condition.private void
Dictionary. parseAffix(java.util.TreeMap<java.lang.String,java.util.List<java.lang.Integer>> affixes, java.util.Set<java.lang.Character> secondStageFlags, java.lang.String header, java.io.LineNumberReader reader, AffixKind kind, java.util.Map<java.lang.String,java.lang.Integer> seenPatterns, java.util.Map<java.lang.String,java.lang.Integer> seenStrips, FlagEnumerator flags)
Parses a specific affix rule putting the result into the provided affix mapprivate static AffixCondition
AffixCondition. regexpCondition(AffixKind kind, java.lang.String condition, int charCount)
private static AffixCondition
AffixCondition. substringCondition(AffixKind kind, java.lang.String stemCondition)
static java.lang.String
AffixCondition. uniqueKey(AffixKind kind, java.lang.String strip, java.lang.String condition)
-