public abstract class TreeFragmentFeatureExtractor extends Object implements org.cleartk.ml.feature.extractor.FeatureExtractor1<IdentifiedAnnotation>
Modifier and Type | Field and Description |
---|---|
protected HashSet<SimpleTree> |
frags |
static String |
PARAM_OUTPUTDIR |
static String |
PARAM_SEMDIR |
protected String |
prefix |
protected SemanticClasses |
sems |
Constructor and Description |
---|
TreeFragmentFeatureExtractor(String prefix,
String resourceFilename) |
Modifier and Type | Method and Description |
---|---|
abstract List<org.cleartk.ml.Feature> |
extract(org.apache.uima.jcas.JCas jcas,
IdentifiedAnnotation annotation) |
public static final String PARAM_OUTPUTDIR
public static final String PARAM_SEMDIR
protected HashSet<SimpleTree> frags
protected SemanticClasses sems
protected String prefix
public abstract List<org.cleartk.ml.Feature> extract(org.apache.uima.jcas.JCas jcas, IdentifiedAnnotation annotation)
extract
in interface org.cleartk.ml.feature.extractor.FeatureExtractor1<IdentifiedAnnotation>
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.