use case · multi-model · OPUS-MT FR→ES (130.79 MB) → OPUS-MT ES→EN (119.38 MB) · ~250 MB · Apache-2.0

Direct FR → ES Translation & Multi-Hop FR → ES → EN Semantic Fidelity Check

Audit direct zero-pivot French→Spanish translations on-device across two isolated Web Workers (~250.17 MB first visit / 236.32 MB ONNX combined): Stage 1 runs OPUS-MT FR→ES (130.79 MB q8 WASM, Apache-2.0), then Stage 2 reuses OPUS-MT ES→EN (../../opus-mt-es-en/worker.js, Xenova/opus-mt-es-en, 119.38 MB first visit / 113.11 MB ONNX q8 WASM, Apache-2.0) to translate the Spanish handoff into English — instantly surfacing faux-amis slips, numeric/€ drift, and live chrF/BLEU-4 fidelity against an English reference.

1 · Workflow models (~250.17 MB first visit · two isolated WASM workers)

Stage 1 · OPUS-MT FR→ES (130.79 MB)

Helsinki-NLP/opus-mt-fr-es → Xenova/opus-mt-fr-es · q8 WASM · Apache-2.0

Stage 2 · OPUS-MT ES→EN (119.38 MB)

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

2 · Direct FR → ES Translation + Multi-Hop ES → EN Semantic Fidelity Audit

Curated French presets (with English semantic reference)
Drop a French .txt or .md file here, paste via clipboard, or upload a local file:
euro-invoice

Prepare both workers above (or either stage independently) to run local FR→ES translation and ES→EN multi-hop semantic verification.

Relay chrF—
Relay BLEU-4—
Word overlap—
Numeric / € parity—
Stage 1 / Stage 2 ms—
NaN count—

Stage 1 · Direct Spanish Handoff (OPUS-MT FR→ES)

Waiting for Stage 1 (OPUS-MT FR→ES) direct Spanish translation…

Tokens: — · Latency: —

Stage 2 · Multi-Hop English Audit (OPUS-MT ES→EN)

Waiting for Stage 2 (OPUS-MT ES→EN) semantic relay verification…

Tokens: — · Latency: —

Show the code — Reusing opus-mt-es-en/worker.js for Stage 2 ES→EN semantic relay
Show the code — Live sentence-level chrF, BLEU-4 & word-overlap scorer

Stage 1: Helsinki-NLP/opus-mt-fr-es → Xenova/opus-mt-fr-es (130.79 MB q8 WASM, Apache-2.0). Stage 2: Helsinki-NLP/opus-mt-es-en → Xenova/opus-mt-es-en (119.38 MB first visit / 113.11 MB ONNX q8 WASM, Apache-2.0).