public final class UIMATypeAwareAnalyzer extends Analyzer
Analyzer
which uses the UIMATypeAwareAnnotationsTokenizer
for the tokenization phaseAnalyzer.ReuseStrategy, Analyzer.TokenStreamComponents
GLOBAL_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) |
attributeFactory, close, getOffsetGap, getPositionIncrementGap, getReuseStrategy, getVersion, initReader, initReaderForNormalization, normalize, normalize, setVersion, tokenStream, tokenStream
protected Analyzer.TokenStreamComponents createComponents(String fieldName)
createComponents
in class Analyzer
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.