public class WordEngine extends Object implements TokenizerEngine
Segmentation 线程安全| 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)
TokenizerEngineparse in interface TokenizerEnginetext - 需要分词的文本Result分词结果实现Copyright © 2025. All rights reserved.