public class JcsegAnalyzer
extends org.apache.lucene.analysis.Analyzer
Modifier and Type | Field and Description |
---|---|
SegmenterConfig |
config |
ADictionary |
dic |
ISegment.Type |
type |
Constructor and Description |
---|
JcsegAnalyzer(ISegment.Type type,
SegmenterConfig config,
ADictionary dic)
initialize the analyzer with the specified mode, configuration, dictionary
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents |
createComponents(String fieldName) |
SegmenterConfig |
getConfig() |
ADictionary |
getDict() |
public ISegment.Type type
public final SegmenterConfig config
public final ADictionary dic
public JcsegAnalyzer(ISegment.Type type, SegmenterConfig config, ADictionary dic)
type
- config
- dic
- public SegmenterConfig getConfig()
public ADictionary getDict()
protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents(String fieldName)
createComponents
in class org.apache.lucene.analysis.Analyzer
Copyright © 2019. All rights reserved.