public interface FeatureExtractor
Modifier and Type | Method and Description |
---|---|
Set<Feature> |
extract(org.apache.uima.jcas.JCas aJCas,
org.dkpro.tc.api.type.TextClassificationTarget aTarget)
Extract features from the classification target within the given view.
|
Set<Feature> extract(org.apache.uima.jcas.JCas aJCas, org.dkpro.tc.api.type.TextClassificationTarget aTarget) throws org.dkpro.tc.api.exception.TextClassificationException
aJCas
- the current view of the document.aTarget
- the annotation for which to collect features (iff null, the features will be
extracted from the document text)org.dkpro.tc.api.exception.TextClassificationException
- if feature extraction failedCopyright © 2013–2019 Ubiquitous Knowledge Processing (UKP) Lab. All rights reserved.