public class ClassifiableEntries
extends org.apache.uima.analysis_component.JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
protected org.apache.log4j.Logger |
iv_logger |
static String |
PARAM_ALLOWED_CLASSES
Name of configuration parameter that determines the allowed
Classification values.
|
static String |
PARAM_IGNORE_SECTIONS
Sections NOT to be entered in ClassifiableEntries
|
static String |
PARAM_PARSE_SECTIONS
Name of configuration parameter that determines whether section headers
will be parsed out and Segments made to cover the section text.
|
static String |
PARAM_SMOKING_STATUS_DESC_STEP1KEY
Name of configuration parameter that must be set to the filepath of the
UIMA descriptor ProductionPostSentenceAggregate.xml
|
static String |
PARAM_SMOKING_STATUS_DESC_STEP2KEY |
static String |
PARAM_TRUTH_FILE
Name of configuration parameter that must be set to the filepath of the
delimited truth file.
|
static String |
PARAM_TRUTH_FILE_DELIMITER
Name of configuration parameter that describes the character delimiter
used in the delimited truth file.
|
Constructor and Description |
---|
ClassifiableEntries() |
Modifier and Type | Method and Description |
---|---|
void |
collectionProcessComplete(org.apache.uima.jcas.JCas jcas) |
void |
destroy() |
void |
initialize(org.apache.uima.UimaContext aContext) |
void |
process(org.apache.uima.jcas.JCas jcas) |
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final String PARAM_SMOKING_STATUS_DESC_STEP1KEY
public static final String PARAM_SMOKING_STATUS_DESC_STEP2KEY
public static final String PARAM_TRUTH_FILE
public static final String PARAM_TRUTH_FILE_DELIMITER
public static final String PARAM_ALLOWED_CLASSES
public static final String PARAM_PARSE_SECTIONS
public static final String PARAM_IGNORE_SECTIONS
protected org.apache.log4j.Logger iv_logger
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.analysis_component.AnalysisComponent_ImplBase
org.apache.uima.resource.ResourceInitializationException
public void process(org.apache.uima.jcas.JCas jcas)
process
in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
public void destroy()
destroy
in interface org.apache.uima.analysis_component.AnalysisComponent
destroy
in class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
public void collectionProcessComplete(org.apache.uima.jcas.JCas jcas) throws org.apache.uima.resource.ResourceProcessException, IOException
org.apache.uima.resource.ResourceProcessException
IOException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.