Class CharSequenceUtils
java.lang.Object
org.apache.lucene.analysis.ja.completion.CharSequenceUtils
Utility functions for
JapaneseCompletionFilter
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isFullWidthLowercaseAlphabet
(char ch) Checks if a char is a full-width lowercase alphabetstatic boolean
Checks if a char sequence is composed only of Katakana or hiraganastatic boolean
Checks if a char sequence is composed only of Katakana or lowercase alphabetsstatic boolean
Checks if a char sequence is composed only of lowercase alphabetsstatic String
Convert all hiragana in a string into kanataka
-
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 kanataka
-