public class GMXAlphanumericOnlyTextUnitWordCountStep extends TokenCountStep implements CategoryHandler
| Constructor and Description |
|---|
GMXAlphanumericOnlyTextUnitWordCountStep() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
countOnlyTranslatable() |
protected Tokens |
filterTokens(Tokens allTokens) |
CategoryGroup |
getCategoryGroup() |
String |
getDescription()
Gets a short localizable description of what this step does.
|
String |
getMetric() |
String |
getName()
Gets the localizable name of this step.
|
protected String[] |
getTokenNames() |
protected Event |
handleTextUnit(Event event)
Handles the
EventType.TEXT_UNIT event. |
count, count, countInTextUnit, getTokens, getTokensgetBatchCount, getBatchItemCount, getDocumentCount, getGroupCount, getSource, getSubDocumentCount, handleEndBatch, handleEndBatchItem, handleEndDocument, handleEndGroup, handleEndSubDocument, handleStartBatch, handleStartBatchItem, handleStartDocument, handleStartGroup, handleStartSubDocument, removeFromMetrics, removeFromMetrics, removeFromMetrics, saveCount, saveToMetrics, saveToMetrics, saveToMetricscancel, destroy, getHelpLocation, getParameters, getSourceLocale, getTargetLocale, handleCustom, handleDocumentPart, handleEndSubfilter, handleEvent, handleMultiEvent, handlePipelineParameters, handleRawDocument, handleStartSubfilter, isDone, isLastOutputStep, setLastOutputStep, setParameters, setSourceLocale, setTargetLocalepublic static final String METRIC
public GMXAlphanumericOnlyTextUnitWordCountStep()
protected String[] getTokenNames()
getTokenNames in class TokenCountStepprotected Tokens filterTokens(Tokens allTokens)
filterTokens in class TokenCountSteppublic String getName()
IPipelineStepgetName in interface IPipelineStepgetName in class BaseCountSteppublic String getDescription()
IPipelineStepgetDescription in interface IPipelineStepgetDescription in class BaseCountSteppublic String getMetric()
getMetric in interface CategoryHandlergetMetric in class BaseCountStepprotected boolean countOnlyTranslatable()
countOnlyTranslatable in class BaseCountStepprotected Event handleTextUnit(Event event)
BasePipelineStepEventType.TEXT_UNIT event.handleTextUnit in class BaseCountStepevent - event to handle.public CategoryGroup getCategoryGroup()
getCategoryGroup in interface CategoryHandlerCopyright © 2021. All rights reserved.