Uses of Class
org.apache.lucene.analysis.hunspell.Dictionary.FlagParsingStrategy
-
Packages that use Dictionary.FlagParsingStrategy 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 Dictionary.FlagParsingStrategy in org.apache.lucene.analysis.hunspell
Subclasses of Dictionary.FlagParsingStrategy in org.apache.lucene.analysis.hunspell Modifier and Type Class Description private static class
Dictionary.DefaultAsUtf8FlagParsingStrategy
Used to read flags as UTF-8 even if the rest of the file is in the default (8-bit) encodingprivate static class
Dictionary.DoubleASCIIFlagParsingStrategy
Implementation ofDictionary.FlagParsingStrategy
that assumes each flag is encoded as two ASCII characters whose codes must be combined into a single character.private static class
Dictionary.NumFlagParsingStrategy
Implementation ofDictionary.FlagParsingStrategy
that assumes each flag is encoded in its numerical form.private static class
Dictionary.SimpleFlagParsingStrategy
Simple implementation ofDictionary.FlagParsingStrategy
that treats the chars in each String as a individual flags.Fields in org.apache.lucene.analysis.hunspell declared as Dictionary.FlagParsingStrategy Modifier and Type Field Description (package private) Dictionary.FlagParsingStrategy
Dictionary. flagParsingStrategy
Methods in org.apache.lucene.analysis.hunspell that return Dictionary.FlagParsingStrategy Modifier and Type Method Description (package private) static Dictionary.FlagParsingStrategy
Dictionary. getFlagParsingStrategy(java.lang.String flagLine, java.nio.charset.Charset charset)
Determines the appropriateDictionary.FlagParsingStrategy
based on the FLAG definition line taken from the affix fileConstructors in org.apache.lucene.analysis.hunspell with parameters of type Dictionary.FlagParsingStrategy Constructor Description CheckCompoundPattern(java.lang.String unparsed, Dictionary.FlagParsingStrategy strategy, Dictionary dictionary)
-