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 DictionaryCheckCompoundPattern.dictionaryprivate final DictionaryCompoundRule.dictionaryprivate final DictionaryGeneratingSuggester.dictionary(package private) final DictionaryHunspell.dictionaryprivate DictionaryHunspellStemFilterFactory.dictionaryprivate final DictionaryStemmer.dictionaryprivate final DictionarySuggester.dictionaryprivate final DictionaryWordFormGenerator.dictionary(package private) final DictionaryWordFormGenerator.FlagSet.dictionaryMethods in org.apache.lucene.analysis.hunspell with parameters of type DictionaryModifier and TypeMethodDescription(package private) AffixedWordWordFormGenerator.AffixEntry.apply(AffixedWord stem, Dictionary dictionary) static NGramFragmentCheckerNGramFragmentChecker.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 voidNGramFragmentChecker.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) charWordContext.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(CharHashSet flags, Dictionary dictionary) Hunspell(Dictionary dictionary) Hunspell(Dictionary dictionary, TimeoutPolicy policy, Runnable checkCanceled) HunspellStemFilter(TokenStream input, Dictionary dictionary) Create aHunspellStemFilteroutputting all possible stems.HunspellStemFilter(TokenStream input, Dictionary dictionary, boolean dedup) Create aHunspellStemFilteroutputting 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) privateSuggester(Dictionary dictionary, SuggestibleEntryCache suggestibleCache, FragmentChecker checker) WordFormGenerator(Dictionary dictionary)