public class SemanticFieldAnnotator
extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_ANNOTATION_TYPE
Annotation types which should be annotated with semantic fields
|
static String |
PARAM_CONSTRAINT
A constraint on the annotations that should be considered in form of a JXPath statement.
|
static String |
PARAM_SEMANTIC_FIELD_RESOURCE |
Constructor and Description |
---|
SemanticFieldAnnotator() |
Modifier and Type | Method and Description |
---|---|
void |
process(org.apache.uima.jcas.JCas aJCas) |
getLogger, initialize
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final String PARAM_SEMANTIC_FIELD_RESOURCE
public static final String PARAM_ANNOTATION_TYPE
public static final String PARAM_CONSTRAINT
PARAM_ANNOTATION_TYPE
to a NamedEntity
type and set the
PARAM_CONSTRAINT
to ".[value = 'LOCATION']"
to annotate only tokens with semantic fields that are
part of a location named entity.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–2016 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.