public class CoveredTextExtractor<T extends Annotation> extends Object implements NamedFeatureExtractor1<T>
| Constructor and Description |
|---|
CoveredTextExtractor() |
| Modifier and Type | Method and Description |
|---|---|
List<Feature> |
extract(JCas jCas,
Annotation focusAnnotation)
Some feature extractors will require some specific number of annotations that is greater than
one.
|
String |
getFeatureName()
Gets the name that will be used for all features created by this feature extractor.
|
public CoveredTextExtractor()
public List<Feature> extract(JCas jCas, Annotation focusAnnotation)
FeatureExtractor1extract in interface FeatureExtractor1<T extends Annotation>jCas - the current view of the document.focusAnnotation - the annotation for which to collect features.public String getFeatureName()
NamedFeatureExtractor1getFeatureName in interface NamedFeatureExtractor1<T extends Annotation>Copyright © 2014. All rights reserved.