public class ParentExtractor extends Object implements FeatureExtractor1<TreebankNode>
| Constructor and Description |
|---|
ParentExtractor(FeatureExtractor1<TreebankNode> subExtractor) |
| Modifier and Type | Method and Description |
|---|---|
List<Feature> |
extract(JCas jCas,
TreebankNode node)
Some feature extractors will require some specific number of annotations that is greater than
one.
|
public ParentExtractor(FeatureExtractor1<TreebankNode> subExtractor)
public List<Feature> extract(JCas jCas, TreebankNode node) throws CleartkExtractorException
FeatureExtractor1extract in interface FeatureExtractor1<TreebankNode>jCas - the current view of the document.node - the annotation for which to collect features.CleartkExtractorExceptionCopyright © 2014. All rights reserved.