Skip to content

Definitional translation

definitional_translation · translation · validated

Check an ordered expansion of every source token into one supplied target-language gloss. This verifies the supplied mapping, not its semantic accuracy.

Provenance

  • Source: Marcel Bénabou and Georges Perec, littérature définitionnelle (1966)
  • Attribution: primary — a named author, work and year this catalogue stands behind
  • Checkability: source — decidable against the source text it was made from
  • Attested: author-stated — the originator set this rule down

Details

  • Kind: both
  • Languages: en
  • Requires: tokens
  • Deterministic: yes

Notes

ADR 0049: data is versioned JSON with distinct source/target language labels, provenance and gloss alternatives. lang must match the source label. Case, punctuation and whitespace are ignored; word order and occurrence counts are preserved. Unknown source tokens, empty sources, omissions and extra candidate words fail. The target language label and definitions are caller declarations, not independently verified facts. This supplies a structural checker without claiming a bilingual lexicon capability on any pack. At most 4096 tokens per text; checking only.

Prompt hint

Supply versioned bilingual JSON data and a source; unknown entries fail.

Parameters

Name Type Default Description
data string — Versioned JSON containing source-token to target-gloss alternatives.
source string — The text this one was made from.

Examples

supplied-data-match

en — this text satisfies the procedure.

petit animal animal fidèle

Parameters: source='cat dog', data='{"version": "supplied-bilingual-v1", "source_language": "en", "target_language": "fr", "provenance": "constructed test data; not a verified bilingual dictionary", "glosses": {"cat": ["petit animal"], "dog": ["animal fidèle"]}}'

Source: constructed structural example; data is not independently verified

supplied-data-mismatch

en — this text does not satisfy the procedure.

animal fidèle petit animal

Parameters: source='cat dog', data='{"version": "supplied-bilingual-v1", "source_language": "en", "target_language": "fr", "provenance": "constructed test data; not a verified bilingual dictionary", "glosses": {"cat": ["petit animal"], "dog": ["animal fidèle"]}}'

Source: constructed structural counterexample