Class CharSequenceUtils
java.lang.Object
org.apache.lucene.analysis.ja.completion.CharSequenceUtils
Utility functions for
JapaneseCompletionFilter-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisFullWidthLowercaseAlphabet(char ch) Checks if a char is a full-width lowercase alphabetstatic booleanChecks if a char sequence is composed only of Katakana or hiraganastatic booleanChecks if a char sequence is composed only of Katakana or lowercase alphabetsstatic booleanChecks if a char sequence is composed only of lowercase alphabetsstatic StringConvert all hiragana in a string into Katakana
-
Method Details
-
isLowercaseAlphabets
Checks if a char sequence is composed only of lowercase alphabets -
isKana
Checks if a char sequence is composed only of Katakana or hiragana -
isKatakanaOrHWAlphabets
Checks if a char sequence is composed only of Katakana or lowercase alphabets -
isFullWidthLowercaseAlphabet
public static boolean isFullWidthLowercaseAlphabet(char ch) Checks if a char is a full-width lowercase alphabet -
toKatakana
Convert all hiragana in a string into Katakana
-