public class OpenNlpNamedEntityRecognizer
extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
protected String |
language |
protected String |
mappingLocation |
protected String |
modelLocation |
static String |
PARAM_LANGUAGE
Use this language instead of the document language to resolve the model.
|
static String |
PARAM_MODEL_LOCATION
Location from which the model is read.
|
static String |
PARAM_NAMED_ENTITY_MAPPING_LOCATION
Location of the mapping file for named entity tags to UIMA types.
|
static String |
PARAM_PRINT_TAGSET
Log the tag set(s) when a model is loaded.
|
static String |
PARAM_VARIANT
Variant of a model the model.
|
protected boolean |
printTagSet |
protected String |
variant |
Constructor and Description |
---|
OpenNlpNamedEntityRecognizer() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(org.apache.uima.UimaContext aContext) |
void |
process(org.apache.uima.jcas.JCas aJCas) |
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final String PARAM_PRINT_TAGSET
protected boolean printTagSet
public static final String PARAM_LANGUAGE
protected String language
public static final String PARAM_VARIANT
protected String variant
public static final String PARAM_MODEL_LOCATION
protected String modelLocation
public static final String PARAM_NAMED_ENTITY_MAPPING_LOCATION
protected String mappingLocation
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.fit.component.JCasAnnotator_ImplBase
org.apache.uima.resource.ResourceInitializationException
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 © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.