use case · wild · Arabic orthography, numerals, Bidi & dialect stress lab · q8 WASM · 110.88 MB

Tashkeel, Eastern Numerals, Alef-Hamza & Dialect Stress Lab

Real-world Arabic text rarely looks like clean UN/news corpora. Probe Opus-MT AR→EN live against MSA vs colloquial dialects (Gulf/Egyptian/Levantine), heavy tashkeel, Eastern Arabic numerals (٢٠٢٦) vs 2026, dropped Alef hamzas (إ→ا) & ة→ه, and mixed RTL Arabic + LTR code/brands (Bidi).

1 · Opus-MT AR→EN worker (110.88 MB q8 WASM · Apache-2.0)

2 · Controlled A/B Orthography & Dialect Stress Probe

Select a stress scenario (all 5 testable individually or as a live sweep)
Select a stress probe above to inspect SentencePiece token count, root/affix fertility, and translation drift.

Arm A · Baseline

—
Waiting for probe…

Arm B · Stress Variant

—
Waiting for probe…

Prepare Opus-MT AR→EN above to run live Arabic orthography, numeral, and Bidi stress probes.

Arm A tokens—
Arm B tokens—
Token delta (B − A)—
Word overlap—
NaN count—

3 · Empirical 5-Probe Stress Matrix

Click Run All 5 Stress Probes above to evaluate every Arabic edge case sequentially off the main thread and record real token delta, English overlap, latency, and NaN checks.

Live empirical stress matrix across Arabic dialects, tashkeel, numerals, hamzas, and Bidi
Stress Scenario Arm A Output Arm B Output SP Tokens (A vs B) Overlap · ms
Click "Run All 5 Stress Probes" above to populate the empirical matrix.

4 · Inspect Arabic Normalization & Word-Diff Code

Show the code — Tashkeel, Alef-Hamza/Ta-Marbuta & Eastern Numeral transforms
Show the code — Deterministic LCS word-diff overlap scorer