public abstract class TokenCharacterCountStep extends TokenCountStep
| Constructor and Description |
|---|
TokenCharacterCountStep() |
| Modifier and Type | Method and Description |
|---|---|
protected long |
count(Segment segment,
LocaleId locale) |
protected long |
count(TextContainer textContainer,
LocaleId locale) |
static long |
countTokenChars(Tokens tokens,
LocaleId locale)
Return the total character count (calculated per
GMX.TotalCharacterCount)
of all supplied tokens. |
countInTextUnit, filterTokens, getTokenNames, getTokens, getTokenscountOnlyTranslatable, 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 long count(Segment segment, LocaleId locale)
count in class TokenCountStepprotected long count(TextContainer textContainer, LocaleId locale)
count in class TokenCountSteppublic static long countTokenChars(Tokens tokens, LocaleId locale)
GMX.TotalCharacterCount)
of all supplied tokens.Copyright © 2022. All rights reserved.