lucene-kmp
Toggle table of contents
10.2.0-alpha14
common
Target filter
common
Switch theme
Search in API
Skip to content
lucene-kmp
smartcn
/
org.gnit.lucenekmp.analysis.cn.smart
/
WordSegmenter
Word
Segmenter
class
WordSegmenter
Segment a sentence of Chinese text into words.
Members
Constructors
Word
Segmenter
Link copied to clipboard
constructor
(
)
Functions
convert
Seg
Token
Link copied to clipboard
fun
convertSegToken
(
st
:
SegToken
,
sentence
:
String
,
sentenceStartOffset
:
Int
)
:
SegToken
segment
Sentence
Link copied to clipboard
fun
segmentSentence
(
sentence
:
String
,
startOffset
:
Int
)
:
List
<
SegToken
>