public class PostSegmentationCodeSimplifierStep extends BasePipelineStep
WARNING: An error will be thrown if the TextUnits have not been segmented. This step must be run post-segmentation as trimmed codes are moved to inter-segment TextParts.
TextParts will be created if needed.
| Constructor and Description |
|---|
PostSegmentationCodeSimplifierStep() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets a short localizable description of what this step does.
|
String |
getName()
Gets the localizable name of this step.
|
Parameters |
getParameters()
Gets the current parameters for this step.
|
protected Event |
handleCustom(Event event)
Handles the
EventType.CUSTOM event. |
protected Event |
handleTextUnit(Event event)
Handles the
EventType.TEXT_UNIT event. |
void |
setParameters(IParameters params)
Sets new parameters for this step.
|
cancel, destroy, getHelpLocation, handleDocumentPart, handleEndBatch, handleEndBatchItem, handleEndDocument, handleEndGroup, handleEndSubDocument, handleEndSubfilter, handleEvent, handleMultiEvent, handlePipelineParameters, handleRawDocument, handleStartBatch, handleStartBatchItem, handleStartDocument, handleStartGroup, handleStartSubDocument, handleStartSubfilter, isDone, isLastOutputStep, setLastOutputSteppublic String getDescription()
IPipelineSteppublic String getName()
IPipelineSteppublic Parameters getParameters()
IPipelineStepgetParameters in interface IPipelineStepgetParameters in class BasePipelineSteppublic void setParameters(IParameters params)
IPipelineStepsetParameters in interface IPipelineStepsetParameters in class BasePipelineStepparams - the new parameters to use.protected Event handleTextUnit(Event event)
BasePipelineStepEventType.TEXT_UNIT event.handleTextUnit in class BasePipelineStepevent - event to handle.protected Event handleCustom(Event event)
BasePipelineStepEventType.CUSTOM event.handleCustom in class BasePipelineStepevent - event to handle.Copyright © 2021. All rights reserved.