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.hhmm
/
BiSegGraph
Bi
Seg
Graph
class
BiSegGraph
(
segGraph
:
SegGraph
)
Graph representing possible token pairs (bigrams) at each start offset in the sentence.
Members
Constructors
Bi
Seg
Graph
Link copied to clipboard
constructor
(
segGraph
:
SegGraph
)
Functions
add
Seg
Token
Pair
Link copied to clipboard
fun
addSegTokenPair
(
tokenPair
:
SegTokenPair
)
get
Short
Path
Link copied to clipboard
fun
getShortPath
(
)
:
List
<
SegToken
>
get
To
Count
Link copied to clipboard
fun
getToCount
(
)
:
Int
get
To
List
Link copied to clipboard
fun
getToList
(
to
:
Int
)
:
List
<
SegTokenPair
>
is
To
Exist
Link copied to clipboard
fun
isToExist
(
to
:
Int
)
:
Boolean
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String