Class HHMMSegmenter
- java.lang.Object
-
- org.apache.lucene.analysis.cn.smart.hhmm.HHMMSegmenter
-
public class HHMMSegmenter extends Object
Finds the optimal segmentation of a sentence into Chinese words- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Constructor Summary
Constructors Constructor Description HHMMSegmenter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<SegToken>
process(String sentence)
Return a list ofSegToken
representing the best segmentation of a sentence
-