public class SubCategorizationExtractor extends Object implements NamedFeatureExtractor1<TreebankNode>
| Constructor and Description |
|---|
SubCategorizationExtractor() |
SubCategorizationExtractor(String name) |
| 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.
|
String |
getFeatureName()
Gets the name that will be used for all features created by this feature extractor.
|
public SubCategorizationExtractor()
public SubCategorizationExtractor(String name)
public List<Feature> extract(JCas jCas, TreebankNode node) throws UnsupportedOperationException
FeatureExtractor1extract in interface FeatureExtractor1<TreebankNode>jCas - the current view of the document.node - the annotation for which to collect features.UnsupportedOperationExceptionpublic String getFeatureName()
NamedFeatureExtractor1getFeatureName in interface NamedFeatureExtractor1<TreebankNode>Copyright © 2014. All rights reserved.