AbstractDictionary

abstract class AbstractDictionary

SmartChineseAnalyzer abstract dictionary implementation.

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Transcode from GB2312 ID to Unicode.

Link copied to clipboard

Transcode from Unicode to GB2312.

Link copied to clipboard
fun hash1(c: Char): Long
fun hash1(carray: CharArray): Long

32-bit FNV Hash Function

Link copied to clipboard
fun hash2(c: Char): Int
fun hash2(carray: CharArray): Int

djb2 hash algorithm.