use case · wild · idioms, code-switching, 512-token truncation & false friends · q8 WASM · 106.87 MB ONNX · Apache-2.0

Danish Stress Lab: Idioms, Code-Switching, 512-Token Truncation & False Friends

Push Xenova/opus-mt-da-en across 6 empirical Danish→English stress probes — figurative idioms, DA+EN tech code-switching, the 512-token truncation boundary, 30+ char compound chains, æ/ø/å case sensitivity, and kr./decimal parity — plus an 8-term False Friends & currency trap grader.

1 · OPUS-MT DA→EN worker (106.87 MB q8 ONNX · auto-inits from cache)

2 · 6 Live Danish → English Linguistic, Code-Switching & Truncation Probes

Select any probe to contrast Variant A vs Variant B side-by-side, sweep all 6 probes sequentially in CPU WASM, or cancel cleanly mid-sweep while keeping partial rows intact.

6 live stress probes

Probe hypothesis: —

Prepare OPUS-MT DA→EN above to run live Danish→English stress probes.

Variant A delta—
Variant B delta—
EN overlap (A↔B)—
Numeric parity—
Latency (A + B)—
NaN count—

Variant A

—

Chars: — · Tokens: — · Latency: —

Variant B

—

Chars: — · Tokens: — · Latency: —

3 · Live 8-Term Danish False Friends & kr. Trap Grader

Every verdict below inspects the live English translation produced by Xenova/opus-mt-da-en to test whether the decoder fell into look-alike traps (fabrik → "fabric", aktuel → "actual", frokost → "breakfast/frost", 149,50 kr. → "$14.50") or produced the true English meaning.

8 classic Danish false friends & traps

Trap note: —

Prepare OPUS-MT DA→EN above to grade Danish false friends & currency traps live.

Verdict—
Trap hit—
True meaning hit—
Matrix avoided—
Latency—

Live English Output

Select a false friend and run the grader above.
Danish term English trap True meaning Live English translation Verdict
Click Grade All 8 Traps above to populate the live matrix.
Show the code — Live False-Friend & currency trap grader
Show the code — Danish comma-decimal & kr./USD hallucination detector

Model: Helsinki-NLP/opus-mt-da-en → Xenova/opus-mt-da-en (106.87 MB q8 ONNX, Apache-2.0).