org.apache.ctakes.relationextractor.ae
Class DegreeOfRelationExtractorAnnotator
java.lang.Object
org.apache.uima.analysis_component.AnalysisComponent_ImplBase
org.apache.uima.analysis_component.Annotator_ImplBase
org.apache.uima.analysis_component.JCasAnnotator_ImplBase
org.uimafit.component.JCasAnnotator_ImplBase
org.cleartk.classifier.CleartkAnnotator<java.lang.String>
org.apache.ctakes.relationextractor.ae.RelationExtractorAnnotator
org.apache.ctakes.relationextractor.ae.DegreeOfRelationExtractorAnnotator
- All Implemented Interfaces:
- org.apache.uima.analysis_component.AnalysisComponent, org.uimafit.factory.initializable.Initializable
- Direct Known Subclasses:
- Baseline1DegreeOfRelationExtractorAnnotator, Baseline3DegreeOfRelationExtractorAnnotator
public class DegreeOfRelationExtractorAnnotator
- extends RelationExtractorAnnotator
Identifies Degree_Of relation between entities and modifiers
Fields inherited from class org.cleartk.classifier.CleartkAnnotator |
classifier, dataWriter, PARAM_CLASSIFIER_FACTORY_CLASS_NAME, PARAM_DATA_WRITER_FACTORY_CLASS_NAME, PARAM_IS_TRAINING |
Methods inherited from class org.cleartk.classifier.CleartkAnnotator |
collectionProcessComplete, isTraining |
Methods inherited from class org.uimafit.component.JCasAnnotator_ImplBase |
getLogger |
Methods inherited from class org.apache.uima.analysis_component.JCasAnnotator_ImplBase |
getRequiredCasInterface, process |
Methods inherited from class org.apache.uima.analysis_component.Annotator_ImplBase |
getCasInstancesRequired, hasNext, next |
Methods inherited from class org.apache.uima.analysis_component.AnalysisComponent_ImplBase |
batchProcessComplete, destroy, getContext, getResultSpecification, reconfigure, setResultSpecification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DegreeOfRelationExtractorAnnotator
public DegreeOfRelationExtractorAnnotator()
getCandidateRelationArgumentPairs
public java.util.List<RelationExtractorAnnotator.IdentifiedAnnotationPair> getCandidateRelationArgumentPairs(org.apache.uima.jcas.JCas identifiedAnnotationView,
org.apache.uima.jcas.tcas.Annotation sentence)
- Description copied from class:
RelationExtractorAnnotator
- Selects the relevant mentions/annotations within a covering annotation for relation identification/extraction.
- Specified by:
getCandidateRelationArgumentPairs
in class RelationExtractorAnnotator
getCoveringClass
protected java.lang.Class<? extends org.apache.uima.jcas.tcas.Annotation> getCoveringClass()
- Specified by:
getCoveringClass
in class RelationExtractorAnnotator