@PipeBitInfo(name="CDA View Sectionizer", description="Transforms CDA text into plain text, inserts hyphens into words, stores the resulting text in a new View and creates Sections.", dependencies=DOCUMENT_ID, products=SECTION) public class CdaCasInitializer extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
protected static String |
DEFAULT_DTD_FILE |
protected static String |
DEFAULT_HYPHEN_FILE |
protected String |
dtdfilepath |
protected String |
hyphenfilepath |
static String |
PARAM_DTD_FILE |
static String |
PARAM_HYPHEN_FILE |
Constructor and Description |
---|
CdaCasInitializer() |
Modifier and Type | Method and Description |
---|---|
void |
initialize() |
void |
initialize(org.apache.uima.UimaContext aCtx) |
void |
process(org.apache.uima.jcas.JCas jcas) |
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
protected static final String DEFAULT_HYPHEN_FILE
protected static final String DEFAULT_DTD_FILE
public static final String PARAM_DTD_FILE
protected String dtdfilepath
public static final String PARAM_HYPHEN_FILE
protected String hyphenfilepath
public void initialize(org.apache.uima.UimaContext aCtx) 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 initialize() throws org.apache.uima.resource.ResourceInitializationException
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.