public class FullSegmentation extends AbstractSegmentation
LOGGER
Constructor and Description |
---|
FullSegmentation() |
Modifier and Type | Method and Description |
---|---|
SegmentationAlgorithm |
getSegmentationAlgorithm()
分词器使用的算法
|
static void |
main(String[] args) |
List<Word> |
segImpl(String text)
具体的分词实现,留待子类实现
|
addWord, addWord, getDictionary, getInterceptLength, getWord, isParallelSeg, ngram, ngramEnabled, seg, setDictionary
public SegmentationAlgorithm getSegmentationAlgorithm()
Segmentation
public List<Word> segImpl(String text)
AbstractSegmentation
segImpl
in class AbstractSegmentation
text
- 文本public static void main(String[] args)
Copyright © 2014–2015 APDPlat. All rights reserved.