public final class TokenInfoFST extends 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.
Constructor | Description |
---|---|
TokenInfoFST(org.apache.lucene.util.fst.FST<Long> fst,
boolean fasterButMoreRam) |
Modifier and Type | Method | Description |
---|---|---|
org.apache.lucene.util.fst.FST.Arc<Long> |
findTargetArc(int ch,
org.apache.lucene.util.fst.FST.Arc<Long> follow,
org.apache.lucene.util.fst.FST.Arc<Long> arc,
boolean useCache,
org.apache.lucene.util.fst.FST.BytesReader fstReader) |
|
org.apache.lucene.util.fst.FST.BytesReader |
getBytesReader(int pos) |
|
org.apache.lucene.util.fst.FST.Arc<Long> |
getFirstArc(org.apache.lucene.util.fst.FST.Arc<Long> arc) |
public final Long NO_OUTPUT
public TokenInfoFST(org.apache.lucene.util.fst.FST<Long> fst, boolean fasterButMoreRam) throws IOException
IOException
public org.apache.lucene.util.fst.FST.Arc<Long> findTargetArc(int ch, org.apache.lucene.util.fst.FST.Arc<Long> follow, org.apache.lucene.util.fst.FST.Arc<Long> arc, boolean useCache, org.apache.lucene.util.fst.FST.BytesReader fstReader) throws IOException
IOException
public org.apache.lucene.util.fst.FST.Arc<Long> getFirstArc(org.apache.lucene.util.fst.FST.Arc<Long> arc)
public org.apache.lucene.util.fst.FST.BytesReader getBytesReader(int pos)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.