|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.analysis.cn.smart.hhmm.HHMMSegmenter
public class HHMMSegmenter
Finds the optimal segmentation of a sentence into Chinese words
WARNING: The status of the analyzers/smartcn analysis.cn.smart package is experimental. The APIs and file formats introduced here might change in the future and will not be supported anymore in such a case.
Constructor Summary | |
---|---|
HHMMSegmenter()
|
Method Summary | |
---|---|
java.util.List<SegToken> |
process(java.lang.String sentence)
Return a list of SegToken representing the best segmentation of a sentence |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HHMMSegmenter()
Method Detail |
---|
public java.util.List<SegToken> process(java.lang.String sentence)
SegToken
representing the best segmentation of a sentence
sentence
- input sentence
List
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |