public final class TokenInfoFST
extends java.lang.Object
Depending upon fasterButMoreRam, either just kana (191 arcs), or kana and han (28,607 arcs) are cached. The latter offers additional performance at the cost of more RAM.
Modifier and Type | Field and Description |
---|---|
java.lang.Long |
NO_OUTPUT |
Constructor and Description |
---|
TokenInfoFST(FST<java.lang.Long> fst,
boolean fasterButMoreRam) |
Modifier and Type | Method and Description |
---|---|
FST.Arc<java.lang.Long> |
findTargetArc(int ch,
FST.Arc<java.lang.Long> follow,
FST.Arc<java.lang.Long> arc,
boolean useCache,
FST.BytesReader fstReader) |
FST.BytesReader |
getBytesReader() |
FST.Arc<java.lang.Long> |
getFirstArc(FST.Arc<java.lang.Long> arc) |
public TokenInfoFST(FST<java.lang.Long> fst, boolean fasterButMoreRam) throws java.io.IOException
java.io.IOException
public FST.Arc<java.lang.Long> findTargetArc(int ch, FST.Arc<java.lang.Long> follow, FST.Arc<java.lang.Long> arc, boolean useCache, FST.BytesReader fstReader) throws java.io.IOException
java.io.IOException
public FST.BytesReader getBytesReader()
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.