efxtools.sample.ae
Class StanfordNER

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.StanfordNER
All Implemented Interfaces:
org.apache.uima.analysis_component.AnalysisComponent

public class StanfordNER
extends FilteringAnalysisEngine

Named entity recognizer that recognizes named entities in the given input text and classifies them either as location, or as person, or as organization, or as "misc". It wraps the Stanford NER library.


Field Summary
static java.lang.String PARAM_MODEL_FILE
          Parameter for the model file
 
Constructor Summary
StanfordNER()
           
 
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_MODEL_FILE

public static final java.lang.String PARAM_MODEL_FILE
Parameter for the model file

See Also:
Constant Field Values
Constructor Detail

StanfordNER

public StanfordNER()
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