public final class UIMATypeAwareAnalyzer extends Analyzer
Analyzer which uses the UIMATypeAwareAnnotationsTokenizer for the tokenization phaseAnalyzer.ReuseStrategy, Analyzer.TokenStreamComponentsGLOBAL_REUSE_STRATEGY, PER_FIELD_REUSE_STRATEGY| Constructor and Description |
|---|
UIMATypeAwareAnalyzer(String descriptorPath,
String tokenType,
String featurePath,
Map<String,Object> configurationParameters) |
| Modifier and Type | Method and Description |
|---|---|
protected Analyzer.TokenStreamComponents |
createComponents(String fieldName)
Creates a new
Analyzer.TokenStreamComponents instance for this analyzer. |
close, getOffsetGap, getPositionIncrementGap, getReuseStrategy, getVersion, initReader, setVersion, tokenStream, tokenStreamprotected Analyzer.TokenStreamComponents createComponents(String fieldName)
AnalyzerAnalyzer.TokenStreamComponents instance for this analyzer.createComponents in class AnalyzerfieldName - the name of the fields content passed to the
Analyzer.TokenStreamComponents sink as a readerAnalyzer.TokenStreamComponents for this analyzer.Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.