public class IdBasedAlignerStep extends BasePipelineStep
TextUnits based on matching ids. The ids are taken from the name (TextUnit#getName)
or id (TextUnit#getId) of each TextUnit, depending on configuration.
Any IFilter that produces a name for its TextUnits will work with this aligner.
Expects filtered Events as input and returns a new (aligned) bi-lingual TextUnit Event. Optionally
produce a TMX file in the specified output path.| Constructor and Description |
|---|
IdBasedAlignerStep() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getName() |
Parameters |
getParameters() |
protected Event |
handleEndBatch(Event event) |
protected Event |
handleEndDocument(Event event) |
protected Event |
handleStartBatch(Event event) |
protected Event |
handleStartDocument(Event event) |
protected Event |
handleTextUnit(Event sourceEvent) |
void |
setExecutionContext(ExecutionContext context) |
void |
setFilterConfigurationMapper(IFilterConfigurationMapper fcMapper) |
void |
setParameters(IParameters params) |
void |
setSecondInput(RawDocument secondInput) |
void |
setSourceLocale(LocaleId sourceLocale) |
void |
setTargetLocale(LocaleId targetLocale) |
cancel, destroy, getHelpLocation, handleCustom, handleDocumentPart, handleEndBatchItem, handleEndGroup, handleEndSubDocument, handleEndSubfilter, handleEvent, handleMultiEvent, handlePipelineParameters, handleRawDocument, handleStartBatchItem, handleStartGroup, handleStartSubDocument, handleStartSubfilter, isDone, isLastOutputStep, setLastOutputSteppublic void setFilterConfigurationMapper(IFilterConfigurationMapper fcMapper)
public void setSourceLocale(LocaleId sourceLocale)
public void setTargetLocale(LocaleId targetLocale)
public void setSecondInput(RawDocument secondInput)
public void setExecutionContext(ExecutionContext context)
public String getDescription()
public String getName()
public Parameters getParameters()
getParameters in interface IPipelineStepgetParameters in class BasePipelineSteppublic void setParameters(IParameters params)
setParameters in interface IPipelineStepsetParameters in class BasePipelineStepprotected Event handleStartBatch(Event event)
handleStartBatch in class BasePipelineStepprotected Event handleEndBatch(Event event)
handleEndBatch in class BasePipelineStepprotected Event handleStartDocument(Event event)
handleStartDocument in class BasePipelineStepprotected Event handleEndDocument(Event event)
handleEndDocument in class BasePipelineStepprotected Event handleTextUnit(Event sourceEvent)
handleTextUnit in class BasePipelineStepCopyright © 2019. All rights reserved.