public class Backmapper
extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
ApplyChangesAnnotator
this annotator
can be used to map the annotations created in the cleaned view back to the
original view.ApplyChangesAnnotator
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_CHAIN |
protected LinkedList<String> |
sofaChain |
Constructor and Description |
---|
Backmapper() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(org.apache.uima.UimaContext aContext) |
void |
process(org.apache.uima.jcas.JCas aJCas) |
protected void |
updateOffsets(org.apache.uima.jcas.JCas targetView,
String from,
String to,
CasCopier cc) |
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final String PARAM_CHAIN
protected LinkedList<String> sofaChain
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
protected void updateOffsets(org.apache.uima.jcas.JCas targetView, String from, String to, CasCopier cc) throws org.apache.uima.cas.CASException, org.apache.uima.analysis_engine.AnalysisEngineProcessException
org.apache.uima.cas.CASException
org.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2011–2015. All rights reserved.