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.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
downgradeIdenticalBestMatches | boolean | false | Reduser poengsum med 1%% når flere identiske eksakte treff returneres |
fillIfTargetIsEmpty | boolean | false | Fyll inn målet kun når det ikke har eksisterende innhold |
fillTarget | boolean | true | Kopier den beste oversettelseskandidaten inn i målinnholdet |
fillTargetThreshold | integer | 95 | Minimum matchpoengsum som kreves for å fylle ut målet |
fuzzyThreshold | integer | 70 | Minimumspoengsum for uskarpe treff (0–100) |
makeTmx | boolean | false | Opprett en TMX-fil med alle gjenbrukte treff |
noQueryThreshold | integer | 101 | Hopp over innholds-minnespørring hvis eksisterende kandidat scorer på eller over denne verdien (101 = alltid spør) |
tmxPath | string | Filbane for det genererte TMX-dokumentet |
Configure it live
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