org.apache.ctakes.assertion.medfacts.cleartk.extractors
Class TreeFragmentFeatureExtractor
java.lang.Object
org.apache.ctakes.assertion.medfacts.cleartk.extractors.TreeFragmentFeatureExtractor
- All Implemented Interfaces:
- org.cleartk.classifier.feature.extractor.simple.SimpleFeatureExtractor
- Direct Known Subclasses:
- AboveLeftFragmentExtractor, AboveRightFragmentExtractor
public abstract class TreeFragmentFeatureExtractor
- extends Object
- implements org.cleartk.classifier.feature.extractor.simple.SimpleFeatureExtractor
Method Summary |
abstract List<org.cleartk.classifier.Feature> |
extract(org.apache.uima.jcas.JCas jcas,
org.apache.uima.jcas.tcas.Annotation annotation)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAM_OUTPUTDIR
public static final String PARAM_OUTPUTDIR
- See Also:
- Constant Field Values
PARAM_SEMDIR
public static final String PARAM_SEMDIR
- See Also:
- Constant Field Values
frags
protected static HashSet<SimpleTree> frags
sems
protected SemanticClasses sems
prefix
protected String prefix
TreeFragmentFeatureExtractor
public TreeFragmentFeatureExtractor(String prefix,
String resourceFilename)
throws org.cleartk.util.CleartkInitializationException
- Throws:
org.cleartk.util.CleartkInitializationException
extract
public abstract List<org.cleartk.classifier.Feature> extract(org.apache.uima.jcas.JCas jcas,
org.apache.uima.jcas.tcas.Annotation annotation)
- Specified by:
extract
in interface org.cleartk.classifier.feature.extractor.simple.SimpleFeatureExtractor
Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.