Gå til hovedinnhold

Word Count tool

The Word Count tool tallies the number of words in every translatable block, reporting per-block counts and a document total. It is the standard way to scope a localization job — how much text needs translating — and to drive word-based pricing.

Counting runs over the segmented text. By default both the source and the target locale are counted, so you can compare untranslated versus translated volume. Inline codes (placeholders, tags, variables) are excluded from the count unless you opt in, because they are markup rather than translatable words.

IDword-count
SourceBuilt-in
Categoryanalysis
Cardinalitymonolingual
Tagsanalysis

Parameters

ParameterTypeDefaultDescription
countInlinebooleanfalseInclude inline code content in word counts
countSourcebooleantrueCount words in source text
countTargetbooleantrueCount words in target text

Configure these parameters interactively and copy the flow-step YAML on the Tool Reference.

Examples

Count source words only

Scope a job by source volume, ignoring any existing translations.

countSource: true
countTarget: false

Include inline codes

Reflect placeholder and tag text in the totals.

countInline: true

Processing notes

  • Operates on translatable blocks; non-translatable structure passes through unchanged.

  • Target counts are reported per target locale.

Limitations

  • Counting follows the active segmentation; results depend on how the text was segmented.

← Back to the Tool Reference