public abstract class TokenCountStep extends BaseCountStep
| Constructor and Description |
|---|
TokenCountStep() |
| Modifier and Type | Method and Description |
|---|---|
protected long |
count(Segment segment,
LocaleId locale) |
protected long |
count(TextContainer textContainer,
LocaleId locale) |
protected long |
countInTextUnit(ITextUnit textUnit) |
protected Tokens |
filterTokens(Tokens allTokens) |
protected abstract String[] |
getTokenNames() |
protected Tokens |
getTokens(Segment segment,
LocaleId locale) |
protected Tokens |
getTokens(TextContainer textContainer,
LocaleId locale) |
countOnlyTranslatable, getBatchCount, getBatchItemCount, getDescription, getDocumentCount, getGroupCount, getMetric, getName, getSource, getSubDocumentCount, handleEndBatch, handleEndBatchItem, handleEndDocument, handleEndGroup, handleEndSubDocument, handleStartBatch, handleStartBatchItem, handleStartDocument, handleStartGroup, handleStartSubDocument, handleTextUnit, 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, setTargetLocaleprotected abstract String[] getTokenNames()
protected Tokens getTokens(TextContainer textContainer, LocaleId locale)
protected long count(TextContainer textContainer, LocaleId locale)
count in class BaseCountStepprotected long count(Segment segment, LocaleId locale)
count in class BaseCountStepprotected long countInTextUnit(ITextUnit textUnit)
countInTextUnit in class BaseCountStepCopyright © 2022. All rights reserved.