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