public class ConvertSegmentsToTextUnitsStep extends BasePipelineStep
ITextUnits to multiple TextUnits, one per aligned sentence pair, for each target locale.
If the TextUnit refers to another IResource or is a referent then pass it on as-is even if it has segments. It's
possible these could be safely processed, but it would take considerable effort to implement.| Constructor and Description |
|---|
ConvertSegmentsToTextUnitsStep() |
| 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.
|
protected Event |
handleTextUnit(Event event)
Handles the
EventType.TEXT_UNIT event. |
cancel, destroy, getHelpLocation, getParameters, getSourceLocale, getTargetLocale, handleCustom, handleDocumentPart, handleEndBatch, handleEndBatchItem, handleEndDocument, handleEndGroup, handleEndSubDocument, handleEndSubfilter, handleEvent, handleMultiEvent, handlePipelineParameters, handleRawDocument, handleStartBatch, handleStartBatchItem, handleStartDocument, handleStartGroup, handleStartSubDocument, handleStartSubfilter, isDone, isLastOutputStep, setLastOutputStep, setParameters, setSourceLocale, setTargetLocalepublic String getName()
IPipelineSteppublic String getDescription()
IPipelineStepprotected Event handleTextUnit(Event event)
BasePipelineStepEventType.TEXT_UNIT event.handleTextUnit in class BasePipelineStepevent - event to handle.Copyright © 2022. All rights reserved.