@PipeBitInfo(name="Overlap Annotator", description="Removes or modifies annotations that overlap.", role=SPECIAL, dependencies=BASE_TOKEN) public class OverlapAnnotator extends org.apache.uima.analysis_component.JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
static byte |
OVERLAP_A_ENV_B
A completely envelopes B
|
static byte |
OVERLAP_B_ENV_A
B completely envelopes A
|
static byte |
OVERLAP_EXACT
A and B have identical offsets
|
static byte |
OVERLAP_NONE
No overlap at all between A and B
|
static byte |
OVERLAP_PARTIAL
A and B only partially overlap
|
Constructor and Description |
---|
OverlapAnnotator() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(org.apache.uima.UimaContext annotCtx) |
void |
process(org.apache.uima.jcas.JCas jcas) |
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final byte OVERLAP_NONE
public static final byte OVERLAP_PARTIAL
public static final byte OVERLAP_EXACT
public static final byte OVERLAP_A_ENV_B
public static final byte OVERLAP_B_ENV_A
public void initialize(org.apache.uima.UimaContext annotCtx) 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
public void process(org.apache.uima.jcas.JCas jcas) 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.