Uses of Class
org.apache.lucene.analysis.hunspell.Dictionary
Packages that use Dictionary
Package
Description
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 DictionaryModifier and TypeFieldDescriptionprivate final Dictionary
CheckCompoundPattern.dictionary
private final Dictionary
CompoundRule.dictionary
private final Dictionary
GeneratingSuggester.dictionary
(package private) final Dictionary
Hunspell.dictionary
private Dictionary
HunspellStemFilterFactory.dictionary
private final Dictionary
Stemmer.dictionary
private final Dictionary
Suggester.dictionary
private final Dictionary
WordFormGenerator.dictionary
(package private) final Dictionary
WordFormGenerator.FlagSet.dictionary
Methods in org.apache.lucene.analysis.hunspell with parameters of type DictionaryModifier and TypeMethodDescription(package private) AffixedWord
WordFormGenerator.AffixEntry.apply
(AffixedWord stem, Dictionary dictionary) static NGramFragmentChecker
NGramFragmentChecker.fromAllSimpleWords
(int n, Dictionary dictionary, 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, 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 DictionaryModifierConstructorDescription(package private)
Affix
(Dictionary dictionary, int affixId) (package private)
CheckCompoundPattern
(String unparsed, Dictionary.FlagParsingStrategy strategy, Dictionary dictionary) (package private)
CompoundRule
(String rule, Dictionary dictionary) (package private)
FlagSet
(Set<Character> flags, Dictionary dictionary) Hunspell
(Dictionary dictionary) Hunspell
(Dictionary dictionary, TimeoutPolicy policy, 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) private
Suggester
(Dictionary dictionary, SuggestibleEntryCache suggestibleCache, FragmentChecker checker) WordFormGenerator
(Dictionary dictionary)