public class SyntacticFirstChildOfGrandparentOfLeafExtractor<T extends Annotation> extends Object implements NamedFeatureExtractor1<T>
| Constructor and Description |
|---|
SyntacticFirstChildOfGrandparentOfLeafExtractor() |
| Modifier and Type | Method and Description |
|---|---|
List<Feature> |
extract(JCas view,
T 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 SyntacticFirstChildOfGrandparentOfLeafExtractor()
public List<Feature> extract(JCas view, T focusAnnotation)
FeatureExtractor1extract in interface FeatureExtractor1<T extends Annotation>view - 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.