Uses of Class
org.apache.lucene.analysis.hunspell.Dictionary
-
Packages that use Dictionary 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 in org.apache.lucene.analysis.hunspell
Fields in org.apache.lucene.analysis.hunspell declared as Dictionary Modifier and Type Field Description private Dictionary
CheckCompoundPattern. dictionary
private Dictionary
CompoundRule. dictionary
private Dictionary
GeneratingSuggester. dictionary
(package private) Dictionary
Hunspell. dictionary
private Dictionary
HunspellStemFilterFactory. dictionary
private Dictionary
Stemmer. dictionary
private Dictionary
Suggester. dictionary
private Dictionary
WordFormGenerator. dictionary
(package private) Dictionary
WordFormGenerator.FlagSet. dictionary
Methods in org.apache.lucene.analysis.hunspell with parameters of type Dictionary Modifier and Type Method Description (package private) AffixedWord
WordFormGenerator.AffixEntry. apply(AffixedWord stem, Dictionary dictionary)
static NGramFragmentChecker
NGramFragmentChecker. fromAllSimpleWords(int n, Dictionary dictionary, java.lang.Runnable checkCanceled)
Iterate the whole dictionary, derive all word forms (usingWordFormGenerator
), vary the case to get all words acceptable by the spellchecker, and create a fragment checker based on theirn
-grams.static void
NGramFragmentChecker. processNGrams(int n, Dictionary dictionary, java.lang.Runnable checkCanceled, NGramFragmentChecker.NGramConsumer consumer)
Traverse the whole dictionary, generate all word forms of its entries, and process all n-grams in these word forms.(package private) char
WordContext. requiredFlag(Dictionary dictionary)
Constructors in org.apache.lucene.analysis.hunspell with parameters of type Dictionary Constructor Description Affix(Dictionary dictionary, int affixId)
CheckCompoundPattern(java.lang.String unparsed, Dictionary.FlagParsingStrategy strategy, Dictionary dictionary)
CompoundRule(java.lang.String rule, Dictionary dictionary)
FlagSet(CharHashSet flags, Dictionary dictionary)
Hunspell(Dictionary dictionary)
Hunspell(Dictionary dictionary, TimeoutPolicy policy, java.lang.Runnable checkCanceled)
HunspellStemFilter(TokenStream input, Dictionary dictionary)
Create aHunspellStemFilter
outputting all possible stems.HunspellStemFilter(TokenStream input, Dictionary dictionary, boolean dedup)
Create aHunspellStemFilter
outputting all possible stems.HunspellStemFilter(TokenStream input, Dictionary dictionary, boolean dedup, boolean longestOnly)
Creates a new HunspellStemFilter that will stem tokens from the given TokenStream using affix rules in the provided DictionaryStemmer(Dictionary dictionary)
Constructs a new Stemmer which will use the provided Dictionary to create its stems.Suggester(Dictionary dictionary)
Suggester(Dictionary dictionary, SuggestibleEntryCache suggestibleCache, FragmentChecker checker)
WordFormGenerator(Dictionary dictionary)
-