Uses of Class
org.apache.lucene.analysis.hunspell.WordCase
-
Packages that use WordCase 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 WordCase in org.apache.lucene.analysis.hunspell
Fields in org.apache.lucene.analysis.hunspell declared as WordCase Modifier and Type Field Description private WordCase
ModifyingSuggester. wordCase
Methods in org.apache.lucene.analysis.hunspell that return WordCase Modifier and Type Method Description (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(java.lang.CharSequence word)
(package private) static WordCase
WordCase. caseOf(java.lang.CharSequence word, int length)
private static WordCase
WordCase. get(WordCase.CharCase startCase, boolean seenUpper, boolean seenLower)
static WordCase
WordCase. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WordCase[]
WordCase. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.lucene.analysis.hunspell with parameters of type WordCase Modifier and Type Method Description private boolean
Hunspell. acceptCase(WordCase originalCase, int entryId, CharsRef root)
private java.lang.String
Suggestion. adjustSuggestionCase(java.lang.String candidate, java.lang.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) java.lang.Boolean
Hunspell. checkSimpleWord(char[] wordChars, int length, WordCase originalCase)
private boolean
Hunspell. checkWord(char[] wordChars, int length, WordCase originalCase)
private java.util.List<GeneratingSuggester.Weighted<Root<java.lang.String>>>
GeneratingSuggester. findSimilarDictionaryEntries(java.lang.String word, WordCase originalCase)
(package private) Root<CharsRef>
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
Stemmer.CaseVariationProcessor. process(char[] word, int length, WordCase originalCase)
(package private) java.util.List<java.lang.String>
GeneratingSuggester. suggest(java.lang.String word, WordCase originalCase, java.util.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 WordCase Constructor Description ModifyingSuggester(Hunspell speller, java.util.LinkedHashSet<Suggestion> result, java.lang.String misspelled, WordCase wordCase, FragmentChecker checker)
Suggestion(java.lang.String raw, java.lang.String misspelled, WordCase originalCase, Hunspell speller)
-