public class WordEngine extends Object implements TokenizerEngine
Constructor and Description |
---|
WordEngine()
构造
|
WordEngine(org.apdplat.word.segmentation.Segmentation segmentation)
构造
|
WordEngine(org.apdplat.word.segmentation.SegmentationAlgorithm algorithm)
构造
|
public WordEngine()
public WordEngine(org.apdplat.word.segmentation.SegmentationAlgorithm algorithm)
algorithm
- SegmentationAlgorithm
分词算法枚举public WordEngine(org.apdplat.word.segmentation.Segmentation segmentation)
segmentation
- Segmentation
分词实现public Result parse(CharSequence text)
TokenizerEngine
parse
in interface TokenizerEngine
text
- 需要分词的文本Result
分词结果实现Copyright © 2024. All rights reserved.