public class SegmentationManager
extends java.lang.Object
构造器和说明 |
---|
SegmentationManager() |
限定符和类型 | 方法和说明 |
---|---|
static SegmentationManager |
getInstance() |
boolean |
isNeedSegmentation(java.lang.String searchText)
判断是否需要分词
|
java.lang.String[] |
startSegmentation(java.lang.String searchText)
对字符串进行分词
|
public static SegmentationManager getInstance()
public boolean isNeedSegmentation(java.lang.String searchText)
searchText
- public java.lang.String[] startSegmentation(java.lang.String searchText)
searchText
-