| Package | Description |
|---|---|
| org.apache.ctakes.relationextractor.ae | |
| org.apache.ctakes.relationextractor.ae.baselines |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Iterable<RelationExtractorAnnotator.IdentifiedAnnotationPair> |
RelationExtractorAnnotator.getCandidateRelationArgumentPairs(org.apache.uima.jcas.JCas identifiedAnnotationView,
org.apache.uima.jcas.tcas.Annotation coveringAnnotation)
Selects the relevant mentions/annotations within a covering annotation for
relation identification/extraction.
|
List<RelationExtractorAnnotator.IdentifiedAnnotationPair> |
ManifestationOfRelationExtractorAnnotator.getCandidateRelationArgumentPairs(org.apache.uima.jcas.JCas identifiedAnnotationView,
org.apache.uima.jcas.tcas.Annotation sentence) |
List<RelationExtractorAnnotator.IdentifiedAnnotationPair> |
ManagesTreatsRelationExtractorAnnotator.getCandidateRelationArgumentPairs(org.apache.uima.jcas.JCas identifiedAnnotationView,
org.apache.uima.jcas.tcas.Annotation sentence) |
List<RelationExtractorAnnotator.IdentifiedAnnotationPair> |
LocationOfRelationExtractorAnnotator.getCandidateRelationArgumentPairs(org.apache.uima.jcas.JCas identifiedAnnotationView,
org.apache.uima.jcas.tcas.Annotation sentence) |
List<RelationExtractorAnnotator.IdentifiedAnnotationPair> |
DegreeOfRelationExtractorAnnotator.getCandidateRelationArgumentPairs(org.apache.uima.jcas.JCas identifiedAnnotationView,
org.apache.uima.jcas.tcas.Annotation sentence) |
List<RelationExtractorAnnotator.IdentifiedAnnotationPair> |
CausesBringsAboutRelationExtractorAnnotator.getCandidateRelationArgumentPairs(org.apache.uima.jcas.JCas identifiedAnnotationView,
org.apache.uima.jcas.tcas.Annotation sentence) |
| Modifier and Type | Method and Description |
|---|---|
List<RelationExtractorAnnotator.IdentifiedAnnotationPair> |
Baseline4EntityMentionPairRelationExtractorAnnotator.getCandidateRelationArgumentPairs(org.apache.uima.jcas.JCas identifiedAnnotationView,
org.apache.uima.jcas.tcas.Annotation sentence) |
List<RelationExtractorAnnotator.IdentifiedAnnotationPair> |
Baseline4DegreeOfRelationExtractorAnnotator.getCandidateRelationArgumentPairs(org.apache.uima.jcas.JCas identifiedAnnotationView,
org.apache.uima.jcas.tcas.Annotation sentence) |
List<RelationExtractorAnnotator.IdentifiedAnnotationPair> |
Baseline3EntityMentionPairRelationExtractorAnnotator.getCandidateRelationArgumentPairs(org.apache.uima.jcas.JCas identifiedAnnotationView,
org.apache.uima.jcas.tcas.Annotation sentence) |
List<RelationExtractorAnnotator.IdentifiedAnnotationPair> |
Baseline3DegreeOfRelationExtractorAnnotator.getCandidateRelationArgumentPairs(org.apache.uima.jcas.JCas identifiedAnnotationView,
org.apache.uima.jcas.tcas.Annotation sentence) |
List<RelationExtractorAnnotator.IdentifiedAnnotationPair> |
Baseline2EntityMentionPairRelationExtractorAnnotator.getCandidateRelationArgumentPairs(org.apache.uima.jcas.JCas identifiedAnnotationView,
org.apache.uima.jcas.tcas.Annotation sentence) |
List<RelationExtractorAnnotator.IdentifiedAnnotationPair> |
Baseline2DegreeOfRelationExtractorAnnotator.getCandidateRelationArgumentPairs(org.apache.uima.jcas.JCas identifiedAnnotationView,
org.apache.uima.jcas.tcas.Annotation sentence) |
List<RelationExtractorAnnotator.IdentifiedAnnotationPair> |
Baseline1EntityMentionPairRelationExtractorAnnotator.getCandidateRelationArgumentPairs(org.apache.uima.jcas.JCas identifiedAnnotationView,
org.apache.uima.jcas.tcas.Annotation sentence) |
List<RelationExtractorAnnotator.IdentifiedAnnotationPair> |
Baseline1DegreeOfRelationExtractorAnnotator.getCandidateRelationArgumentPairs(org.apache.uima.jcas.JCas identifiedAnnotationView,
org.apache.uima.jcas.tcas.Annotation sentence) |
| Modifier and Type | Method and Description |
|---|---|
static int |
Utils.getDistance(org.apache.uima.jcas.JCas jCas,
RelationExtractorAnnotator.IdentifiedAnnotationPair pair)
Calculate the distance (in tokens) between two identified annotations.
|
static boolean |
Utils.isEnclosed(RelationExtractorAnnotator.IdentifiedAnnotationPair pair,
TreebankNode np)
Is this pair of entities enclosed inside a noun phrase?
|
static boolean |
Utils.validateDegreeOfArgumentTypes(RelationExtractorAnnotator.IdentifiedAnnotationPair pair)
Are entity types of the arguments valid for degree_of relation?
The following are the valid combinations:
degree-of(disease/disorder/2, modifier)
degree-of(sign/symptom/3, modifier)
|
static boolean |
Utils.validateLocationOfArgumentTypes(RelationExtractorAnnotator.IdentifiedAnnotationPair pair)
Are entity types of the arguments valid for location_of relation?
The following combinations are allowed:
location-of(anatomical site/6, disorder/2)
location-of(anatomical site/6, sign/symptom/3)
location-of(anatomical site/6, procedure/5)
|
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.