CharType

object CharType

Internal SmartChineseAnalyzer character type constants.

Properties

Link copied to clipboard
const val DELIMITER: Int = 0

Punctuation Characters

Link copied to clipboard
const val DIGIT: Int = 2

Numeric Digits

Link copied to clipboard
const val FULLWIDTH_DIGIT: Int = 6

Full-Width alphanumeric characters

Link copied to clipboard
const val FULLWIDTH_LETTER: Int = 5

Full-Width letters

Link copied to clipboard
const val HANZI: Int = 3

Han Ideographs

Link copied to clipboard
const val LETTER: Int = 1

Letters

Link copied to clipboard
const val OTHER: Int = 7

Other (not fitting any of the other categories)

Link copied to clipboard
const val SPACE_LIKE: Int = 4

Characters that act as a space

Link copied to clipboard
const val SURROGATE: Int = 8

Surrogate character