public class ParagraphAlignerStep extends BasePipelineStep
SentenceAlignerStep for more fine grained alignment. TextUnits should not be
segmented.| Constructor and Description |
|---|
ParagraphAlignerStep() |
| 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 |
handleDocumentPart(Event event)
Handles the
EventType.DOCUMENT_PART event. |
protected Event |
handleEndBatch(Event event)
Handles the
EventType.END_BATCH event. |
protected Event |
handleEndDocument(Event event)
Handles the
EventType.END_DOCUMENT event. |
protected Event |
handleEndGroup(Event event)
Handles the
EventType.END_GROUP event. |
protected Event |
handleEndSubDocument(Event event)
Handles the
EventType.END_SUBDOCUMENT event. |
protected Event |
handleStartBatch(Event event)
Handles the
EventType.START_BATCH event. |
protected Event |
handleStartDocument(Event event)
Handles the
EventType.START_DOCUMENT event. |
protected Event |
handleStartGroup(Event event)
Handles the
EventType.START_GROUP event. |
protected Event |
handleStartSubDocument(Event event)
Handles the
EventType.START_SUBDOCUMENT event. |
protected Event |
handleTextUnit(Event sourceEvent)
Handles the
EventType.TEXT_UNIT event. |
void |
setFilterConfigurationMapper(IFilterConfigurationMapper fcMapper) |
void |
setParameters(IParameters params)
Sets new parameters for this step.
|
void |
setSecondInput(RawDocument secondInput) |
void |
setSourceLocale(LocaleId sourceLocale) |
void |
setTargetLocale(LocaleId targetLocale) |
cancel, destroy, getHelpLocation, handleCustom, handleEndBatchItem, handleEndSubfilter, handleEvent, handleMultiEvent, handlePipelineParameters, handleRawDocument, handleStartBatchItem, handleStartSubfilter, isDone, isLastOutputStep, setLastOutputSteppublic void setFilterConfigurationMapper(IFilterConfigurationMapper fcMapper)
public void setSourceLocale(LocaleId sourceLocale)
public void setTargetLocale(LocaleId targetLocale)
public void setSecondInput(RawDocument secondInput)
public String getName()
IPipelineSteppublic String getDescription()
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 handleStartBatch(Event event)
BasePipelineStepEventType.START_BATCH event.handleStartBatch in class BasePipelineStepevent - event to handle.protected Event handleEndBatch(Event event)
BasePipelineStepEventType.END_BATCH event.handleEndBatch in class BasePipelineStepevent - event to handle.protected Event handleStartDocument(Event event)
BasePipelineStepEventType.START_DOCUMENT event.handleStartDocument in class BasePipelineStepevent - event to handle.protected Event handleEndDocument(Event event)
BasePipelineStepEventType.END_DOCUMENT event.handleEndDocument in class BasePipelineStepevent - event to handle.protected Event handleDocumentPart(Event event)
BasePipelineStepEventType.DOCUMENT_PART event.handleDocumentPart in class BasePipelineStepevent - event to handle.protected Event handleStartSubDocument(Event event)
BasePipelineStepEventType.START_SUBDOCUMENT event.handleStartSubDocument in class BasePipelineStepevent - event to handle.protected Event handleEndSubDocument(Event event)
BasePipelineStepEventType.END_SUBDOCUMENT event.handleEndSubDocument in class BasePipelineStepevent - event to handle.protected Event handleStartGroup(Event event)
BasePipelineStepEventType.START_GROUP event.handleStartGroup in class BasePipelineStepevent - event to handle.protected Event handleEndGroup(Event event)
BasePipelineStepEventType.END_GROUP event.handleEndGroup in class BasePipelineStepevent - event to handle.protected Event handleTextUnit(Event sourceEvent)
BasePipelineStepEventType.TEXT_UNIT event.handleTextUnit in class BasePipelineStepsourceEvent - event to handle.Copyright © 2021. All rights reserved.