@PipeBitInfo(name="Named Entity Annotator (RegEx)", description="Use regex to identify the Named Entities. Read the named entity regex - concept id map from the db.", dependencies=SECTION, products=IDENTIFIED_ANNOTATION) public class NamedEntityRegexAnnotator extends org.apache.uima.analysis_component.JCasAnnotator_ImplBase
Constructor and Description |
---|
NamedEntityRegexAnnotator() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(org.apache.uima.UimaContext aContext) |
protected void |
initRegexMap(List<NamedEntityRegex> regexList) |
void |
process(org.apache.uima.jcas.JCas aJCas) |
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public void initialize(org.apache.uima.UimaContext aContext) throws org.apache.uima.resource.ResourceInitializationException
initialize
in interface org.apache.uima.analysis_component.AnalysisComponent
initialize
in class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
org.apache.uima.resource.ResourceInitializationException
protected void initRegexMap(List<NamedEntityRegex> regexList)
public void process(org.apache.uima.jcas.JCas aJCas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process
in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.