public class CharacterCountStep extends BasePipelineStep
| Constructor and Description |
|---|
CharacterCountStep() |
cancel, destroy, getHelpLocation, getParameters, getSourceLocale, getTargetLocale, handleCustom, handleDocumentPart, handleEndSubfilter, handleEvent, handleMultiEvent, handlePipelineParameters, handleRawDocument, handleStartSubfilter, isDone, isLastOutputStep, setLastOutputStep, setParameters, setSourceLocale, setTargetLocalepublic String getDescription()
IPipelineSteppublic String getName()
IPipelineStepprotected void saveCount(Metrics metrics, CharacterCounter.Counts count)
public CharacterCounter.Counts getBatchCount()
public CharacterCounter.Counts getBatchItemCount()
public CharacterCounter.Counts getDocumentCount()
public CharacterCounter.Counts getSubDocumentCount()
public CharacterCounter.Counts getGroupCount()
protected void saveToMetrics(Event event, CharacterCounter.Counts count)
protected void removeFromMetrics(IWithAnnotations res, String metricName)
protected void removeFromMetrics(TextContainer textContainer, String metricName)
protected void saveToMetrics(TextContainer textContainer, CharacterCounter.Counts count)
protected void saveToMetrics(Segment seg, CharacterCounter.Counts count)
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 handleStartBatchItem(Event event)
BasePipelineStepEventType.START_BATCH_ITEM event.handleStartBatchItem in class BasePipelineStepevent - event to handle.protected Event handleEndBatchItem(Event event)
BasePipelineStepEventType.END_BATCH_ITEM event.handleEndBatchItem 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 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 TextContainer getSource()
protected Event handleTextUnit(Event event)
BasePipelineStepEventType.TEXT_UNIT event.handleTextUnit in class BasePipelineStepevent - event to handle.Copyright © 2021. All rights reserved.