@PipeBitInfo(name="Degree of Annotator 4", description="Annotates Degree Of relations between two entities whenever they are enclosed within the same noun phrase.", role=ANNOTATOR, dependencies={SENTENCE,IDENTIFIED_ANNOTATION}, products=DEGREE_RELATION) public class Baseline4DegreeOfRelationExtractorAnnotator extends DegreeOfRelationExtractorAnnotator
RelationExtractorAnnotator.IdentifiedAnnotationPair
category_frequency, coin, NO_RELATION_CATEGORY, PARAM_PROBABILITY_OF_KEEPING_A_NEGATIVE_EXAMPLE, probabilityOfKeepingANegativeExample
Constructor and Description |
---|
Baseline4DegreeOfRelationExtractorAnnotator() |
Modifier and Type | Method and Description |
---|---|
List<RelationExtractorAnnotator.IdentifiedAnnotationPair> |
getCandidateRelationArgumentPairs(org.apache.uima.jcas.JCas identifiedAnnotationView,
org.apache.uima.jcas.tcas.Annotation sentence)
Selects the relevant mentions/annotations within a covering annotation for
relation identification/extraction.
|
createRelation, getCoveringClass, getRelationClass
classify, clearCategoryFrequency, getFeatureExtractors, getRelationCategory, initialize, process
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public Baseline4DegreeOfRelationExtractorAnnotator()
public List<RelationExtractorAnnotator.IdentifiedAnnotationPair> getCandidateRelationArgumentPairs(org.apache.uima.jcas.JCas identifiedAnnotationView, org.apache.uima.jcas.tcas.Annotation sentence)
RelationExtractorAnnotator
getCandidateRelationArgumentPairs
in class DegreeOfRelationExtractorAnnotator
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.