Utility
object Utility
SmartChineseAnalyzer utility constants and methods
Properties
Functions
Link copied to clipboard
Link copied to clipboard
fun compareArrayByPrefix(shortArray: CharArray?, shortIndex: Int, longArray: CharArray?, longIndex: Int): Int
Compare two arrays, starting at the specified offsets, but treating shortArray as a prefix to longArray. As long as shortArray is a prefix of longArray, return 0. Otherwise, behave as compareArray.
Link copied to clipboard
Return the internal CharType constant of a given character.