efxtools.sample.ae
Class StanfordNER
java.lang.Object
org.apache.uima.analysis_component.AnalysisComponent_ImplBase
org.apache.uima.analysis_component.Annotator_ImplBase
org.apache.uima.analysis_component.JCasAnnotator_ImplBase
efxtools.filtering.FilteringAnalysisEngine
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 |
|
Method Summary |
void |
initialize(org.apache.uima.UimaContext aContext)
|
| 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 |
PARAM_MODEL_FILE
public static final java.lang.String PARAM_MODEL_FILE
- Parameter for the model file
- See Also:
- Constant Field Values
StanfordNER
public StanfordNER()
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