Class TokenInfoFST
java.lang.Object
org.apache.lucene.analysis.ja.dict.TokenInfoFST
Thin wrapper around an FST with root-arc caching for Japanese.
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.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindTargetArc
(int ch, FST.Arc<Long> follow, FST.Arc<Long> arc, boolean useCache, FST.BytesReader fstReader) getFirstArc
(FST.Arc<Long> arc)
-
Field Details
-
NO_OUTPUT
-
-
Constructor Details
-
TokenInfoFST
- Throws:
IOException
-
-
Method Details
-
findTargetArc
public FST.Arc<Long> findTargetArc(int ch, FST.Arc<Long> follow, FST.Arc<Long> arc, boolean useCache, FST.BytesReader fstReader) throws IOException - Throws:
IOException
-
getFirstArc
-
getBytesReader
-