public class CharacterCountStep
extends net.sf.okapi.lib.extra.steps.AbstractPipelineStep
| Constructor and Description |
|---|
CharacterCountStep() |
cancel, destroy, getHelpLocation, getSourceLocale, getTargetLocale, handleCustom, handleDocumentPart, handleEndSubfilter, handleEvent, handleMultiEvent, handlePipelineParameters, handleRawDocument, handleStartSubfilter, isDone, isLastOutputStep, setLastOutputStep, setSourceLocale, setTargetLocalecomponent_done, getParameters, getParameters, getParametersClassName, setParametersexec, setDescription, setName, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParameters, setParametersprotected void component_init()
component_init in class net.sf.okapi.lib.extra.OkapiComponentpublic String getDescription()
getDescription in interface IPipelineStepgetDescription in interface net.sf.okapi.lib.extra.IComponentgetDescription in class net.sf.okapi.lib.extra.Componentpublic String getName()
getName in interface IPipelineStepgetName in interface net.sf.okapi.lib.extra.IComponentgetName in class net.sf.okapi.lib.extra.Componentprotected 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)
handleStartBatch in class net.sf.okapi.lib.extra.steps.AbstractPipelineStepprotected Event handleEndBatch(Event event)
handleEndBatch in class net.sf.okapi.lib.extra.steps.AbstractPipelineStepprotected Event handleStartBatchItem(Event event)
handleStartBatchItem in class net.sf.okapi.lib.extra.steps.AbstractPipelineStepprotected Event handleEndBatchItem(Event event)
handleEndBatchItem in class net.sf.okapi.lib.extra.steps.AbstractPipelineStepprotected Event handleStartDocument(Event event)
handleStartDocument in class net.sf.okapi.lib.extra.steps.AbstractPipelineStepprotected Event handleEndDocument(Event event)
handleEndDocument in class net.sf.okapi.lib.extra.steps.AbstractPipelineStepprotected Event handleStartSubDocument(Event event)
handleStartSubDocument in class net.sf.okapi.lib.extra.steps.AbstractPipelineStepprotected Event handleEndSubDocument(Event event)
handleEndSubDocument in class net.sf.okapi.lib.extra.steps.AbstractPipelineStepprotected Event handleStartGroup(Event event)
handleStartGroup in class net.sf.okapi.lib.extra.steps.AbstractPipelineStepprotected Event handleEndGroup(Event event)
handleEndGroup in class net.sf.okapi.lib.extra.steps.AbstractPipelineStepprotected TextContainer getSource()
Copyright © 2021. All rights reserved.