@PipeBitInfo(name="Location of Annotator 3", description="Links each anatomical site with the closest entity of a type that\'s suitable for location_of, as long as there is no intervening anatomical site.", role=ANNOTATOR, dependencies={SENTENCE,IDENTIFIED_ANNOTATION}, products=LOCATION_RELATION) public class Baseline3EntityMentionPairRelationExtractorAnnotator extends RelationExtractorAnnotator
RelationExtractorAnnotator.IdentifiedAnnotationPaircategory_frequency, coin, NO_RELATION_CATEGORY, PARAM_PROBABILITY_OF_KEEPING_A_NEGATIVE_EXAMPLE, probabilityOfKeepingANegativeExample| Constructor and Description |
|---|
Baseline3EntityMentionPairRelationExtractorAnnotator() |
| Modifier and Type | Method and Description |
|---|---|
String |
classify(List<org.cleartk.ml.Feature> features)
Predict an outcome given a set of features.
|
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.
|
Class<? extends org.apache.uima.jcas.tcas.Annotation> |
getCoveringClass() |
clearCategoryFrequency, createRelation, getFeatureExtractors, getRelationCategory, getRelationClass, initialize, processgetRequiredCasInterface, processgetCasInstancesRequired, hasNext, nextpublic Baseline3EntityMentionPairRelationExtractorAnnotator()
public Class<? extends org.apache.uima.jcas.tcas.Annotation> getCoveringClass()
getCoveringClass in class RelationExtractorAnnotatorpublic List<RelationExtractorAnnotator.IdentifiedAnnotationPair> getCandidateRelationArgumentPairs(org.apache.uima.jcas.JCas identifiedAnnotationView, org.apache.uima.jcas.tcas.Annotation sentence)
RelationExtractorAnnotatorgetCandidateRelationArgumentPairs in class RelationExtractorAnnotatorpublic String classify(List<org.cleartk.ml.Feature> features)
RelationExtractorAnnotatorclassifier. Subclasses may override
this method to implement more complex classification procedures.classify in class RelationExtractorAnnotatorfeatures - The features to be classified.Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.