Gå til hovedinnhold

Recycle tool

The Recycle tool queries a content memory (Memory) for each block's source text and pre-fills the target with the best match. It tries an exact match first, then a fuzzy match above a configurable threshold, recording the match score and type (exact or fuzzy) on the block. It requires a target language and a content-memory provider; without a content memory the tool has nothing to leverage.

Whether a match is written into the target is governed by a fill threshold and an "only if empty" option, so high-confidence matches can be applied while weaker ones are recorded but left for review. A no-query threshold lets the tool skip the content-memory lookup when an existing candidate already scores high enough. Optionally, all leveraged matches can be written to a TMX file.

IDrecycle
SourceBuilt-in
CategoryTranslation
Cardinalitybilingual
Requirestarget-language, memory
Tagstranslation, l10n

Parameters

ParameterTypeDefaultDescription
downgradeIdenticalBestMatchesbooleanfalseReduser poengsum med 1%% når flere identiske eksakte treff returneres
fillIfTargetIsEmptybooleanfalseFyll inn målet kun når det ikke har eksisterende innhold
fillTargetbooleantrueKopier den beste oversettelseskandidaten inn i målinnholdet
fillTargetThresholdinteger95Minimum matchpoengsum som kreves for å fylle ut målet
fuzzyThresholdinteger70Minimumspoengsum for uskarpe treff (0–100)
makeTmxbooleanfalseOpprett en TMX-fil med alle gjenbrukte treff
noQueryThresholdinteger101Hopp over innholds-minnespørring hvis eksisterende kandidat scorer på eller over denne verdien (101 = alltid spør)
tmxPathstringFilbane for det genererte TMX-dokumentet

Configure it live

Configuration
Loading form…

Examples

Apply only high-confidence matches

Fill the target from matches scoring 95 or above.

fillTarget: true
fillTargetThreshold: 95

Leverage and export to TMX

Lower the fuzzy threshold and write matches to a TMX file.

fuzzyThreshold: 60
makeTmx: true
tmxPath: ./leverage.tmx

Processing notes

  • Operates on translatable blocks with a non-empty source; other parts pass through unchanged.

  • Exact matches are tried before fuzzy matches; the match score and type are recorded as block properties.

  • With a structure-aware content-memory provider, matching runs against the block's inline-code structure and fills carry the matched entry's runs, so markup placeholders survive the fill; a 100% match means text and structure agree.

  • Ambiguous matches (several full-score entries with differing targets) are recorded but never fill the target; the choice surfaces for review instead of being picked by storage order.

Limitations

  • Requires a target language and a content-memory provider; with no Memory there is nothing to leverage.

← Back to the Tool Reference