use case · multi-model · OPUS-MT EN→DE (106.02 MB) → OPUS-MT DE→EN (106.0 MB) · ~212 MB total · CC-BY-4.0 + Apache-2.0

EN → DE → EN Round-Trip Semantic-Drift & Parity Inspector

Verify English-to-German localization fidelity without a human bilingual reviewer (~212 MB combined across two isolated Web Workers): Stage 1 runs OPUS-MT EN→DE (106.02 MB q8 WASM, CC-BY-4.0), then Stage 2 reuses OPUS-MT DE→EN (../../opus-mt-de-en/worker.js, 106.0 MB q8 WASM, Apache-2.0) to back-translate into English and measure live BLEU, chrF, word-overlap %, numeric parity, and lexical drift.

1 · Workflow models (~212 MB total · two isolated WASM workers)

Stage 1 · OPUS-MT EN→DE (106.02 MB)

Helsinki-NLP/opus-mt-en-de → Xenova/opus-mt-en-de · q8 WASM · CC-BY-4.0

Stage 2 · OPUS-MT DE→EN Verifier (106.0 MB)

Reuses ../../opus-mt-de-en/worker.js · Xenova/opus-mt-de-en · q8 WASM · Apache-2.0

2 · Round-Trip EN → DE → EN Consistency & Drift Pipeline

Curated English round-trip presets
Drop an English .txt or .md file here, paste via clipboard, or upload a local file:
ux-action

Prepare both workers above (or either stage independently) to run local EN→DE→EN round-trip verification.

Word overlap—
Sentence BLEU—
chrF score—
DE exp · num parity—
Stage 1 / Stage 2 ms—
NaN count—

Stage 1 · Intermediate German (OPUS-MT EN→DE)

Waiting for Stage 1 (OPUS-MT EN→DE) translation…

Tokens: — · Latency: —

Stage 2 · Back-Translated English (OPUS-MT DE→EN)

Waiting for Stage 2 (OPUS-MT DE→EN) back-translation…

Tokens: — · Latency: —

Round-Trip Semantic Drift Diff (Original English vs Back-Translated English)

Original English

—

Back-translated English (drift highlighted)

—
Show the code — Reusing opus-mt-de-en/worker.js for Stage 2 back-translation
Show the code — Smoothed BLEU-4, chrF, numeric parity & word-overlap drift metrics

Stage 1: Helsinki-NLP/opus-mt-en-de → Xenova/opus-mt-en-de (106.02 MB q8 WASM, CC-BY-4.0). Stage 2: Helsinki-NLP/opus-mt-de-en → Xenova/opus-mt-de-en (106.0 MB q8 WASM, Apache-2.0).