TokenInfoFST

abstract class TokenInfoFST(fst: FST<Long>, cacheCeiling: Int, cacheFloor: Int)

Thin wrapper around an FST with root-arc caching.

Root arcs between cacheFloor and cacheCeiling are cached.

Constructors

Link copied to clipboard
constructor(fst: FST<Long>, cacheCeiling: Int, cacheFloor: Int)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun findTargetArc(ch: Int, follow: FST.Arc<Long>, arc: FST.Arc<Long>, useCache: Boolean, fstReader: FST.BytesReader): FST.Arc<Long>?
Link copied to clipboard
Link copied to clipboard