public class PureEnglish extends Object implements Segmentation
Constructor and Description |
---|
PureEnglish() |
Modifier and Type | Method and Description |
---|---|
SegmentationAlgorithm |
getSegmentationAlgorithm()
分词器使用的算法
|
static void |
main(String[] args) |
List<Word> |
seg(String text)
将文本切分为词
|
public SegmentationAlgorithm getSegmentationAlgorithm()
Segmentation
getSegmentationAlgorithm
in interface Segmentation
public List<Word> seg(String text)
Segmentation
seg
in interface Segmentation
text
- 文本public static void main(String[] args)
Copyright © 2014–2015 APDPlat. All rights reserved.