Class CodeSimplifierStep
- java.lang.Object
-
- net.sf.okapi.common.pipeline.BasePipelineStep
-
- net.sf.okapi.steps.common.codesimplifier.CodeSimplifierStep
-
- All Implemented Interfaces:
IPipelineStep
public class CodeSimplifierStep extends BasePipelineStep
!!! It's important to include this step in a pipeline before any source-copying or leveraging steps, because it can modify codes in the source, and target codes will easily get desynchronized with their sources. The best place for this step -- right after the filter.
-
-
Constructor Summary
Constructors Constructor Description CodeSimplifierStep()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetName()ParametersgetParameters()protected EventhandleTextUnit(Event event)voidsetParameters(IParameters params)-
Methods inherited from class net.sf.okapi.common.pipeline.BasePipelineStep
cancel, destroy, getHelpLocation, getSourceLocale, getTargetLocale, handleCustom, handleDocumentPart, handleEndBatch, handleEndBatchItem, handleEndDocument, handleEndGroup, handleEndSubDocument, handleEndSubfilter, handleEvent, handleMultiEvent, handlePipelineParameters, handleRawDocument, handleStartBatch, handleStartBatchItem, handleStartDocument, handleStartGroup, handleStartSubDocument, handleStartSubfilter, isDone, isLastOutputStep, setLastOutputStep, setSourceLocale, setTargetLocale
-
-
-
-
Method Detail
-
getDescription
public String getDescription()
-
getName
public String getName()
-
getParameters
public Parameters getParameters()
- Specified by:
getParametersin interfaceIPipelineStep- Overrides:
getParametersin classBasePipelineStep
-
setParameters
public void setParameters(IParameters params)
- Specified by:
setParametersin interfaceIPipelineStep- Overrides:
setParametersin classBasePipelineStep
-
handleTextUnit
protected Event handleTextUnit(Event event)
- Overrides:
handleTextUnitin classBasePipelineStep
-
-