Package net.sf.okapi.steps.common
Class ConvertSegmentsToTextUnitsStep
- java.lang.Object
-
- net.sf.okapi.common.pipeline.BasePipelineStep
-
- net.sf.okapi.steps.common.ConvertSegmentsToTextUnitsStep
-
- All Implemented Interfaces:
IPipelineStep
public class ConvertSegmentsToTextUnitsStep extends BasePipelineStep
Convert single segmentedITextUnits to multiple TextUnits, one per aligned sentence pair, for each target locale. If the TextUnit refers to anotherIResourceor 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.- Author:
- hargrave
-
-
Constructor Summary
Constructors Constructor Description ConvertSegmentsToTextUnitsStep()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetName()protected EventhandleTextUnit(Event event)-
Methods inherited from class net.sf.okapi.common.pipeline.BasePipelineStep
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, setTargetLocale
-
-
-
-
Method Detail
-
getName
public String getName()
-
getDescription
public String getDescription()
-
handleTextUnit
protected Event handleTextUnit(Event event)
- Overrides:
handleTextUnitin classBasePipelineStep
-
-