public class OverlappedHeadFeaturesExtractor extends TokenFeaturesExtractor
Constructor and Description |
---|
OverlappedHeadFeaturesExtractor() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Feature> |
extract(JCas jCas,
IdentifiedAnnotation mention1,
IdentifiedAnnotation mention2)
Extract features for the pair of named entity mentions.
|
public java.util.List<Feature> extract(JCas jCas, IdentifiedAnnotation mention1, IdentifiedAnnotation mention2) throws 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.AnalysisEngineProcessException