public class CdaCasInitializer
extends JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
DEFAULT_DTD_FILE |
protected static java.lang.String |
DEFAULT_HYPHEN_FILE |
protected java.lang.String |
dtdfilepath |
protected java.lang.String |
hyphenfilepath |
private java.lang.Boolean |
includeSectionMarkers |
private Logger |
logger |
static java.lang.String |
PARAM_DTD_FILE |
static java.lang.String |
PARAM_HYPHEN_FILE |
private TextModifier |
tm |
private UimaContext |
uimaContext |
Constructor and Description |
---|
CdaCasInitializer() |
Modifier and Type | Method and Description |
---|---|
private void |
applyTextModifier(java.lang.String text,
java.lang.StringBuffer sb)
Apply text modifier to the text
TODO - move this to
TextModifier and take a Logger
See HyphenTextModifierImpl |
void |
initialize() |
void |
initialize(UimaContext aCtx) |
void |
process(JCas jcas) |
protected static final java.lang.String DEFAULT_HYPHEN_FILE
protected static final java.lang.String DEFAULT_DTD_FILE
private Logger logger
private java.lang.Boolean includeSectionMarkers
private TextModifier tm
private UimaContext uimaContext
public static final java.lang.String PARAM_DTD_FILE
protected java.lang.String dtdfilepath
public static final java.lang.String PARAM_HYPHEN_FILE
protected java.lang.String hyphenfilepath
public void initialize(UimaContext aCtx) throws ResourceInitializationException
ResourceInitializationException
public void initialize() throws ResourceInitializationException
ResourceInitializationException
private void applyTextModifier(java.lang.String text, java.lang.StringBuffer sb) throws java.lang.Exception
TextModifier
and take a Logger
See HyphenTextModifierImpl
sb
- java.lang.Exception
public void process(JCas jcas) throws AnalysisEngineProcessException
AnalysisEngineProcessException