Class ToIOBConsumer
- java.lang.Object
-
- org.apache.uima.analysis_component.AnalysisComponent_ImplBase
-
- org.apache.uima.analysis_component.Annotator_ImplBase
-
- org.apache.uima.analysis_component.JCasAnnotator_ImplBase
-
- de.julielab.jcore.consumer.cas2iob.main.ToIOBConsumer
-
- All Implemented Interfaces:
org.apache.uima.analysis_component.AnalysisComponent
public class ToIOBConsumer extends org.apache.uima.analysis_component.JCasAnnotator_ImplBase- Author:
- weigel, faessler
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPARAM_ADD_POSstatic java.lang.StringPARAM_COLUMN_SEPARATORstatic java.lang.StringPARAM_IOB_LABEL_NAMESstatic java.lang.StringPARAM_IOB_MARK_SEPARATORstatic java.lang.StringPARAM_LABEL_METHODSstatic java.lang.StringPARAM_LABELSstatic java.lang.StringPARAM_MODEstatic java.lang.StringPARAM_OUTFOLDERstatic java.lang.StringPARAM_TYPE_PATH
-
Constructor Summary
Constructors Constructor Description ToIOBConsumer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.julielab.segmentationEvaluator.IOToken[]convertToIOB(org.apache.uima.jcas.JCas jcas)voidinitialize(org.apache.uima.UimaContext aContext)voidprocess(org.apache.uima.jcas.JCas jCas)-
Methods inherited from class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
getRequiredCasInterface, process
-
Methods inherited from class org.apache.uima.analysis_component.Annotator_ImplBase
getCasInstancesRequired, hasNext, next
-
-
-
-
Field Detail
-
PARAM_LABELS
public static final java.lang.String PARAM_LABELS
- See Also:
- Constant Field Values
-
PARAM_OUTFOLDER
public static final java.lang.String PARAM_OUTFOLDER
- See Also:
- Constant Field Values
-
PARAM_LABEL_METHODS
public static final java.lang.String PARAM_LABEL_METHODS
- See Also:
- Constant Field Values
-
PARAM_IOB_LABEL_NAMES
public static final java.lang.String PARAM_IOB_LABEL_NAMES
- See Also:
- Constant Field Values
-
PARAM_TYPE_PATH
public static final java.lang.String PARAM_TYPE_PATH
- See Also:
- Constant Field Values
-
PARAM_MODE
public static final java.lang.String PARAM_MODE
- See Also:
- Constant Field Values
-
PARAM_ADD_POS
public static final java.lang.String PARAM_ADD_POS
- See Also:
- Constant Field Values
-
PARAM_COLUMN_SEPARATOR
public static final java.lang.String PARAM_COLUMN_SEPARATOR
- See Also:
- Constant Field Values
-
PARAM_IOB_MARK_SEPARATOR
public static final java.lang.String PARAM_IOB_MARK_SEPARATOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
public void initialize(org.apache.uima.UimaContext aContext) throws org.apache.uima.resource.ResourceInitializationException- Specified by:
initializein interfaceorg.apache.uima.analysis_component.AnalysisComponent- Overrides:
initializein classorg.apache.uima.analysis_component.AnalysisComponent_ImplBase- Throws:
org.apache.uima.resource.ResourceInitializationException
-
process
public void process(org.apache.uima.jcas.JCas jCas)
- Specified by:
processin classorg.apache.uima.analysis_component.JCasAnnotator_ImplBase
-
convertToIOB
public de.julielab.segmentationEvaluator.IOToken[] convertToIOB(org.apache.uima.jcas.JCas jcas)
- Parameters:
jcas-
-
-