case_id stringlengths 13 28 | category stringclasses 18
values | level stringclasses 2
values | language_tag stringclasses 14
values | input_kind stringclasses 2
values | input stringlengths 1 38 ⌀ | input_codepoints listlengths 0 38 | input_utf8_hex stringlengths 4 146 ⌀ | input_has_lone_surrogate bool 2
classes | expected_identity stringlengths 1 38 ⌀ | expected_nfc stringlengths 1 38 ⌀ | expected_nfkc stringlengths 1 38 ⌀ | expected_raw_safe_v1 stringlengths 1 38 ⌀ | expected_bayanat_norm_v1 stringlengths 0 24 ⌀ | expected_asr_eval_v1 stringlengths 0 22 ⌀ | expected_error stringclasses 1
value | must_preserve listlengths 0 4 | rationale_en stringlengths 11 159 | references listlengths 1 3 | nfc_nfkc_unicode_version stringclasses 1
value | added_in stringclasses 1
value | author stringclasses 1
value | synthetic bool 1
class | review_status stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ar-uc-tatweel-001 | tatweel | must | ar | text | جمـــيل | [
"U+062C",
"U+0645",
"U+0640",
"U+0640",
"U+0640",
"U+064A",
"U+0644"
] | d8acd985d980d980d980d98ad984 | false | جمـــيل | جمـــيل | جمـــيل | جمـــيل | جميل | جميل | null | [] | Three tatweels inside a word: removed by bayanat-norm-v1 and asr-eval-v1, kept by raw-safe-v1 and by NFC/NFKC (tatweel has no decomposition). | [
"Unicode Core Spec ch. 9 (Arabic tatweel U+0640)",
"BAYANAT-NORM-V1 stage 7"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-tatweel-002 | tatweel | must | ar | text | كـتاب | [
"U+0643",
"U+0640",
"U+062A",
"U+0627",
"U+0628"
] | d983d980d8aad8a7d8a8 | false | كـتاب | كـتاب | كـتاب | كـتاب | كتاب | كتاب | null | [] | One tatweel after the first letter. | [
"Unicode Core Spec ch. 9 (Arabic tatweel U+0640)",
"BAYANAT-NORM-V1 stage 7"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-tatweel-003 | tatweel | must | ar | text | كـَتب | [
"U+0643",
"U+0640",
"U+064E",
"U+062A",
"U+0628"
] | d983d980d98ed8aad8a8 | false | كـَتب | كـَتب | كـَتب | كـَتب | كتب | كتب | null | [] | A fatha written on the tatweel: removing the tatweel must not leave a mark without a base in the normalised output. | [
"Unicode Core Spec ch. 9 (Arabic tatweel U+0640)",
"BAYANAT-NORM-V1 stage 7"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-tatweel-004 | tatweel | must | ar | text | كَـتب | [
"U+0643",
"U+064E",
"U+0640",
"U+062A",
"U+0628"
] | d983d98ed980d8aad8a8 | false | كَـتب | كَـتب | كَـتب | كَـتب | كتب | كتب | null | [] | Fatha on the letter, then tatweel. | [
"Unicode Core Spec ch. 9 (Arabic tatweel U+0640)",
"BAYANAT-NORM-V1 stage 7"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-tatweel-005 | tatweel | must | ar | text | ـبيت | [
"U+0640",
"U+0628",
"U+064A",
"U+062A"
] | d980d8a8d98ad8aa | false | ـبيت | ـبيت | ـبيت | ـبيت | بيت | بيت | null | [] | Tatweel at the start of a word. | [
"Unicode Core Spec ch. 9 (Arabic tatweel U+0640)",
"BAYANAT-NORM-V1 stage 7"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-tatweel-006 | tatweel | must | ar | text | بيتـ | [
"U+0628",
"U+064A",
"U+062A",
"U+0640"
] | d8a8d98ad8aad980 | false | بيتـ | بيتـ | بيتـ | بيتـ | بيت | بيت | null | [] | Tatweel at the end of a word. | [
"Unicode Core Spec ch. 9 (Arabic tatweel U+0640)",
"BAYANAT-NORM-V1 stage 7"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-tatweel-007 | tatweel | should | ar | text | ـــ | [
"U+0640",
"U+0640",
"U+0640"
] | d980d980d980 | false | ـــ | ـــ | ـــ | ـــ | null | [] | A string of tatweels only: the folding policies return an empty string. | [
"Unicode Core Spec ch. 9 (Arabic tatweel U+0640)",
"BAYANAT-NORM-V1 stage 7"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review | ||
ar-uc-tatweel-008 | tatweel | must | ar | text | اـٔ | [
"U+0627",
"U+0640",
"U+0654"
] | d8a7d980d994 | false | اـٔ | اـٔ | اـٔ | اـٔ | ا | ا | null | [] | A tatweel between alef and a combining hamza blocks NFC composition; after the tatweel is removed, the alef rule removes the hamza on the bare alef. | [
"Unicode Core Spec ch. 9 (Arabic tatweel U+0640)",
"BAYANAT-NORM-V1 stage 7"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-tatweel-009 | tatweel | must | ar | text | شـَّد | [
"U+0634",
"U+0640",
"U+0651",
"U+064E",
"U+062F"
] | d8b4d980d991d98ed8af | false | شـَّد | شـَّد | شـَّد | شـَّد | شد | شد | null | [] | Shadda and fatha on a tatweel, written in non-canonical order (NFC puts fatha, class 30, before shadda, class 33). | [
"Unicode Core Spec ch. 9 (Arabic tatweel U+0640)",
"BAYANAT-NORM-V1 stage 7"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-tatweel-010 | tatweel | must | ar | text | ىـٔ | [
"U+0649",
"U+0640",
"U+0654"
] | d989d980d994 | false | ىـٔ | ىـٔ | ىـٔ | ىـٔ | ئ | ئ | null | [] | Alef maqsura, tatweel and combining hamza: after tatweel removal and the alef maqsura to yeh rule, the final NFC pass composes yeh plus hamza into U+0626. | [
"Unicode Core Spec ch. 9 (Arabic tatweel U+0640)",
"BAYANAT-NORM-V1 stage 7"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-tatweel-011 | tatweel | must | ar | text | سعـر ١٠ ريـالات | [
"U+0633",
"U+0639",
"U+0640",
"U+0631",
"U+0020",
"U+0661",
"U+0660",
"U+0020",
"U+0631",
"U+064A",
"U+0640",
"U+0627",
"U+0644",
"U+0627",
"U+062A"
] | d8b3d8b9d980d8b120d9a1d9a020d8b1d98ad980d8a7d984d8a7d8aa | false | سعـر ١٠ ريـالات | سعـر ١٠ ريـالات | سعـر ١٠ ريـالات | سعـر ١٠ ريـالات | سعر 10 ريالات | سعر 10 ريالات | null | [] | Tatweel in a phrase with Arabic-Indic digits. | [
"Unicode Core Spec ch. 9 (Arabic tatweel U+0640)",
"BAYANAT-NORM-V1 stage 7"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-tatweel-012 | tatweel | must | fa | text | گـل | [
"U+06AF",
"U+0640",
"U+0644"
] | daafd980d984 | false | گـل | گـل | گـل | گـل | گل | گل | null | [
"U+06AF"
] | Tatweel after a Persian letter: the letter is kept. | [
"Unicode Core Spec ch. 9 (Arabic tatweel U+0640)",
"BAYANAT-NORM-V1 stage 7"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-tatweel-013 | tatweel | must | ar | text | لـا | [
"U+0644",
"U+0640",
"U+0627"
] | d984d980d8a7 | false | لـا | لـا | لـا | لـا | لا | لا | null | [] | Tatweel between lam and alef: removal gives the plain lam-alef sequence, not a ligature code point. | [
"Unicode Core Spec ch. 9 (Arabic tatweel U+0640)",
"BAYANAT-NORM-V1 stage 7"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-tatweel-014 | tatweel | must | ar | text | قـــــــال | [
"U+0642",
"U+0640",
"U+0640",
"U+0640",
"U+0640",
"U+0640",
"U+0640",
"U+0640",
"U+0627",
"U+0644"
] | d982d980d980d980d980d980d980d980d8a7d984 | false | قـــــــال | قـــــــال | قـــــــال | قـــــــال | قال | قال | null | [] | A long run of tatweels used for justification. | [
"Unicode Core Spec ch. 9 (Arabic tatweel U+0640)",
"BAYANAT-NORM-V1 stage 7"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-hamza-001 | hamza | must | ar | text | ماء | [
"U+0645",
"U+0627",
"U+0621"
] | d985d8a7d8a1 | false | ماء | ماء | ماء | ماء | ماء | ماء | null | [] | Standalone hamza U+0621 is a letter and is kept by every policy. | [
"UAX #15 canonical composition",
"UnicodeData.txt decompositions of U+0622..U+0626",
"BAYANAT-NORM-V1 stages 11 and 14"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-hamza-002 | hamza | must | ar | text | شيء | [
"U+0634",
"U+064A",
"U+0621"
] | d8b4d98ad8a1 | false | شيء | شيء | شيء | شيء | شيء | شيء | null | [] | Final standalone hamza after yeh. | [
"UAX #15 canonical composition",
"UnicodeData.txt decompositions of U+0622..U+0626",
"BAYANAT-NORM-V1 stages 11 and 14"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-hamza-003 | hamza | must | ar | text | أحمد | [
"U+0623",
"U+062D",
"U+0645",
"U+062F"
] | d8a3d8add985d8af | false | أحمد | أحمد | أحمد | أحمد | احمد | احمد | null | [] | Precomposed alef with hamza above U+0623: folded to bare alef by bayanat-norm-v1 (lossy). | [
"UAX #15 canonical composition",
"UnicodeData.txt decompositions of U+0622..U+0626",
"BAYANAT-NORM-V1 stages 11 and 14"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-hamza-004 | hamza | must | ar | text | أحمد | [
"U+0627",
"U+0654",
"U+062D",
"U+0645",
"U+062F"
] | d8a7d994d8add985d8af | false | أحمد | أحمد | أحمد | أحمد | احمد | احمد | null | [] | Decomposed alef + combining hamza above: NFC composes U+0623. | [
"UAX #15 canonical composition",
"UnicodeData.txt decompositions of U+0622..U+0626",
"BAYANAT-NORM-V1 stages 11 and 14"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-hamza-005 | hamza | must | ar | text | إسلام | [
"U+0625",
"U+0633",
"U+0644",
"U+0627",
"U+0645"
] | d8a5d8b3d984d8a7d985 | false | إسلام | إسلام | إسلام | إسلام | اسلام | اسلام | null | [] | Precomposed alef with hamza below U+0625. | [
"UAX #15 canonical composition",
"UnicodeData.txt decompositions of U+0622..U+0626",
"BAYANAT-NORM-V1 stages 11 and 14"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-hamza-006 | hamza | must | ar | text | إسلام | [
"U+0627",
"U+0655",
"U+0633",
"U+0644",
"U+0627",
"U+0645"
] | d8a7d995d8b3d984d8a7d985 | false | إسلام | إسلام | إسلام | إسلام | اسلام | اسلام | null | [] | Decomposed alef + combining hamza below: NFC composes U+0625. | [
"UAX #15 canonical composition",
"UnicodeData.txt decompositions of U+0622..U+0626",
"BAYANAT-NORM-V1 stages 11 and 14"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-hamza-007 | hamza | must | ar | text | مؤمن | [
"U+0645",
"U+0624",
"U+0645",
"U+0646"
] | d985d8a4d985d986 | false | مؤمن | مؤمن | مؤمن | مؤمن | مؤمن | مؤمن | null | [] | Waw with hamza above U+0624 is kept: bayanat-norm-v1 does not fold hamza carriers. | [
"UAX #15 canonical composition",
"UnicodeData.txt decompositions of U+0622..U+0626",
"BAYANAT-NORM-V1 stages 11 and 14"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-hamza-008 | hamza | must | ar | text | مؤمن | [
"U+0645",
"U+0648",
"U+0654",
"U+0645",
"U+0646"
] | d985d988d994d985d986 | false | مؤمن | مؤمن | مؤمن | مؤمن | مؤمن | مؤمن | null | [] | Decomposed waw + combining hamza: NFC composes U+0624. | [
"UAX #15 canonical composition",
"UnicodeData.txt decompositions of U+0622..U+0626",
"BAYANAT-NORM-V1 stages 11 and 14"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-hamza-009 | hamza | must | ar | text | سائل | [
"U+0633",
"U+0627",
"U+0626",
"U+0644"
] | d8b3d8a7d8a6d984 | false | سائل | سائل | سائل | سائل | سائل | سائل | null | [] | Yeh with hamza above U+0626 is kept. | [
"UAX #15 canonical composition",
"UnicodeData.txt decompositions of U+0622..U+0626",
"BAYANAT-NORM-V1 stages 11 and 14"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-hamza-010 | hamza | must | ar | text | سائل | [
"U+0633",
"U+0627",
"U+064A",
"U+0654",
"U+0644"
] | d8b3d8a7d98ad994d984 | false | سائل | سائل | سائل | سائل | سائل | سائل | null | [] | Decomposed yeh + combining hamza: NFC composes U+0626. | [
"UAX #15 canonical composition",
"UnicodeData.txt decompositions of U+0622..U+0626",
"BAYANAT-NORM-V1 stages 11 and 14"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-hamza-011 | hamza | must | ar | text | ىٔ | [
"U+0649",
"U+0654"
] | d989d994 | false | ىٔ | ىٔ | ىٔ | ىٔ | ئ | ئ | null | [] | Alef maqsura + combining hamza has no precomposed form, so NFC keeps it; bayanat-norm-v1 maps alef maqsura to yeh and the final NFC pass then composes U+0626. | [
"UAX #15 canonical composition",
"UnicodeData.txt decompositions of U+0622..U+0626",
"BAYANAT-NORM-V1 stages 11 and 14"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-hamza-012 | hamza | must | fa | text | خانهٔ من | [
"U+062E",
"U+0627",
"U+0646",
"U+0647",
"U+0654",
"U+0020",
"U+0645",
"U+0646"
] | d8aed8a7d986d987d99420d985d986 | false | خانهٔ من | خانهٔ من | خانهٔ من | خانهٔ من | خانهٔ من | خانهٔ من | null | [] | Persian heh + combining hamza (ezafe): no precomposed form; the combining hamza is not a haraka and stays in every policy. | [
"UAX #15 canonical composition",
"UnicodeData.txt decompositions of U+0622..U+0626",
"BAYANAT-NORM-V1 stages 11 and 14"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-hamza-013 | hamza | must | ckb | text | ۀ | [
"U+06D5",
"U+0654"
] | db95d994 | false | ۀ | ۀ | ۀ | ۀ | ۀ | ۀ | null | [] | Ae U+06D5 + combining hamza: NFC composes U+06C0. | [
"UAX #15 canonical composition",
"UnicodeData.txt decompositions of U+0622..U+0626",
"BAYANAT-NORM-V1 stages 11 and 14"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-hamza-014 | hamza | must | ur | text | ۂ | [
"U+06C1",
"U+0654"
] | db81d994 | false | ۂ | ۂ | ۂ | ۂ | ۂ | ۂ | null | [] | Heh goal U+06C1 + combining hamza: NFC composes U+06C2. | [
"UAX #15 canonical composition",
"UnicodeData.txt decompositions of U+0622..U+0626",
"BAYANAT-NORM-V1 stages 11 and 14"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-hamza-015 | hamza | must | ur | text | ۓ | [
"U+06D2",
"U+0654"
] | db92d994 | false | ۓ | ۓ | ۓ | ۓ | ۓ | ۓ | null | [] | Yeh barree U+06D2 + combining hamza: NFC composes U+06D3. | [
"UAX #15 canonical composition",
"UnicodeData.txt decompositions of U+0622..U+0626",
"BAYANAT-NORM-V1 stages 11 and 14"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-hamza-016 | hamza | must | ar | text | إِ | [
"U+0627",
"U+0650",
"U+0655"
] | d8a7d990d995 | false | إِ | إِ | إِ | إِ | ا | ا | null | [] | Alef, kasra, then hamza below: the hamza (class 220) is not blocked by the kasra (class 32), so NFC composes U+0625 and keeps the kasra. | [
"UAX #15 canonical composition",
"UnicodeData.txt decompositions of U+0622..U+0626",
"BAYANAT-NORM-V1 stages 11 and 14"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-hamza-017 | hamza | must | ar | text | أَ | [
"U+0627",
"U+064E",
"U+0654"
] | d8a7d98ed994 | false | أَ | أَ | أَ | أَ | ا | ا | null | [] | Alef, fatha, then hamza above: NFC composes U+0623 across the fatha. | [
"UAX #15 canonical composition",
"UnicodeData.txt decompositions of U+0622..U+0626",
"BAYANAT-NORM-V1 stages 11 and 14"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-hamza-018 | hamza | must | ar | text | سُؤَال | [
"U+0633",
"U+064F",
"U+0624",
"U+064E",
"U+0627",
"U+0644"
] | d8b3d98fd8a4d98ed8a7d984 | false | سُؤَال | سُؤَال | سُؤَال | سُؤَال | سؤال | سؤال | null | [] | Hamza on waw with harakat: harakat are removed, the carrier is kept. | [
"UAX #15 canonical composition",
"UnicodeData.txt decompositions of U+0622..U+0626",
"BAYANAT-NORM-V1 stages 11 and 14"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-hamza-019 | hamza | must | ar | text | مسؤول | [
"U+0645",
"U+0633",
"U+0624",
"U+0648",
"U+0644"
] | d985d8b3d8a4d988d984 | false | مسؤول | مسؤول | مسؤول | مسؤول | مسؤول | مسؤول | null | [] | Waw with hamza in the middle of a word. | [
"UAX #15 canonical composition",
"UnicodeData.txt decompositions of U+0622..U+0626",
"BAYANAT-NORM-V1 stages 11 and 14"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-hamza-020 | hamza | should | ar | text | أٔ | [
"U+0623",
"U+0654"
] | d8a3d994 | false | أٔ | أٔ | أٔ | أٔ | ا | ا | null | [] | Alef with hamza followed by a second combining hamza: bayanat-norm-v1 folds the alef and removes every hamza or madda mark that follows the bare alef. | [
"UAX #15 canonical composition",
"UnicodeData.txt decompositions of U+0622..U+0626",
"BAYANAT-NORM-V1 stages 11 and 14"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-hamza-021 | hamza | should | ar | text | ئٔ | [
"U+0626",
"U+0654"
] | d8a6d994 | false | ئٔ | ئٔ | ئٔ | ئٔ | ئٔ | ئٔ | null | [] | Yeh with hamza followed by a second combining hamza: the hamza carrier rule is 'keep', so the extra mark stays. | [
"UAX #15 canonical composition",
"UnicodeData.txt decompositions of U+0622..U+0626",
"BAYANAT-NORM-V1 stages 11 and 14"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-hamza-022 | hamza | must | kk | text | ٵ | [
"U+0675"
] | d9b5 | false | ٵ | ٵ | اٴ | ٵ | ٵ | ٵ | null | [] | High hamza alef U+0675 has a compatibility decomposition (alef + high hamza U+0674): NFKC splits it; bayanat-norm-v1 maps only presentation forms and keeps it. | [
"UAX #15 canonical composition",
"UnicodeData.txt decompositions of U+0622..U+0626",
"BAYANAT-NORM-V1 stages 11 and 14"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-hamza-023 | hamza | must | ar | text | قرأ | [
"U+0642",
"U+0631",
"U+0623"
] | d982d8b1d8a3 | false | قرأ | قرأ | قرأ | قرأ | قرا | قرا | null | [] | Final alef with hamza above in a verb. | [
"UAX #15 canonical composition",
"UnicodeData.txt decompositions of U+0622..U+0626",
"BAYANAT-NORM-V1 stages 11 and 14"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-alef-001 | alef | must | ar | text | آمن | [
"U+0622",
"U+0645",
"U+0646"
] | d8a2d985d986 | false | آمن | آمن | آمن | آمن | امن | امن | null | [] | Alef with madda U+0622 at the start of a word: folded to bare alef (lossy). | [
"UAX #15 canonical composition",
"BAYANAT-NORM-V1 stage 11"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-alef-002 | alef | must | ar | text | إلى | [
"U+0625",
"U+0644",
"U+0649"
] | d8a5d984d989 | false | إلى | إلى | إلى | إلى | الي | الي | null | [] | Alef with hamza below and final alef maqsura: both are folded. | [
"UAX #15 canonical composition",
"BAYANAT-NORM-V1 stage 11"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-alef-003 | alef | must | ar | text | قرآن | [
"U+0642",
"U+0631",
"U+0622",
"U+0646"
] | d982d8b1d8a2d986 | false | قرآن | قرآن | قرآن | قرآن | قران | قران | null | [] | Alef with madda inside a word. | [
"UAX #15 canonical composition",
"BAYANAT-NORM-V1 stage 11"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-alef-004 | alef | must | ar | text | قرآن | [
"U+0642",
"U+0631",
"U+0627",
"U+0653",
"U+0646"
] | d982d8b1d8a7d993d986 | false | قرآن | قرآن | قرآن | قرآن | قران | قران | null | [] | Decomposed alef + combining madda: NFC composes U+0622. | [
"UAX #15 canonical composition",
"BAYANAT-NORM-V1 stage 11"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-alef-005 | alef | must | ar | text | بِسْمِ ٱللَّهِ | [
"U+0628",
"U+0650",
"U+0633",
"U+0652",
"U+0645",
"U+0650",
"U+0020",
"U+0671",
"U+0644",
"U+0644",
"U+064E",
"U+0651",
"U+0647",
"U+0650"
] | d8a8d990d8b3d992d985d99020d9b1d984d984d98ed991d987d990 | false | بِسْمِ ٱللَّهِ | بِسْمِ ٱللَّهِ | بِسْمِ ٱللَّهِ | بِسْمِ ٱللَّهِ | بسم الله | بسم الله | null | [] | Alef wasla U+0671 is folded to bare alef; harakat are removed. | [
"UAX #15 canonical composition",
"BAYANAT-NORM-V1 stage 11"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-alef-006 | alef | must | ar | text | شكراً | [
"U+0634",
"U+0643",
"U+0631",
"U+0627",
"U+064B"
] | d8b4d983d8b1d8a7d98b | false | شكراً | شكراً | شكراً | شكراً | شكرا | شكرا | null | [] | Fathatan written after the final alef. | [
"UAX #15 canonical composition",
"BAYANAT-NORM-V1 stage 11"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-alef-007 | alef | must | ar | text | شكرًا | [
"U+0634",
"U+0643",
"U+0631",
"U+064B",
"U+0627"
] | d8b4d983d8b1d98bd8a7 | false | شكرًا | شكرًا | شكرًا | شكرًا | شكرا | شكرا | null | [] | Fathatan written on the letter before the final alef. | [
"UAX #15 canonical composition",
"BAYANAT-NORM-V1 stage 11"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-alef-008 | alef | must | und | text | ٲ | [
"U+0672"
] | d9b2 | false | ٲ | ٲ | ٲ | ٲ | ٲ | ٲ | null | [] | Alef with wavy hamza above U+0672 is not one of the four folded alef letters and is kept. | [
"UAX #15 canonical composition",
"BAYANAT-NORM-V1 stage 11"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-alef-009 | alef | must | und | text | ٳ | [
"U+0673"
] | d9b3 | false | ٳ | ٳ | ٳ | ٳ | ٳ | ٳ | null | [] | Alef with wavy hamza below U+0673 is kept. | [
"UAX #15 canonical composition",
"BAYANAT-NORM-V1 stage 11"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-alef-010 | alef | must | und | text | ݳݴ | [
"U+0773",
"U+0774"
] | ddb3ddb4 | false | ݳݴ | ݳݴ | ݳݴ | ݳݴ | ݳݴ | ݳݴ | null | [] | Alef letters U+0773 and U+0774 (Arabic Supplement) are kept. | [
"UAX #15 canonical composition",
"BAYANAT-NORM-V1 stage 11"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-alef-011 | alef | should | ar | text | ٱلْكِتَٰبُ | [
"U+0671",
"U+0644",
"U+0652",
"U+0643",
"U+0650",
"U+062A",
"U+064E",
"U+0670",
"U+0628",
"U+064F"
] | d9b1d984d992d983d990d8aad98ed9b0d8a8d98f | false | ٱلْكِتَٰبُ | ٱلْكِتَٰبُ | ٱلْكِتَٰبُ | ٱلْكِتَٰبُ | الكتب | الكتب | null | [] | Uthmani spelling with superscript alef: removing the marks leaves the consonantal skeleton (a documented limitation, not a conversion to modern spelling). | [
"UAX #15 canonical composition",
"BAYANAT-NORM-V1 stage 11"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-alef-012 | alef | must | ar | text | مآب | [
"U+0645",
"U+0622",
"U+0628"
] | d985d8a2d8a8 | false | مآب | مآب | مآب | مآب | ماب | ماب | null | [] | Alef with madda in the middle of a word. | [
"UAX #15 canonical composition",
"BAYANAT-NORM-V1 stage 11"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-alef-013 | alef | must | ar | text | أُمّ | [
"U+0623",
"U+064F",
"U+0645",
"U+0651"
] | d8a3d98fd985d991 | false | أُمّ | أُمّ | أُمّ | أُمّ | ام | ام | null | [] | Alef with hamza and damma, word-final shadda. | [
"UAX #15 canonical composition",
"BAYANAT-NORM-V1 stage 11"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-alef-014 | alef | should | ar | text | إَ | [
"U+0627",
"U+064E",
"U+0655"
] | d8a7d98ed995 | false | إَ | إَ | إَ | إَ | ا | ا | null | [] | Alef, fatha, combining hamza below: NFC composes U+0625 and keeps the fatha. | [
"UAX #15 canonical composition",
"BAYANAT-NORM-V1 stage 11"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-alef-015 | alef | must | und | text | 𞸀 | [
"U+1EE00"
] | f09eb880 | false | 𞸀 | 𞸀 | ا | 𞸀 | 𞸀 | 𞸀 | null | [] | Arabic mathematical alef U+1EE00: NFKC maps it to U+0627; bayanat-norm-v1 maps only presentation forms and keeps it. | [
"UAX #15 canonical composition",
"BAYANAT-NORM-V1 stage 11"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-alef-016 | alef | should | ar | text | آٓ | [
"U+0622",
"U+0653"
] | d8a2d993 | false | آٓ | آٓ | آٓ | آٓ | ا | ا | null | [] | Alef with madda followed by a second combining madda: the fold removes the extra madda after the bare alef. | [
"UAX #15 canonical composition",
"BAYANAT-NORM-V1 stage 11"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-alef-017 | alef | must | ar | text | إيمان | [
"U+0625",
"U+064A",
"U+0645",
"U+0627",
"U+0646"
] | d8a5d98ad985d8a7d986 | false | إيمان | إيمان | إيمان | إيمان | ايمان | ايمان | null | [] | Alef with hamza below at the start of a word. | [
"UAX #15 canonical composition",
"BAYANAT-NORM-V1 stage 11"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-alef-018 | alef | must | ar | text | ٱ | [
"U+0671"
] | d9b1 | false | ٱ | ٱ | ٱ | ٱ | ا | ا | null | [] | Alef wasla alone. | [
"UAX #15 canonical composition",
"BAYANAT-NORM-V1 stage 11"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-yeh-001 | yeh | must | ar | text | على | [
"U+0639",
"U+0644",
"U+0649"
] | d8b9d984d989 | false | على | على | على | على | علي | علي | null | [] | Final alef maqsura U+0649 is mapped to yeh U+064A by bayanat-norm-v1 (lossy: it merges على and علي). | [
"BAYANAT-NORM-V1 stages 12 and 15"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-yeh-002 | yeh | must | ar | text | علي | [
"U+0639",
"U+0644",
"U+064A"
] | d8b9d984d98a | false | علي | علي | علي | علي | علي | علي | null | [] | Final yeh is unchanged. | [
"BAYANAT-NORM-V1 stages 12 and 15"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-yeh-003 | yeh | must | ar | text | مصطفى | [
"U+0645",
"U+0635",
"U+0637",
"U+0641",
"U+0649"
] | d985d8b5d8b7d981d989 | false | مصطفى | مصطفى | مصطفى | مصطفى | مصطفي | مصطفي | null | [] | Alef maqsura at the end of a name. | [
"BAYANAT-NORM-V1 stages 12 and 15"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-yeh-004 | yeh | must | fa | text | یک | [
"U+06CC",
"U+06A9"
] | db8cdaa9 | false | یک | یک | یک | یک | یک | یک | null | [
"U+06CC"
] | Farsi yeh U+06CC in Persian text is kept. | [
"BAYANAT-NORM-V1 stages 12 and 15"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-yeh-005 | yeh | should | ar | text | علی | [
"U+0639",
"U+0644",
"U+06CC"
] | d8b9d984db8c | false | علی | علی | علی | علی | علی | علی | null | [] | Farsi yeh in Arabic text: the policies do not depend on the language tag and keep U+06CC. | [
"BAYANAT-NORM-V1 stages 12 and 15"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-yeh-006 | yeh | must | fa | text | کتاب | [
"U+06A9",
"U+062A",
"U+0627",
"U+0628"
] | daa9d8aad8a7d8a8 | false | کتاب | کتاب | کتاب | کتاب | کتاب | کتاب | null | [
"U+06A9"
] | Keheh U+06A9 is kept (Persian and Urdu letters are not mapped). | [
"BAYANAT-NORM-V1 stages 12 and 15"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-yeh-007 | yeh | must | ar | text | كتاب | [
"U+0643",
"U+062A",
"U+0627",
"U+0628"
] | d983d8aad8a7d8a8 | false | كتاب | كتاب | كتاب | كتاب | كتاب | كتاب | null | [] | Arabic kaf U+0643 is unchanged. | [
"BAYANAT-NORM-V1 stages 12 and 15"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-yeh-008 | yeh | must | ur | text | یہ کتاب ہے | [
"U+06CC",
"U+06C1",
"U+0020",
"U+06A9",
"U+062A",
"U+0627",
"U+0628",
"U+0020",
"U+06C1",
"U+06D2"
] | db8cdb8120daa9d8aad8a7d8a820db81db92 | false | یہ کتاب ہے | یہ کتاب ہے | یہ کتاب ہے | یہ کتاب ہے | یہ کتاب ہے | یہ کتاب ہے | null | [
"U+06A9",
"U+06C1",
"U+06CC",
"U+06D2"
] | Urdu sentence with Farsi yeh, keheh, heh goal and yeh barree: every letter is kept. | [
"BAYANAT-NORM-V1 stages 12 and 15"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-yeh-009 | yeh | must | fa | text | یٔ | [
"U+06CC",
"U+0654"
] | db8cd994 | false | یٔ | یٔ | یٔ | یٔ | یٔ | یٔ | null | [] | Farsi yeh + combining hamza: U+0626 decomposes to Arabic yeh + hamza, so NFC does not compose this pair. | [
"BAYANAT-NORM-V1 stages 12 and 15"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-yeh-010 | yeh | must | ar | text | عَلَىٰ | [
"U+0639",
"U+064E",
"U+0644",
"U+064E",
"U+0649",
"U+0670"
] | d8b9d98ed984d98ed989d9b0 | false | عَلَىٰ | عَلَىٰ | عَلَىٰ | عَلَىٰ | علي | علي | null | [] | Alef maqsura with superscript alef: the superscript alef is removed and alef maqsura becomes yeh. | [
"BAYANAT-NORM-V1 stages 12 and 15"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-yeh-011 | yeh | must | ar | text | مستشفى | [
"U+0645",
"U+0633",
"U+062A",
"U+0634",
"U+0641",
"U+0649"
] | d985d8b3d8aad8b4d981d989 | false | مستشفى | مستشفى | مستشفى | مستشفى | مستشفي | مستشفي | null | [] | Alef maqsura at the end of a common noun. | [
"BAYANAT-NORM-V1 stages 12 and 15"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-yeh-012 | yeh | must | fa | text | ايران | [
"U+0627",
"U+064A",
"U+0631",
"U+0627",
"U+0646"
] | d8a7d98ad8b1d8a7d986 | false | ايران | ايران | ايران | ايران | ايران | ايران | null | [] | Arabic yeh in a Persian word. | [
"BAYANAT-NORM-V1 stages 12 and 15"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-yeh-013 | yeh | must | fa | text | ایران | [
"U+0627",
"U+06CC",
"U+0631",
"U+0627",
"U+0646"
] | d8a7db8cd8b1d8a7d986 | false | ایران | ایران | ایران | ایران | ایران | ایران | null | [] | Farsi yeh in the same Persian word: the two spellings stay different under every policy. | [
"BAYANAT-NORM-V1 stages 12 and 15"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-yeh-014 | yeh | must | ps | text | ۍ | [
"U+06CD"
] | db8d | false | ۍ | ۍ | ۍ | ۍ | ۍ | ۍ | null | [] | Yeh with tail U+06CD is kept. | [
"BAYANAT-NORM-V1 stages 12 and 15"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-yeh-015 | yeh | must | ug | text | ې | [
"U+06D0"
] | db90 | false | ې | ې | ې | ې | ې | ې | null | [] | Letter e U+06D0 is kept. | [
"BAYANAT-NORM-V1 stages 12 and 15"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-yeh-016 | yeh | must | ar | text | هدًى | [
"U+0647",
"U+062F",
"U+064B",
"U+0649"
] | d987d8afd98bd989 | false | هدًى | هدًى | هدًى | هدًى | هدي | هدي | null | [] | Alef maqsura with fathatan on the preceding letter. | [
"BAYANAT-NORM-V1 stages 12 and 15"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-yeh-017 | yeh | must | fa | text | كتاب | [
"U+0643",
"U+062A",
"U+0627",
"U+0628"
] | d983d8aad8a7d8a8 | false | كتاب | كتاب | كتاب | كتاب | كتاب | كتاب | null | [] | Arabic kaf in Persian-tagged text is kept as written. | [
"BAYANAT-NORM-V1 stages 12 and 15"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-yeh-018 | yeh | must | ar | text | متى؟ | [
"U+0645",
"U+062A",
"U+0649",
"U+061F"
] | d985d8aad989d89f | false | متى؟ | متى؟ | متى؟ | متى؟ | متي؟ | متي | null | [] | Alef maqsura before an Arabic question mark: asr-eval-v1 also removes the question mark. | [
"BAYANAT-NORM-V1 stages 12 and 15"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-taa-marbuta-001 | taa_marbuta | must | ar | text | مدرسة | [
"U+0645",
"U+062F",
"U+0631",
"U+0633",
"U+0629"
] | d985d8afd8b1d8b3d8a9 | false | مدرسة | مدرسة | مدرسة | مدرسة | مدرسة | مدرسه | null | [] | Taa marbuta is kept by bayanat-norm-v1 and folded to heh by asr-eval-v1 (lossy). | [
"BAYANAT-NORM-V1 stage 13"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-taa-marbuta-002 | taa_marbuta | must | ar | text | مدرسه | [
"U+0645",
"U+062F",
"U+0631",
"U+0633",
"U+0647"
] | d985d8afd8b1d8b3d987 | false | مدرسه | مدرسه | مدرسه | مدرسه | مدرسه | مدرسه | null | [] | The heh spelling is unchanged by every policy. | [
"BAYANAT-NORM-V1 stage 13"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-taa-marbuta-003 | taa_marbuta | must | ar | text | مَدْرَسَةٌ | [
"U+0645",
"U+064E",
"U+062F",
"U+0652",
"U+0631",
"U+064E",
"U+0633",
"U+064E",
"U+0629",
"U+064C"
] | d985d98ed8afd992d8b1d98ed8b3d98ed8a9d98c | false | مَدْرَسَةٌ | مَدْرَسَةٌ | مَدْرَسَةٌ | مَدْرَسَةٌ | مدرسة | مدرسه | null | [] | Taa marbuta with dammatan. | [
"BAYANAT-NORM-V1 stage 13"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-taa-marbuta-004 | taa_marbuta | must | ar | text | رحمةً | [
"U+0631",
"U+062D",
"U+0645",
"U+0629",
"U+064B"
] | d8b1d8add985d8a9d98b | false | رحمةً | رحمةً | رحمةً | رحمةً | رحمة | رحمه | null | [] | Taa marbuta with fathatan. | [
"BAYANAT-NORM-V1 stage 13"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-taa-marbuta-005 | taa_marbuta | must | ar | text | مدرسة البنات | [
"U+0645",
"U+062F",
"U+0631",
"U+0633",
"U+0629",
"U+0020",
"U+0627",
"U+0644",
"U+0628",
"U+0646",
"U+0627",
"U+062A"
] | d985d8afd8b1d8b3d8a920d8a7d984d8a8d986d8a7d8aa | false | مدرسة البنات | مدرسة البنات | مدرسة البنات | مدرسة البنات | مدرسة البنات | مدرسه البنات | null | [] | Taa marbuta inside a construct phrase. | [
"BAYANAT-NORM-V1 stage 13"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-taa-marbuta-006 | taa_marbuta | must | ar | text | ﺓ | [
"U+FE93"
] | efba93 | false | ﺓ | ﺓ | ة | ﺓ | ة | ه | null | [] | Isolated presentation form of taa marbuta: mapped to U+0629 by the folding policies, then to heh by asr-eval-v1. | [
"BAYANAT-NORM-V1 stage 13"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-taa-marbuta-007 | taa_marbuta | must | ur | text | ۃ | [
"U+06C3"
] | db83 | false | ۃ | ۃ | ۃ | ۃ | ۃ | ۃ | null | [] | Teh marbuta goal U+06C3 (Urdu) is a different letter and is kept. | [
"BAYANAT-NORM-V1 stage 13"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-taa-marbuta-008 | taa_marbuta | must | ar | text | جميلـة | [
"U+062C",
"U+0645",
"U+064A",
"U+0644",
"U+0640",
"U+0629"
] | d8acd985d98ad984d980d8a9 | false | جميلـة | جميلـة | جميلـة | جميلـة | جميلة | جميله | null | [] | Tatweel before a final taa marbuta. | [
"BAYANAT-NORM-V1 stage 13"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-taa-marbuta-009 | taa_marbuta | must | ar | text | رسالة. | [
"U+0631",
"U+0633",
"U+0627",
"U+0644",
"U+0629",
"U+002E"
] | d8b1d8b3d8a7d984d8a92e | false | رسالة. | رسالة. | رسالة. | رسالة. | رسالة. | رساله | null | [] | Taa marbuta before a full stop. | [
"BAYANAT-NORM-V1 stage 13"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-taa-marbuta-010 | taa_marbuta | must | fa | text | خانۀ | [
"U+062E",
"U+0627",
"U+0646",
"U+06C0"
] | d8aed8a7d986db80 | false | خانۀ | خانۀ | خانۀ | خانۀ | خانۀ | خانۀ | null | [] | Heh with yeh above U+06C0 (Persian) is kept: Persian letters are not mapped. | [
"BAYANAT-NORM-V1 stage 13"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-diacritic-order-001 | diacritic_order | must | ar | text | مَّ | [
"U+0645",
"U+0651",
"U+064E"
] | d985d991d98e | false | مَّ | مَّ | مَّ | مَّ | م | م | null | [] | Shadda (class 33) before fatha (class 30): NFC reorders to fatha, shadda. | [
"UAX #15 canonical ordering",
"UnicodeData.txt canonical combining classes",
"BAYANAT-NORM-V1 stages 6 and 8"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-diacritic-order-002 | diacritic_order | must | ar | text | مَّ | [
"U+0645",
"U+064E",
"U+0651"
] | d985d98ed991 | false | مَّ | مَّ | مَّ | مَّ | م | م | null | [] | Fatha before shadda is already in canonical order. | [
"UAX #15 canonical ordering",
"UnicodeData.txt canonical combining classes",
"BAYANAT-NORM-V1 stages 6 and 8"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-diacritic-order-003 | diacritic_order | must | ar | text | مِّ | [
"U+0645",
"U+0651",
"U+0650"
] | d985d991d990 | false | مِّ | مِّ | مِّ | مِّ | م | م | null | [] | Shadda before kasra (class 32): reordered. | [
"UAX #15 canonical ordering",
"UnicodeData.txt canonical combining classes",
"BAYANAT-NORM-V1 stages 6 and 8"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-diacritic-order-004 | diacritic_order | must | ar | text | مُّ | [
"U+0645",
"U+0651",
"U+064F"
] | d985d991d98f | false | مُّ | مُّ | مُّ | مُّ | م | م | null | [] | Shadda before damma (class 31): reordered. | [
"UAX #15 canonical ordering",
"UnicodeData.txt canonical combining classes",
"BAYANAT-NORM-V1 stages 6 and 8"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-diacritic-order-005 | diacritic_order | must | ar | text | مًّ | [
"U+0645",
"U+0651",
"U+064B"
] | d985d991d98b | false | مًّ | مًّ | مًّ | مًّ | م | م | null | [] | Shadda before fathatan (class 27): reordered. | [
"UAX #15 canonical ordering",
"UnicodeData.txt canonical combining classes",
"BAYANAT-NORM-V1 stages 6 and 8"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-diacritic-order-006 | diacritic_order | must | ar | text | مٌّ | [
"U+0645",
"U+0651",
"U+064C"
] | d985d991d98c | false | مٌّ | مٌّ | مٌّ | مٌّ | م | م | null | [] | Shadda before dammatan (class 28): reordered. | [
"UAX #15 canonical ordering",
"UnicodeData.txt canonical combining classes",
"BAYANAT-NORM-V1 stages 6 and 8"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-diacritic-order-007 | diacritic_order | should | ar | text | مّْ | [
"U+0645",
"U+0652",
"U+0651"
] | d985d992d991 | false | مّْ | مّْ | مّْ | مّْ | م | م | null | [] | Sukun (class 34) before shadda (class 33): reordered. | [
"UAX #15 canonical ordering",
"UnicodeData.txt canonical combining classes",
"BAYANAT-NORM-V1 stages 6 and 8"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-diacritic-order-008 | diacritic_order | must | ar | text | هّٰ | [
"U+0647",
"U+0670",
"U+0651"
] | d987d9b0d991 | false | هّٰ | هّٰ | هّٰ | هّٰ | ه | ه | null | [] | Superscript alef (class 35) before shadda: reordered. | [
"UAX #15 canonical ordering",
"UnicodeData.txt canonical combining classes",
"BAYANAT-NORM-V1 stages 6 and 8"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-diacritic-order-009 | diacritic_order | should | ar | text | وّٓ | [
"U+0648",
"U+0653",
"U+0651"
] | d988d993d991 | false | وّٓ | وّٓ | وّٓ | وّٓ | و | و | null | [] | Madda (class 230) before shadda: reordered. | [
"UAX #15 canonical ordering",
"UnicodeData.txt canonical combining classes",
"BAYANAT-NORM-V1 stages 6 and 8"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-diacritic-order-010 | diacritic_order | must | ar | text | بِٕ | [
"U+0628",
"U+0655",
"U+0650"
] | d8a8d995d990 | false | بِٕ | بِٕ | بِٕ | بِٕ | بٕ | بٕ | null | [] | Hamza below (class 220) before kasra: reordered; beh has no composition with hamza below. | [
"UAX #15 canonical ordering",
"UnicodeData.txt canonical combining classes",
"BAYANAT-NORM-V1 stages 6 and 8"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-diacritic-order-011 | diacritic_order | must | ar | text | محُمَّد | [
"U+0645",
"U+062D",
"U+064F",
"U+0645",
"U+0651",
"U+064E",
"U+062F"
] | d985d8add98fd985d991d98ed8af | false | محُمَّد | محُمَّد | محُمَّد | محُمَّد | محمد | محمد | null | [] | A name with shadda written before fatha. | [
"UAX #15 canonical ordering",
"UnicodeData.txt canonical combining classes",
"BAYANAT-NORM-V1 stages 6 and 8"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-diacritic-order-012 | diacritic_order | must | ar | text | محُمَّد | [
"U+0645",
"U+062D",
"U+064F",
"U+0645",
"U+064E",
"U+0651",
"U+062F"
] | d985d8add98fd985d98ed991d8af | false | محُمَّد | محُمَّد | محُمَّد | محُمَّد | محمد | محمد | null | [] | The same name in canonical order: its NFC form equals that of the previous case. | [
"UAX #15 canonical ordering",
"UnicodeData.txt canonical combining classes",
"BAYANAT-NORM-V1 stages 6 and 8"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-diacritic-order-013 | diacritic_order | must | ar | text | رَّٰ | [
"U+0631",
"U+0651",
"U+0670",
"U+064E"
] | d8b1d991d9b0d98e | false | رَّٰ | رَّٰ | رَّٰ | رَّٰ | ر | ر | null | [] | Three marks out of order: NFC sorts them to fatha (30), shadda (33), superscript alef (35). | [
"UAX #15 canonical ordering",
"UnicodeData.txt canonical combining classes",
"BAYANAT-NORM-V1 stages 6 and 8"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-diacritic-order-014 | diacritic_order | must | ar | text | بٌّ | [
"U+0628",
"U+064C",
"U+0651"
] | d8a8d98cd991 | false | بٌّ | بٌّ | بٌّ | بٌّ | ب | ب | null | [] | Dammatan before shadda is already canonical. | [
"UAX #15 canonical ordering",
"UnicodeData.txt canonical combining classes",
"BAYANAT-NORM-V1 stages 6 and 8"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-diacritic-order-015 | diacritic_order | must | ar | text | مٌّمٌّ | [
"U+0645",
"U+064C",
"U+0651",
"U+0645",
"U+0651",
"U+064C"
] | d985d98cd991d985d991d98c | false | مٌّمٌّ | مٌّمٌّ | مٌّمٌّ | مٌّمٌّ | مم | مم | null | [] | Two letters: one canonical, one not. | [
"UAX #15 canonical ordering",
"UnicodeData.txt canonical combining classes",
"BAYANAT-NORM-V1 stages 6 and 8"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-diacritic-order-016 | diacritic_order | should | ar | text | بَٖ | [
"U+0628",
"U+0656",
"U+064E"
] | d8a8d996d98e | false | بَٖ | بَٖ | بَٖ | بَٖ | ب | ب | null | [] | Subscript alef U+0656 (class 220) before fatha: reordered; bayanat-norm-v1 removes both. | [
"UAX #15 canonical ordering",
"UnicodeData.txt canonical combining classes",
"BAYANAT-NORM-V1 stages 6 and 8"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
ar-uc-diacritic-order-017 | diacritic_order | should | ar | text | بّٗ | [
"U+0628",
"U+0657",
"U+0651"
] | d8a8d997d991 | false | بّٗ | بّٗ | بّٗ | بّٗ | ب | ب | null | [] | Inverted damma U+0657 (class 230) before shadda: reordered. | [
"UAX #15 canonical ordering",
"UnicodeData.txt canonical combining classes",
"BAYANAT-NORM-V1 stages 6 and 8"
] | 16.0.0 | 0.1.0 | Bayanat Labs | true | pending native review |
Arabic Unicode Conformance Suite
300 test cases with the exact expected output of Arabic text normalisation under 6 named policies, and the observed outputs of 7 implementations. Version 0.1.0 (2026-10-15). Code and runner: GitHub. Published by Bayanat Labs (bayanatlabs.com). Arabic summary at the end of this card.
What it is
Arabic text normalisation (removing harakat and tatweel, folding alef forms, mapping presentation forms such as ﻻ, handling ZWNJ, bidi controls and Arabic-Indic digits) is done differently by every tool, and reports rarely say exactly what was done, so word error rates and deduplication counts computed with different tools are not comparable. This dataset pins the behaviour down: each case gives an input string (with its code points and UTF-8 bytes) and the exact output under six named policies: identity, nfc, nfkc, and the three policies of the open-source library arabic-normalize: raw-safe-v1 (cleaning only), bayanat-norm-v1 (a normalised text column) and asr-eval-v1 (speech recognition scoring). The policies are defined stage by stage in policies/BAYANAT-NORM-V1.md.
arabic-normalize also ships 80 conformance fixtures (Bayanat-Labs/arabic-normalization-conformance); this suite is broader, with more categories, more policies and more implementations.
Intended uses: testing an Arabic normaliser against a named policy; stating which normalisation a word error rate or a search index used; comparing tools on Arabic Unicode edge cases. Out-of-scope uses: training or evaluating language models (the set is small and synthetic); statistics about how often a phenomenon occurs in real text; judging whether a policy is linguistically right for a task (the policies are choices).
What is released
| Config | Split | One row per | Rows |
|---|---|---|---|
cases (default) |
test |
case, with the expected output of every policy in its own column | 300 |
expectations |
test |
case and policy, with exact expected code points | 1800 |
observations |
test |
implementation pipeline and case: the output it gave and whether it matched | 6000 |
Also in the repository: jsonl/ (the same cases and observations as JSON Lines, with invisible characters written as \uXXXX escapes), conformance/ (the conformance matrix as CSV and HTML, and the versions of every tool run), policies/ (policy specs and the normative text in English and Arabic), MANIFEST.json and SHA256SUMS.
How to load
from datasets import load_dataset
cases = load_dataset("Bayanat-Labs/arabic-unicode-conformance", "cases", split="test")
def exact_input(row): # rebuilds the exact input, lone surrogates included
return "".join(chr(int(cp[2:], 16)) for cp in row["input_codepoints"])
failures = [r["case_id"] for r in cases
if r["input_kind"] == "text" and my_normaliser(exact_input(r)) != r["expected_bayanat_norm_v1"]]
The runner on GitHub does the same for several tools and builds the matrix: pip install "git+https://github.com/Bayanat-Labs/arabic-unicode-conformance@v0.1.0", then arabic-unicode-conformance run --impl <adapter>. The package will also be installable with pip install arabic-unicode-conformance once it is published.
Breakdown
| Cases | 300 (297 text inputs, 3 raw-byte inputs that are not valid UTF-8) |
| Inputs with a lone surrogate | 2 |
| Levels | 264 must, 36 should |
Cases with letters that must survive (must_preserve) |
23 |
| Language tags | 14 (ar 237, fa 21, und 21, ur 6, en 3, ary 2, ckb 2, ug 2, ar-DZ 1, ar-Latn 1, ar-MA 1, hi 1, kk 1, ps 1) |
| Category | Cases | must | should |
|---|---|---|---|
alef |
18 | 15 | 3 |
bidi |
18 | 15 | 3 |
confusables |
12 | 12 | 0 |
diacritic_order |
22 | 17 | 5 |
dialect_letters |
15 | 15 | 0 |
digits |
24 | 22 | 2 |
hamza |
23 | 21 | 2 |
joiners |
18 | 11 | 7 |
lam_alef |
14 | 13 | 1 |
malformed |
14 | 13 | 1 |
mixed_script |
10 | 10 | 0 |
presentation_forms |
26 | 18 | 8 |
punctuation |
14 | 14 | 0 |
quranic |
18 | 16 | 2 |
spaces |
12 | 12 | 0 |
taa_marbuta |
10 | 10 | 0 |
tatweel |
14 | 13 | 1 |
yeh |
18 | 17 | 1 |
| Policy | Text cases whose expected output differs from the input | Defined by |
|---|---|---|
identity |
0 of 297 | definition |
nfc |
32 of 297 | Python unicodedata.normalize('NFC'), Unicode 16.0.0 |
nfkc |
85 of 297 | Python unicodedata.normalize('NFKC'), Unicode 16.0.0 |
raw-safe-v1 |
65 of 297 | arabic-normalize policy, SHA-256 57c3d9f03fb9b6854f2527cd1e8a47cadc266f47f02dda94652306dacea03bb5 |
bayanat-norm-v1 |
196 of 297 | arabic-normalize policy, SHA-256 ebdb82000d0762a65120ffa9311bc6f01b481b19d4348ea5bedb3ab23d759321 |
asr-eval-v1 |
226 of 297 | arabic-normalize policy, SHA-256 5d866146536a23b90c0882044dae5f55f2484f0635e206828246eabeb69668de |
Conformance matrix
Conformance rows are implementations that claim the policy. Agreement rows are tools that claim no suite policy, compared with the closest one; low agreement means the tool normalises differently, not that it is wrong. "Same tokens" ignores whitespace differences only. The three raw-byte cases are not applicable to tools that accept only strings. The exact calls are listed in ADAPTERS.md on GitHub.
| Implementation | Version | Pipeline | Policy | Relation | Pass | Same tokens |
|---|---|---|---|---|---|---|
| Python unicodedata.normalize | 3.14.7 | py-nfc |
nfc |
conformance | 300/300 (100.0%) | 100.0% |
| Python unicodedata.normalize | 3.14.7 | py-nfkc |
nfkc |
conformance | 300/300 (100.0%) | 100.0% |
| Node.js String.prototype.normalize (ICU) | 78.2 | icu-nfc |
nfc |
conformance | 300/300 (100.0%) | 100.0% |
| Node.js String.prototype.normalize (ICU) | 78.2 | icu-nfkc |
nfkc |
conformance | 300/300 (100.0%) | 100.0% |
| arabic-normalize (Python) | 0.1.0 | an-py-raw-safe-v1 |
raw-safe-v1 |
conformance | 300/300 (100.0%) | 100.0% |
| arabic-normalize (Python) | 0.1.0 | an-py-bayanat-norm-v1 |
bayanat-norm-v1 |
conformance | 300/300 (100.0%) | 100.0% |
| arabic-normalize (Python) | 0.1.0 | an-py-asr-eval-v1 |
asr-eval-v1 |
conformance | 300/300 (100.0%) | 100.0% |
| arabic-normalize (JavaScript) | 0.1.0 | an-js-raw-safe-v1 |
raw-safe-v1 |
conformance | 300/300 (100.0%) | 100.0% |
| arabic-normalize (JavaScript) | 0.1.0 | an-js-bayanat-norm-v1 |
bayanat-norm-v1 |
conformance | 300/300 (100.0%) | 100.0% |
| arabic-normalize (JavaScript) | 0.1.0 | an-js-asr-eval-v1 |
asr-eval-v1 |
conformance | 300/300 (100.0%) | 100.0% |
| arabic-normalize (JavaScript) | 0.1.0 | an-js-nfc |
nfc |
conformance | 300/300 (100.0%) | 100.0% |
| arabic-normalize (JavaScript) | 0.1.0 | an-js-nfkc |
nfkc |
conformance | 300/300 (100.0%) | 100.0% |
| CAMeL Tools | 1.6.0 | camel-unicode-nfc |
nfc |
agreement | 297/297 (100.0%) | 100.0% |
| CAMeL Tools | 1.6.0 | camel-unicode |
nfkc |
agreement | 295/297 (99.3%) | 99.3% |
| CAMeL Tools | 1.6.0 | camel-norm |
bayanat-norm-v1 |
agreement | 178/297 (59.9%) | 62.3% |
| CAMeL Tools | 1.6.0 | camel-norm-teh |
asr-eval-v1 |
agreement | 156/297 (52.5%) | 55.6% |
| PyArabic | 0.6.15 | pyarabic-norm |
bayanat-norm-v1 |
agreement | 177/297 (59.6%) | 59.6% |
| PyArabic | 0.6.15 | pyarabic-norm-teh |
asr-eval-v1 |
agreement | 146/297 (49.2%) | 53.2% |
| Whisper BasicTextNormalizer | 0.1.15 | whisper-basic |
asr-eval-v1 |
agreement | 79/297 (26.6%) | 40.7% |
| Whisper BasicTextNormalizer | 0.1.15 | whisper-basic-rd |
asr-eval-v1 |
agreement | 132/297 (44.4%) | 49.8% |
Run on 2026-10-15 with: Python unicodedata.normalize (tool Python unicodedata, version 3.14.7, unicode 16.0.0); Node.js String.prototype.normalize (ICU) (node 22.23.2, icu 78.2, icu_unicode 17.0, tool Node.js String.prototype.normalize (ICU), version 78.2); arabic-normalize (Python) (tool arabic-normalize (Python), version 0.1.0, unicode 18.0.0, python 3.14.7); arabic-normalize (JavaScript) (node 22.23.2, icu 78.2, icu_unicode 17.0, tool arabic-normalize (JavaScript), version 0.1.0, unicode 18.0.0); CAMeL Tools (tool camel-tools, version 1.6.0, python 3.12.14, unicodedata 15.0.0); PyArabic (tool PyArabic, version 0.6.15, python 3.12.14, unicodedata 15.0.0); Whisper BasicTextNormalizer (tool whisper-normalizer, version 0.1.15, python 3.12.14, unicodedata 15.0.0). Tools were run unmodified, through their public functions, each in its own environment; PyArabic (GPL) ran as a separate process. Maintainers and users are welcome to send corrections to hello@bayanatlabs.com.
Structure (config cases)
| Field | Type | Description |
|---|---|---|
case_id |
string | Stable id, never reused (ar-uc-<category>-<nnn>) |
category, level |
string | Phenomenon tested; must or should |
language_tag |
string | Language of the input (und when not language-specific); the policies do not depend on it |
input_kind |
string | text, or utf8_bytes for raw bytes that are not valid UTF-8 |
input |
string, nullable | The input. Null for raw-byte inputs and for inputs holding a lone surrogate (Parquet strings must be valid UTF-8): rebuild those from input_codepoints |
input_codepoints |
list of string | Exact input code points (U+0649) |
input_utf8_hex |
string, nullable | UTF-8 bytes in hex; the raw bytes for utf8_bytes inputs; null when the input holds a lone surrogate |
expected_identity ... expected_asr_eval_v1 |
string, nullable | Expected output per policy; null when the input must be rejected or when the output holds a lone surrogate (the expectations config has the exact code points) |
expected_error |
string, nullable | invalid_utf8 when every policy must reject the input |
must_preserve |
list of string | Code points that raw-safe-v1, bayanat-norm-v1 and asr-eval-v1 must keep |
rationale_en, references |
string, list | Why the expected outputs are what they are, and the specifications behind them |
nfc_nfkc_unicode_version |
string | Unicode version of the nfc and nfkc expectations (16.0.0; every input uses code points assigned since Unicode 13.0.0) |
added_in, author, synthetic, review_status |
string, bool | Suite version, authorship (Bayanat Labs), synthetic: true, review status |
Creation
- Every input was written by Bayanat Labs for this suite; no text is taken from a corpus or from another project's tests (
synthetic: true). identity,nfcandnfkcexpectations: Python 3.14unicodedata(Unicode 16.0.0).raw-safe-v1,bayanat-norm-v1andasr-eval-v1expectations: an independent reference implementation written from the stage definitions; many were also stated explicitly in the case source and checked against it. arabic-normalize (Python and JavaScript, commit3ad22326a66596e8dc413321017251eed6e60439) passes every case.- Every expected output is a fixed point of its policy (checked by the build).
- Review status: not yet reviewed by native Arabic speakers (
review_status: "pending native review").
Considerations and limitations
- The policies are choices: folding أ to ا or ى to ي merges some distinct words, and
asr-eval-v1splits numbers at Arabic separators. The suite tests that a normaliser does what a policy says. - The cases show behaviour; they say nothing about frequency in real text.
- Agreement rows depend on how each tool's functions were combined into a pipeline; other combinations exist.
- Bidi display order and glyph shaping are not tested.
- Personal data: none. Common names such as محمد and مصطفى appear only as spelling examples.
Licensing
CC BY 4.0. Attribute as "Arabic Unicode Conformance Suite, Bayanat Labs, CC BY 4.0". The runner code on GitHub is Apache-2.0. The observations config records outputs of third-party tools; the tools keep their own licences.
Citation
@misc{bayanatlabs_arabic_unicode_conformance_2026,
title = {Arabic Unicode Conformance Suite},
author = {{Bayanat Labs}},
year = {2026},
note = {Version 0.1.0},
url = {https://huggingface.co/datasets/Bayanat-Labs/arabic-unicode-conformance}
}
Contact, corrections and takedown
hello@bayanatlabs.com. Bayanat Labs also builds Arabic speech and text datasets for evaluation and training.
Changelog
| Version | Date | Change |
|---|---|---|
| 0.1.0 | 2026-10-15 | First release: 300 cases, 6 policies, 7 implementations |
بالعربية
The Arabic text has not yet been reviewed by a native Arabic writer; the English governs.
حزمة اختبار مفتوحة لتوحيد النص العربي: 300 حالة، لكل منها نص مدخل ونقاط ترميزه وبايتاته، والناتج الدقيق المتوقع تحت 6 سياسات مسمّاة (identity وnfc وnfkc وraw-safe-v1 وbayanat-norm-v1 وasr-eval-v1)، مع مخرجات 7 تطبيقات مسجّلة في مصفوفة مطابقة. تغطي الحالات التطويل والهمزات وصور الألف والألف المقصورة والتاء المربوطة وترتيب الحركات والعلامات القرآنية والأرقام وأشكال العرض ولام ألف والفاصل غير الواصل ومحارف الاتجاه وعلامات الترقيم والمسافات وحروف اللهجات (ڤ ڨ ݣ ڭ پ چ گ) والمحارف المتشابهة والمدخلات المعيبة. كتبت بيانات لابز كل الحالات لهذه الحزمة، والترخيص CC BY 4.0. النص المعياري للسياسات بالعربية في policies/BAYANAT-NORM-V1.ar.md.
- Downloads last month
- -