public class HanLPEngine extends Object implements TokenizerEngine
Constructor and Description |
---|
HanLPEngine()
构造
|
HanLPEngine(com.hankcs.hanlp.seg.Segment seg)
构造
|
public HanLPEngine()
public HanLPEngine(com.hankcs.hanlp.seg.Segment seg)
seg
- Segment
public Result parse(CharSequence text)
TokenizerEngine
parse
in interface TokenizerEngine
text
- 需要分词的文本Result
分词结果实现Copyright © 2024. All rights reserved.