|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ctakes.relationextractor.ae.features.EntitySpanFeatureExtractor
public class EntitySpanFeatureExtractor
Features that indicate whether both arguments are contained within an NP. E.g.: this extractor should find things like: NP: "Degenerative knee with valgus deformity" arg1: "Degenerative knee" arg2: "valgus deformity"
Constructor Summary | |
---|---|
EntitySpanFeatureExtractor()
|
Method Summary | |
---|---|
java.util.List<org.cleartk.classifier.Feature> |
extract(org.apache.uima.jcas.JCas jCas,
IdentifiedAnnotation arg1,
IdentifiedAnnotation arg2)
Extract features for the pair of named entity mentions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntitySpanFeatureExtractor()
Method Detail |
---|
public java.util.List<org.cleartk.classifier.Feature> extract(org.apache.uima.jcas.JCas jCas, IdentifiedAnnotation arg1, IdentifiedAnnotation arg2) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
RelationFeaturesExtractor
extract
in interface RelationFeaturesExtractor
jCas
- The JCas containing the two named entity mentions.arg1
- The first identified annotation in the text.arg2
- The second identified annotation in the text.
org.apache.uima.analysis_engine.AnalysisEngineProcessException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |