efxtools.sample.ae
Class EfXFoundedExtractor

java.lang.Object
  extended by org.apache.uima.analysis_component.AnalysisComponent_ImplBase
      extended by org.apache.uima.analysis_component.Annotator_ImplBase
          extended by org.apache.uima.analysis_component.JCasAnnotator_ImplBase
              extended by efxtools.filtering.FilteringAnalysisEngine
                  extended by efxtools.sample.ae.EfXFoundedExtractor
All Implemented Interfaces:
org.apache.uima.analysis_component.AnalysisComponent

public class EfXFoundedExtractor
extends FilteringAnalysisEngine

A rather simple lexicon-based relation extractor for the relation type "ORGANIZATION was founded in TIME". The algorithm first looks for relations on sentence-level, then for relations on-paragraph-level, and finally for remaining relations. For each unit of a level the following is done: The algorithm counts the words that indicate the relation of interest for each text unit that contains at least one instance of both associated entity types. a relation is created for each subsequent pair of organization and temporal expression, but the highest number of possibly created relations is given by the number of indicating words. No entity is used in more than one relation.

Author:
Author of EfXTools

Field Summary
static java.lang.String PARAM_LEXICON
          The name of the parameter for the lexicon with words that indicate the relation founded
 
Constructor Summary
EfXFoundedExtractor()
           
 
Method Summary
 void initialize(org.apache.uima.UimaContext aContext)
           
 
Methods inherited from class efxtools.filtering.FilteringAnalysisEngine
process, setResultSpecification
 
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, collectionProcessComplete, destroy, reconfigure
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAM_LEXICON

public static final java.lang.String PARAM_LEXICON
The name of the parameter for the lexicon with words that indicate the relation founded

See Also:
Constant Field Values
Constructor Detail

EfXFoundedExtractor

public EfXFoundedExtractor()
Method Detail

initialize

public void initialize(org.apache.uima.UimaContext aContext)
                throws org.apache.uima.resource.ResourceInitializationException
Specified by:
initialize in interface org.apache.uima.analysis_component.AnalysisComponent
Overrides:
initialize in class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
Throws:
org.apache.uima.resource.ResourceInitializationException