public class MynlpEngine extends Object implements TokenizerEngine
Constructor and Description |
---|
MynlpEngine()
构造
|
MynlpEngine(com.mayabot.nlp.segment.Lexer lexer)
构造
|
public MynlpEngine()
public MynlpEngine(com.mayabot.nlp.segment.Lexer lexer)
lexer
- 分词器接口Lexer
public Result parse(CharSequence text)
TokenizerEngine
parse
in interface TokenizerEngine
text
- 需要分词的文本Result
分词结果实现Copyright © 2024. All rights reserved.