use case · wild · chengyu idiom & sentence-boundary stress lab · q8 WASM · 113.11 MB · CC-BY-4.0
Bilingual Idiom (Chengyu 成语) & Sentence-Boundary Stress Lab
Probe where compact neural machine translation shines — and where it breaks. Compare live translations of isolated Chinese Chengyu idioms vs full contextual sentences, test Simplified vs Traditional equivalence, and pit Sentence-Split decoding against Unsplit Single-Pass decoding on dense 380-character paragraphs.
1 · Opus-MT ZH→EN worker (113.11 MB q8 WASM)
2 · Lab A — Chengyu Idiom (Isolated vs Context) & Script Robustness
Human reference note (not model output): —
Prepare Opus-MT ZH→EN above to compare isolated idioms vs contextual usage live on-device.
Contextual Sentence / Input B
All-6 Idiom & Script Sweep Results
| Case | Input A (live output) | Input B (live output) | Total ms |
|---|
3 · Lab B — Long-Paragraph Sentence-Split vs Unsplit Truncation Lab
Feed an entire 7–8 sentence Chinese paragraph into MarianMT in a single unsplit call versus splitting on
Chinese sentence boundaries (。!?;). Highlighted words mark clauses dropped or altered when
decoded unsplit.
Click "Run Split vs Unsplit Stress Test" once the model is ready.
Sentence-Split Sequential Decoding
Unsplit Single-Pass Decoding
Model: Helsinki-NLP/opus-mt-zh-en
→ Xenova/opus-mt-zh-en (113.11 MB q8 ONNX, CC-BY-4.0).