lucene-kmp
Toggle table of contents
10.2.0-alpha14
common
Target filter
common
Switch theme
Search in API
Skip to content
lucene-kmp
morfologik
/
morfologik.fsa
/
FSATraversal
FSATraversal
class
FSATraversal
(
fsa
:
FSA
)
This class implements some common matching and scanning operations on a generic FSA.
Members
Constructors
FSATraversal
Link copied to clipboard
constructor
(
fsa
:
FSA
)
Functions
match
Link copied to clipboard
fun
match
(
sequence
:
ByteArray
)
:
MatchResult
fun
match
(
sequence
:
ByteArray
,
node
:
Int
)
:
MatchResult
fun
match
(
sequence
:
ByteArray
,
start
:
Int
,
length
:
Int
,
node
:
Int
)
:
MatchResult
fun
match
(
reuse
:
MatchResult
,
sequence
:
ByteArray
,
start
:
Int
,
length
:
Int
,
node
:
Int
)
:
MatchResult
perfect
Hash
Link copied to clipboard
fun
perfectHash
(
sequence
:
ByteArray
)
:
Int
fun
perfectHash
(
sequence
:
ByteArray
,
start
:
Int
,
length
:
Int
,
node
:
Int
)
:
Int