Class PathNode
- java.lang.Object
-
- org.apache.lucene.analysis.cn.smart.hhmm.PathNode
-
- All Implemented Interfaces:
java.lang.Comparable<PathNode>
class PathNode extends java.lang.Object implements java.lang.Comparable<PathNode>
SmartChineseAnalyzer internal node representationUsed by
BiSegGraph
to maximize the segmentation with the Viterbi algorithm.
-
-
Constructor Summary
Constructors Constructor Description PathNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(PathNode pn)
boolean
equals(java.lang.Object obj)
int
hashCode()
-
-
-
Method Detail
-
compareTo
public int compareTo(PathNode pn)
- Specified by:
compareTo
in interfacejava.lang.Comparable<PathNode>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
- See Also:
Object.hashCode()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
- See Also:
Object.equals(java.lang.Object)
-
-