public class WordEngine extends Object implements TokenizerEngine
| 构造器和说明 |
|---|
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)
TokenizerEngineparse 在接口中 TokenizerEnginetext - 需要分词的文本Result分词结果实现Copyright © 2023. All rights reserved.