Uses of Enum Class
org.apache.lucene.analysis.hunspell.WordCase
Packages that use WordCase
Package
Description
A Java implementation of Hunspell stemming and
spell-checking algorithms (
Hunspell
), and a stemming
TokenFilter (HunspellStemFilter
) based on it.-
Uses of WordCase in org.apache.lucene.analysis.hunspell
Fields in org.apache.lucene.analysis.hunspell declared as WordCaseMethods in org.apache.lucene.analysis.hunspell that return WordCaseModifier and TypeMethodDescription(package private) WordCase
Stemmer.caseOf
(char[] word, int length) returns EXACT_CASE,TITLE_CASE, or UPPER_CASE type for the word(package private) static WordCase
WordCase.caseOf
(char[] word, int length) (package private) static WordCase
WordCase.caseOf
(CharSequence word) (package private) static WordCase
WordCase.caseOf
(CharSequence word, int length) private static WordCase
WordCase.get
(WordCase.CharCase startCase, boolean seenUpper, boolean seenLower) static WordCase
Returns the enum constant of this class with the specified name.static WordCase[]
WordCase.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.lucene.analysis.hunspell with parameters of type WordCaseModifier and TypeMethodDescriptionprivate boolean
Hunspell.acceptCase
(WordCase originalCase, int entryId, CharsRef root) private String
Suggestion.adjustSuggestionCase
(String candidate, String misspelled, WordCase originalCase) private boolean
Hunspell.checkCompoundPatternReplacements
(CharsRef word, int pos, WordCase originalCase, Hunspell.CompoundPart prev) private boolean
Hunspell.checkCompounds
(char[] wordChars, int length, WordCase originalCase) private boolean
Hunspell.checkCompounds
(CharsRef word, WordCase originalCase, Hunspell.CompoundPart prev) private boolean
Hunspell.checkCompoundsAfter
(WordCase originalCase, Hunspell.CompoundPart prev) (package private) Boolean
Hunspell.checkSimpleWord
(char[] wordChars, int length, WordCase originalCase) private boolean
private void
Hunspell.doSuggest
(String word, WordCase wordCase, LinkedHashSet<Suggestion> suggestions, Runnable checkCanceled) private List<GeneratingSuggester.Weighted<Root<String>>>
GeneratingSuggester.findSimilarDictionaryEntries
(String word, WordCase originalCase) Hunspell.findStem
(char[] wordChars, int offset, int length, WordCase originalCase, WordContext context) private boolean
Hunspell.hasForceUCaseProblem
(Root<?> root, WordCase originalCase, char[] wordChars) private boolean
Hunspell.CompoundPart.isMisspelledSimpleWord
(int length, WordCase originalCase) (package private) boolean
Hunspell.CompoundPart.mayCompound
(Root<CharsRef> nextRoot, int nextPartLength, WordCase originalCase) boolean
GeneratingSuggester.suggest
(String word, WordCase originalCase, Set<Suggestion> prevSuggestions) (package private) boolean
Stemmer.varyCase
(char[] word, int length, WordCase wordCase, Stemmer.CaseVariationProcessor processor) Constructors in org.apache.lucene.analysis.hunspell with parameters of type WordCaseModifierConstructorDescription(package private)
ModifyingSuggester
(Hunspell speller, LinkedHashSet<Suggestion> result, String misspelled, WordCase wordCase) (package private)
Suggestion
(String raw, String misspelled, WordCase originalCase, Hunspell speller)