Uses of Class
org.apache.lucene.analysis.hunspell.Dictionary.FlagParsingStrategy
Packages that use Dictionary.FlagParsingStrategy
Package
Description
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.hunspellModifier and TypeClassDescriptionprivate static classUsed to read flags as UTF-8 even if the rest of the file is in the default (8-bit) encodingprivate static classImplementation ofDictionary.FlagParsingStrategythat assumes each flag is encoded as two ASCII characters whose codes must be combined into a single character.private static classImplementation ofDictionary.FlagParsingStrategythat assumes each flag is encoded in its numerical form.private static classSimple implementation ofDictionary.FlagParsingStrategythat treats the chars in each String as a individual flags.Fields in org.apache.lucene.analysis.hunspell declared as Dictionary.FlagParsingStrategyModifier and TypeFieldDescription(package private) Dictionary.FlagParsingStrategyDictionary.flagParsingStrategyMethods in org.apache.lucene.analysis.hunspell that return Dictionary.FlagParsingStrategyModifier and TypeMethodDescription(package private) static Dictionary.FlagParsingStrategyDictionary.getFlagParsingStrategy(String flagLine, 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.FlagParsingStrategyModifierConstructorDescription(package private)CheckCompoundPattern(String unparsed, Dictionary.FlagParsingStrategy strategy, Dictionary dictionary)