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 the description of this component.
|
String |
getMetric() |
String |
getName()
Gets the name of this component.
|
protected String[] |
getTokenNames() |
protected Event |
handleTextUnit(Event event)
Handles the
EventType.TEXT_UNIT event. |
count, count, countInTextUnit, getTokens, getTokenscomponent_init, getBatchCount, getBatchItemCount, getDocumentCount, getGroupCount, getSource, getSubDocumentCount, handleEndBatch, handleEndBatchItem, handleEndDocument, handleEndGroup, handleEndSubDocument, handleStartBatch, handleStartBatchItem, handleStartDocument, handleStartGroup, handleStartSubDocument, removeFromMetrics, removeFromMetrics, removeFromMetrics, saveCount, saveToMetrics, saveToMetrics, saveToMetricscancel, 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, setParameterspublic static final String METRIC
public GMXAlphanumericOnlyTextUnitWordCountStep()
protected String[] getTokenNames()
getTokenNames in class TokenCountStepprotected Tokens filterTokens(Tokens allTokens)
filterTokens in class TokenCountSteppublic String getName()
IComponentgetName in interface IPipelineStepgetName in interface IComponentgetName in class BaseCountSteppublic String getDescription()
IComponentgetDescription in interface IPipelineStepgetDescription in interface IComponentgetDescription in class BaseCountSteppublic String getMetric()
getMetric in interface CategoryHandlergetMetric in class BaseCountStepprotected boolean countOnlyTranslatable()
countOnlyTranslatable in class BaseCountStepprotected Event handleTextUnit(Event event)
AbstractPipelineStepEventType.TEXT_UNIT event.handleTextUnit in class BaseCountStepevent - the event itself.public CategoryGroup getCategoryGroup()
getCategoryGroup in interface CategoryHandlerCopyright © 2021. All rights reserved.