WordSegmenter

Segment a sentence of Chinese text into words.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun convertSegToken(st: SegToken, sentence: String, sentenceStartOffset: Int): SegToken
Link copied to clipboard
fun segmentSentence(sentence: String, startOffset: Int): List<SegToken>