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 classDictionary.DefaultAsUtf8FlagParsingStrategyUsed to read flags as UTF-8 even if the rest of the file is in the default (8-bit) encodingprivate static classDictionary.DoubleASCIIFlagParsingStrategyImplementation ofDictionary.FlagParsingStrategythat assumes each flag is encoded as two ASCII characters whose codes must be combined into a single character.private static classDictionary.NumFlagParsingStrategyImplementation ofDictionary.FlagParsingStrategythat assumes each flag is encoded in its numerical form.private static classDictionary.SimpleFlagParsingStrategySimple implementation ofDictionary.FlagParsingStrategythat 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.FlagParsingStrategyDictionary. flagParsingStrategyMethods in org.apache.lucene.analysis.hunspell that return Dictionary.FlagParsingStrategy Modifier and Type Method Description (package private) static Dictionary.FlagParsingStrategyDictionary. getFlagParsingStrategy(java.lang.String flagLine, java.nio.charset.Charset charset)Determines the appropriateDictionary.FlagParsingStrategybased 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)
-