Class GMXLeveragedMatchedCharacterCountStep
- java.lang.Object
-
- net.sf.okapi.common.pipeline.BasePipelineStep
-
- net.sf.okapi.steps.wordcount.common.BaseCountStep
-
- net.sf.okapi.steps.wordcount.common.AltAnnotationBasedCountStep
-
- net.sf.okapi.steps.wordcount.categorized.gmx.GMXLeveragedMatchedWordCountStep
-
- net.sf.okapi.steps.wordcount.categorized.gmx.GMXLeveragedMatchedCharacterCountStep
-
- All Implemented Interfaces:
AutoCloseable
,Function<Stream<Event>,Stream<Event>>
,IPipelineStep
,CategoryHandler
public class GMXLeveragedMatchedCharacterCountStep extends GMXLeveragedMatchedWordCountStep
-
-
Field Summary
-
Fields inherited from class net.sf.okapi.steps.wordcount.categorized.gmx.GMXLeveragedMatchedWordCountStep
METRIC
-
-
Constructor Summary
Constructors Constructor Description GMXLeveragedMatchedCharacterCountStep()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CategoryGroup
getCategoryGroup()
protected Class<? extends BaseCounter>
getCounterClass()
String
getDescription()
Gets a short localizable description of what this step does.String
getMetric()
String
getName()
Gets the localizable name of this step.-
Methods inherited from class net.sf.okapi.steps.wordcount.categorized.gmx.GMXLeveragedMatchedWordCountStep
accept
-
Methods inherited from class net.sf.okapi.steps.wordcount.common.AltAnnotationBasedCountStep
count, count, countInTextUnit, countOnlyTranslatable
-
Methods inherited from class net.sf.okapi.steps.wordcount.common.BaseCountStep
getBatchCount, getBatchItemCount, getDocumentCount, getGroupCount, getSource, getSubDocumentCount, handleEndBatch, handleEndBatchItem, handleEndDocument, handleEndGroup, handleEndSubDocument, handleStartBatch, handleStartBatchItem, handleStartDocument, handleStartGroup, handleStartSubDocument, handleTextUnit, removeFromMetrics, removeFromMetrics, removeFromMetrics, saveCount, saveToMetrics, saveToMetrics, saveToMetrics
-
Methods inherited from class net.sf.okapi.common.pipeline.BasePipelineStep
cancel, destroy, getHelpLocation, getParameters, getSourceLocale, getTargetLocale, handleCustom, handleDocumentPart, handleEndSubfilter, handleEvent, handleMultiEvent, handlePipelineParameters, handleRawDocument, handleStartSubfilter, isDone, isLastOutputStep, setLastOutputStep, setParameters, setSourceLocale, setTargetLocale
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.okapi.common.pipeline.IPipelineStep
apply, close, handleStream
-
-
-
-
Method Detail
-
getMetric
public String getMetric()
- Specified by:
getMetric
in interfaceCategoryHandler
- Overrides:
getMetric
in classGMXLeveragedMatchedWordCountStep
-
getDescription
public String getDescription()
Description copied from interface:IPipelineStep
Gets a short localizable description of what this step does.- Specified by:
getDescription
in interfaceIPipelineStep
- Overrides:
getDescription
in classGMXLeveragedMatchedWordCountStep
- Returns:
- the text of a short description of what this step does.
-
getName
public String getName()
Description copied from interface:IPipelineStep
Gets the localizable name of this step.- Specified by:
getName
in interfaceIPipelineStep
- Overrides:
getName
in classGMXLeveragedMatchedWordCountStep
- Returns:
- the localizable name of this step.
-
getCategoryGroup
public CategoryGroup getCategoryGroup()
- Specified by:
getCategoryGroup
in interfaceCategoryHandler
- Overrides:
getCategoryGroup
in classGMXLeveragedMatchedWordCountStep
-
getCounterClass
protected Class<? extends BaseCounter> getCounterClass()
- Overrides:
getCounterClass
in classAltAnnotationBasedCountStep
-
-