public class AnalysisEngine extends Object implements TokenizerEngine
Constructor and Description |
---|
AnalysisEngine(org.apache.lucene.analysis.Analyzer analyzer)
构造
|
public AnalysisEngine(org.apache.lucene.analysis.Analyzer analyzer)
analyzer
- 分析器Analyzer
public Result parse(CharSequence text)
TokenizerEngine
parse
in interface TokenizerEngine
text
- 需要分词的文本Result
分词结果实现Copyright © 2024. All rights reserved.