Class CharType
- java.lang.Object
-
- org.apache.lucene.analysis.cn.smart.CharType
-
public class CharType extends Object
Internal SmartChineseAnalyzer character type constants.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Field Summary
Fields Modifier and Type Field Description static intDELIMITERPunctuation Charactersstatic intDIGITNumeric Digitsstatic intFULLWIDTH_DIGITFull-Width alphanumeric charactersstatic intFULLWIDTH_LETTERFull-Width lettersstatic intHANZIHan Ideographsstatic intLETTERLettersstatic intOTHEROther (not fitting any of the other categories)static intSPACE_LIKECharacters that act as a spacestatic intSURROGATESurrogate character
-
Constructor Summary
Constructors Constructor Description CharType()
-
-
-
Field Detail
-
DELIMITER
public static final int DELIMITER
Punctuation Characters- See Also:
- Constant Field Values
-
LETTER
public static final int LETTER
Letters- See Also:
- Constant Field Values
-
DIGIT
public static final int DIGIT
Numeric Digits- See Also:
- Constant Field Values
-
HANZI
public static final int HANZI
Han Ideographs- See Also:
- Constant Field Values
-
SPACE_LIKE
public static final int SPACE_LIKE
Characters that act as a space- See Also:
- Constant Field Values
-
FULLWIDTH_LETTER
public static final int FULLWIDTH_LETTER
Full-Width letters- See Also:
- Constant Field Values
-
FULLWIDTH_DIGIT
public static final int FULLWIDTH_DIGIT
Full-Width alphanumeric characters- See Also:
- Constant Field Values
-
OTHER
public static final int OTHER
Other (not fitting any of the other categories)- See Also:
- Constant Field Values
-
SURROGATE
public static final int SURROGATE
Surrogate character- See Also:
- Constant Field Values
-
-