Package org.apache.lucene.analysis.morph
Class ViterbiNBest.Lattice<U extends MorphData>
java.lang.Object
org.apache.lucene.analysis.morph.ViterbiNBest.Lattice<U>
- Enclosing class:
ViterbiNBest<T extends Token,
U extends MorphData>
Yet another lattice data structure for keeping n-best path.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNodeDicType
(int node) int
getNodeLeft
(int node) int
getNodeRight
(int node) int
getNodeWordID
(int node) int
-
Constructor Details
-
Lattice
protected Lattice()
-
-
Method Details
-
getNodeLeft
public int getNodeLeft(int node) -
getNodeRight
public int getNodeRight(int node) -
getNodeDicType
-
getNodeWordID
public int getNodeWordID(int node) -
getRootBase
public int getRootBase()
-