public class SectionFeatureExtractor extends Object implements RelationFeaturesExtractor<IdentifiedAnnotation,IdentifiedAnnotation>
Constructor and Description |
---|
SectionFeatureExtractor() |
Modifier and Type | Method and Description |
---|---|
List<org.cleartk.ml.Feature> |
extract(org.apache.uima.jcas.JCas jcas,
IdentifiedAnnotation ante,
IdentifiedAnnotation ana)
Extract features for the pair of named entity mentions.
|
public List<org.cleartk.ml.Feature> extract(org.apache.uima.jcas.JCas jcas, IdentifiedAnnotation ante, IdentifiedAnnotation ana) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
RelationFeaturesExtractor
extract
in interface RelationFeaturesExtractor<IdentifiedAnnotation,IdentifiedAnnotation>
jcas
- The JCas containing the two named entity mentions.ante
- The first identified annotation in the text.ana
- The second identified annotation in the text.org.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.