Bayanat Labs

ArabicWER: Arabic WER and CER calculator

Paste reference and hypothesis transcripts, or upload a TSV file, and see the word and character error rates under six named, versioned normalisation policies side by side, with a word-by-word diff.

Scoring runs in your browser. Your text is not uploaded, stored or logged.

Transcripts

One utterance per line. Line 1 of the reference is scored against line 1 of the hypothesis, and so on.

The six policies

Each policy is an immutable JSON file identified by its SHA-256. Any change in behaviour gets a new policy id; arabicwer-1 policies never change.

PolicyWhat it does

How it is computed

  1. Each policy normalises both texts with arabic-normalize, using Unicode 18.0.0 data bundled with the page, so the result does not depend on your browser.
  2. Words are the runs of characters between white space. Characters for CER are the code points of the words joined by single spaces.
  3. Words (or characters) are aligned with the Levenshtein distance. When several alignments cost the same, the one that keeps more matches is used, and the rule is written in the specification so that every implementation agrees.
  4. WER = (S + D + I) / N, summed over all pairs before dividing. Under the raw policy, for space-separated text with a non-empty reference, the WER and CER equal those of jiwer 4.0.0.
  5. The page gives the same numbers as the Python package arabicwer on every conformance fixture.

Need production-grade, rights-cleared Arabic speech data?

Bayanat Labs builds licensed Arabic speech datasets and evaluation sets.

See Bayanat Voice