Datasets:
fixture_id stringlengths 8 8 | split stringclasses 1
value | category stringclasses 19
values | category_name stringclasses 19
values | valid bool 2
classes | format stringclasses 6
values | options stringclasses 11
values | input_payload stringlengths 35 604 | expected_error_codes stringlengths 2 16 | expected_suggested_export stringlengths 4 242 | expected_problem stringclasses 0
values | author_note stringlengths 17 156 | author stringclasses 1
value | reviewed_by stringclasses 0
values | synthetic bool 1
class | license stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dev-a-01 | dev | a | Astral character (emoji) before the span: UTF-16 vs code point offsets | false | canonical | {} | {"id": "r1", "text": "وصلت الرسالة 😀 من مدينة الرياض صباح اليوم", "offset_unit": "codepoint", "spans": [{"start": 25, "end": 31, "label": "LOC", "text": "الرياض"}]}
| ["E003", "E014"] | [{"record_id": "r1", "span_index": 0, "old": [25, 31], "new": [24, 30], "reason_code": "E014", "confidence": "high"}] | null | Offsets counted in UTF-16 code units (the emoji counts 2) but declared as code points; the span text confirms the UTF-16 reading. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-a-02 | dev | a | Astral character (emoji) before the span: UTF-16 vs code point offsets | false | canonical | {} | {"id": "r1", "text": "😀 افتتحت مكتبة الإسكندرية قاعة جديدة", "offset_unit": "utf16", "spans": [{"start": 9, "end": 25, "label": "ORG", "text": "مكتبة الإسكندرية"}]}
| ["E003", "E014"] | [{"record_id": "r1", "span_index": 0, "old": [9, 25], "new": [10, 26], "reason_code": "E014", "confidence": "high"}] | null | Offsets counted in code points but declared as UTF-16; the emoji at the start shifts the UTF-16 reading by one. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-a-03 | dev | a | Astral character (emoji) before the span: UTF-16 vs code point offsets | false | doccano | {"offset_unit": "codepoint"} | {"id": 301, "text": "شاركت فرق من الدوحة 😀😀 ومن المنامة في المسابقة", "label": [[13, 19, "LOC"], [29, 36, "LOC"]]}
| ["E014"] | [{"record_id": "301", "span_index": 1, "old": [29, 36], "new": [27, 34], "reason_code": "E014", "confidence": "medium"}] | null | doccano export without span text: the second span lies after two emoji and only fits word boundaries when read as UTF-16. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-a-04 | dev | a | Astral character (emoji) before the span: UTF-16 vs code point offsets | false | canonical | {} | {"id": "r1", "text": "مرحبًا من 😀الدمام", "offset_unit": "utf16", "spans": [{"start": 11, "end": 17, "label": "LOC", "text": "الدمام"}]}
| ["E014", "E015"] | [{"record_id": "r1", "span_index": 0, "old": [11, 17], "new": [12, 18], "reason_code": "E014", "confidence": "high"}] | null | Declared UTF-16; the start offset lands between the two surrogates of the emoji glued to the entity. Read as code points the span fits. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-a-05 | dev | a | Astral character (emoji) before the span: UTF-16 vs code point offsets | true | label_studio | {"offset_unit": "utf16"} | [{"id": 5, "data": {"text": "قال الفريق 😀 إن معرض الكتاب يقام في الشارقة"}, "annotations": [{"id": 1, "result": [{"id": "reg1", "from_name": "label", "to_name": "text", "type": "labels", "value": {"start": 37, "end": 44, "labels": ["LOC"], "text": "الشارقة"}}]}]}] | [] | null | null | Label Studio task with an emoji before the entity and correct UTF-16 offsets. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-b-01 | dev | b | UTF-8 byte offsets | false | canonical | {} | {"id": "r1", "text": "عقد المؤتمر السنوي في مدينة جدة", "offset_unit": "codepoint", "spans": [{"start": 51, "end": 57, "label": "LOC", "text": "جدة"}]}
| ["E001", "E014"] | [{"record_id": "r1", "span_index": 0, "old": [51, 57], "new": [28, 31], "reason_code": "E014", "confidence": "high"}] | null | UTF-8 byte offsets declared as code points: Arabic letters take two bytes, so the offsets run past the end of the text. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-b-02 | dev | b | UTF-8 byte offsets | false | canonical | {} | {"id": "r1", "text": "تقع جامعة القاهرة في الجيزة", "offset_unit": "utf8_byte", "spans": [{"start": 4, "end": 17, "label": "ORG", "text": "جامعة القاهرة"}]}
| ["E003", "E014"] | [{"record_id": "r1", "span_index": 0, "old": [4, 17], "new": [7, 32], "reason_code": "E014", "confidence": "high"}] | null | Code point offsets declared as UTF-8 bytes; both offsets fall on byte boundaries but select the wrong text. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-b-03 | dev | b | UTF-8 byte offsets | false | doccano | {"offset_unit": "utf8_byte"} | {"id": 303, "text": "سافر وفد بغداد إلى فاس", "entities": [{"id": 1, "label": "LOC", "start_offset": 9, "end_offset": 14}, {"id": 2, "label": "LOC", "start_offset": 19, "end_offset": 22}]}
| ["E014", "E015"] | [{"record_id": "303", "span_index": 0, "old": [9, 14], "new": [16, 26], "reason_code": "E014", "confidence": "medium"}, {"record_id": "303", "span_index": 1, "old": [19, 22], "new": [34, 40], "reason_code": "E014", "confidence": "medium"}] | null | doccano entities with code point offsets declared as UTF-8 bytes; offsets land inside two-byte Arabic letters. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-b-04 | dev | b | UTF-8 byte offsets | true | canonical | {} | {"id": "r1", "text": "تستضيف مسقط معرضًا للمخطوطات العربية", "offset_unit": "utf8_byte", "spans": [{"start": 13, "end": 21, "label": "LOC", "text": "مسقط"}]}
| [] | null | null | Correct UTF-8 byte offsets, declared as such. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-b-05 | dev | b | UTF-8 byte offsets | false | label_studio | {"offset_unit": "utf16"} | [{"id": 9, "data": {"text": "استضافت الرباط ملتقى الشباب العربي"}, "annotations": [{"id": 1, "result": [{"id": "reg1", "from_name": "label", "to_name": "text", "type": "labels", "value": {"start": 15, "end": 27, "labels": ["LOC"], "text": "الرباط"}}]}]}] | ["E003", "E014"] | [{"record_id": "9:1", "span_index": 0, "old": [15, 27], "new": [8, 14], "reason_code": "E014", "confidence": "high"}] | null | Label Studio task whose offsets are UTF-8 bytes while the declared unit is UTF-16. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-c-01 | dev | c | NFC composition drift | false | canonical | {} | {"id": "r1", "text": "سأل الباحث عن تاريخ القاهرة", "offset_unit": "codepoint", "spans": [{"start": 20, "end": 27, "label": "LOC", "text": "القاهرة"}]}
| ["E003", "E011"] | [{"record_id": "r1", "span_index": 0, "old": [20, 27], "new": [21, 28], "reason_code": "E011", "confidence": "high"}] | null | The text keeps alef + combining hamza (U+0627 U+0654); the offsets were taken from the NFC form, where the pair is one letter. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-c-02 | dev | c | NFC composition drift | false | canonical | {} | {"id": "r1", "text": "زرنا مدينة أسوان في الشتاء", "offset_unit": "codepoint", "spans": [{"start": 11, "end": 17, "label": "LOC", "text": "أسوان"}]}
| ["E003", "E011"] | null | null | Offsets are right for the decomposed text, but the span text is the NFC form (أسوان); the two differ only by normalisation. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-c-03 | dev | c | NFC composition drift | false | doccano | {"offset_unit": "codepoint"} | {"id": 503, "text": "قرأ الطالب ثم سأل عن مدينة الأقصر", "label": [[27, 33, "LOC"]]}
| ["E011"] | [{"record_id": "503", "span_index": 0, "old": [27, 33], "new": [29, 35], "reason_code": "E011", "confidence": "medium"}] | null | doccano export without span text; two decomposed hamzas before the entity, offsets taken from the NFC form. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-c-04 | dev | c | NFC composition drift | false | canonical | {} | {"id": "r1", "text": "تقع مدينة أبها في جنوب المملكة", "offset_unit": "codepoint", "spans": [{"start": 11, "end": 15, "label": "LOC", "text": "ٔبها"}]}
| ["E004"] | [{"record_id": "r1", "span_index": 0, "old": [11, 15], "new": [10, 15], "reason_code": "E004", "confidence": "medium"}] | null | The span starts between the alef and its combining hamza, inside one grapheme cluster. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-c-05 | dev | c | NFC composition drift | true | canonical | {} | {"id": "r1", "text": "تقع مدينة أبها في جنوب المملكة", "offset_unit": "codepoint", "spans": [{"start": 10, "end": 15, "label": "LOC", "text": "أبها"}]}
| [] | null | null | Decomposed text with offsets and span text that match it exactly. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-d-01 | dev | d | NFKC ligature expansion | false | canonical | {} | {"id": "r1", "text": "ﻻ يزال المتحف الوطني في الشارقة مفتوحًا", "offset_unit": "codepoint", "spans": [{"start": 25, "end": 32, "label": "LOC", "text": "الشارقة"}]}
| ["E003", "E011"] | [{"record_id": "r1", "span_index": 0, "old": [25, 32], "new": [24, 31], "reason_code": "E011", "confidence": "high"}] | null | The text starts with the lam-alef ligature U+FEFB; the offsets were taken from the NFKC form, where it is two letters. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-d-02 | dev | d | NFKC ligature expansion | false | canonical | {} | {"id": "r1", "text": "كتب الخطاط اسم ﷲ بخط الثلث على لوحة عرضت في الدوحة العام الماضي", "offset_unit": "codepoint", "spans": [{"start": 47, "end": 53, "label": "LOC", "text": "الدوحة"}]}
| ["E003", "E011"] | [{"record_id": "r1", "span_index": 0, "old": [47, 53], "new": [44, 50], "reason_code": "E011", "confidence": "high"}] | null | U+FDF2 (one code point) expands to four letters under NFKC; offsets from the NFKC form are three too far. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-d-03 | dev | d | NFKC ligature expansion | false | canonical | {} | {"id": "r1", "text": "عقدت محكمة العدل الدولية جلستها في ﻻهاي", "offset_unit": "codepoint", "spans": [{"start": 35, "end": 39, "label": "LOC", "text": "لاهاي"}]}
| ["E003", "E011"] | null | null | The text writes the place name with the ligature U+FEFB; the span text spells it with two letters. Offsets are right. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-d-04 | dev | d | NFKC ligature expansion | false | doccano | {"offset_unit": "codepoint"} | {"id": 704, "text": "قال الدليل إن ﻻ شيء يضاهي أسواق مراكش القديمة", "label": [[33, 38, "LOC"]]}
| ["E011"] | [{"record_id": "704", "span_index": 0, "old": [33, 38], "new": [32, 37], "reason_code": "E011", "confidence": "medium"}] | null | doccano export without span text; offsets taken from the NFKC form of a text with one lam-alef ligature. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-d-05 | dev | d | NFKC ligature expansion | true | label_studio | {"offset_unit": "codepoint"} | [{"id": 12, "data": {"text": "رفع الزوار لافتة ﻻ للحرب أمام مبنى الأمم المتحدة"}, "annotations": [{"id": 1, "result": [{"id": "reg1", "from_name": "label", "to_name": "text", "type": "labels", "value": {"start": 35, "end": 48, "labels": ["ORG"], "text": "الأمم المتحدة"}}]}]}] | [] | null | null | A ligature before the entity and offsets counted on the text as it is. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-e-01 | dev | e | Span edge between a letter and its haraka or shadda | false | canonical | {} | {"id": "r1", "text": "سافرَ الوفدُ إلى دِمَشْقَ أمسِ", "offset_unit": "codepoint", "spans": [{"start": 17, "end": 24, "label": "LOC", "text": "دِمَشْق"}]}
| ["E004"] | [{"record_id": "r1", "span_index": 0, "old": [17, 24], "new": [17, 25], "reason_code": "E004", "confidence": "medium"}] | null | The span ends between the last letter and its fatha. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-e-02 | dev | e | Span edge between a letter and its haraka or shadda | false | canonical | {} | {"id": "r1", "text": "كتبَ ابنُ بطوطةَ عن رحلته", "offset_unit": "codepoint", "spans": [{"start": 3, "end": 16, "label": "PER", "text": "َ ابنُ بطوطةَ"}]}
| ["E004"] | [{"record_id": "r1", "span_index": 0, "old": [3, 16], "new": [5, 16], "reason_code": "E004", "confidence": "medium"}] | null | The span starts at the fatha of the previous word, inside that word's last grapheme cluster. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-e-03 | dev | e | Span edge between a letter and its haraka or shadda | false | label_studio | {"offset_unit": "codepoint"} | [{"id": 14, "data": {"text": "زار الشاعرُ بيروتَ في الربيع"}, "annotations": [{"id": 1, "result": [{"id": "reg1", "from_name": "label", "to_name": "text", "type": "labels", "value": {"start": 12, "end": 17, "labels": ["LOC"], "text": "بيروت"}}]}]}] | ["E004"] | [{"record_id": "14:1", "span_index": 0, "old": [12, 17], "new": [12, 18], "reason_code": "E004", "confidence": "medium"}] | null | Label Studio region that leaves out the final fatha of the place name. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-e-04 | dev | e | Span edge between a letter and its haraka or shadda | true | canonical | {} | {"id": "r1", "text": "وُلِدَ ابنُ سينا في بُخارى", "offset_unit": "codepoint", "spans": [{"start": 7, "end": 16, "label": "PER", "text": "ابنُ سينا"}, {"start": 20, "end": 26, "label": "LOC", "text": "بُخارى"}]}
| [] | null | null | Vocalised text with span edges on grapheme boundaries. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-e-05 | dev | e | Span edge between a letter and its haraka or shadda | false | spacy | {"offset_unit": "codepoint"} | {"text": "وصلنا إلى جدّة ظهرًا", "entities": [[10, 12, "LOC"]]}
| ["E004"] | [{"record_id": "L1", "span_index": 0, "old": [10, 12], "new": [10, 14], "reason_code": "E004", "confidence": "low"}] | null | spaCy-style entity that ends between a letter and its shadda; the grapheme repair still leaves the word cut, so the suggestion also extends to the word end. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-f-01 | dev | f | Tatweel removed after annotation | false | canonical | {} | {"id": "r1", "text": "رحلة من جـــدة إلى مكة المكرمة", "offset_unit": "codepoint", "spans": [{"start": 8, "end": 11, "label": "LOC", "text": "جدة"}, {"start": 16, "end": 27, "label": "LOC", "text": "مكة المكرمة"}]}
| ["E003", "E011"] | [{"record_id": "r1", "span_index": 0, "old": [8, 11], "new": [8, 14], "reason_code": "E011", "confidence": "high"}, {"record_id": "r1", "span_index": 1, "old": [16, 27], "new": [19, 30], "reason_code": "E011", "confidence": "high"}] | null | The text keeps tatweel; the offsets and span texts come from a copy with tatweel removed. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-f-02 | dev | f | Tatweel removed after annotation | false | doccano | {"offset_unit": "codepoint"} | {"id": 902, "text": "تقع مدينة الريـــاض في وسط المملكة وتبعد عن الدمام مسافة طويلة", "label": [[10, 16, "LOC"], [41, 47, "LOC"]]}
| ["E011"] | [{"record_id": "902", "span_index": 0, "old": [10, 16], "new": [10, 19], "reason_code": "E011", "confidence": "medium"}, {"record_id": "902", "span_index": 1, "old": [41, 47], "new": [44, 50], "reason_code": "E011", "confidence": "medium"}] | null | doccano export without span text; offsets counted on the text after tatweel removal. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-f-03 | dev | f | Tatweel removed after annotation | false | canonical | {} | {"id": "r1", "text": "افتتح المعرض في الرياض بحضور الزوار", "offset_unit": "codepoint", "spans": [{"start": 16, "end": 25, "label": "LOC", "text": "الريـــاض"}]}
| ["E003", "E011"] | [{"record_id": "r1", "span_index": 0, "old": [16, 25], "new": [16, 22], "reason_code": "E011", "confidence": "medium"}] | null | Tatweel was removed from the text after annotation; the span text and offsets still come from the version with tatweel. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-f-04 | dev | f | Tatweel removed after annotation | true | canonical | {} | {"id": "r1", "text": "تشتهر مدينة الطائـــف بالورد", "offset_unit": "codepoint", "spans": [{"start": 12, "end": 21, "label": "LOC", "text": "الطائـــف"}]}
| [] | null | null | Tatweel kept in the text and counted in the offsets. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-f-05 | dev | f | Tatweel removed after annotation | false | label_studio | {"offset_unit": "codepoint"} | [{"id": 18, "data": {"text": "زار الوفد مدينة صـــلالة ثم مسقط"}, "annotations": [{"id": 1, "result": [{"id": "reg1", "from_name": "label", "to_name": "text", "type": "labels", "value": {"start": 16, "end": 21, "labels": ["LOC"], "text": "صلالة"}}, {"id": "reg2", "from_name": "label", "to_name": "text", "type": "labels... | ["E003", "E011"] | [{"record_id": "18:1", "span_index": 0, "old": [16, 21], "new": [16, 24], "reason_code": "E011", "confidence": "high"}, {"record_id": "18:1", "span_index": 1, "old": [25, 29], "new": [28, 32], "reason_code": "E011", "confidence": "high"}] | null | Label Studio regions computed on a tatweel-free copy of a text that keeps tatweel. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-g-01 | dev | g | Bidi or zero-width control at a span edge | false | canonical | {} | {"id": "r1", "text": "انتقل المقر إلى الرياض في العام الماضي", "offset_unit": "codepoint", "spans": [{"start": 16, "end": 23, "label": "LOC", "text": "الرياض"}]}
| ["E012"] | [{"record_id": "r1", "span_index": 0, "old": [16, 23], "new": [17, 23], "reason_code": "E012", "confidence": "high"}] | null | A right-to-left mark (U+200F) is the first character of the span. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-g-02 | dev | g | Bidi or zero-width control at a span edge | false | canonical | {} | {"id": "r1", "text": "وصلت البعثة إلى بيروت صباحًا", "offset_unit": "codepoint", "spans": [{"start": 16, "end": 22, "label": "LOC", "text": "بيروت"}]}
| ["E012"] | [{"record_id": "r1", "span_index": 0, "old": [16, 22], "new": [16, 21], "reason_code": "E012", "confidence": "high"}] | null | A zero-width non-joiner (U+200C) is the last character of the span. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-g-03 | dev | g | Bidi or zero-width control at a span edge | false | doccano | {"offset_unit": "codepoint"} | {"id": 1103, "text": "سافر الفريق إلى تونس للمشاركة", "label": [[16, 21, "LOC"]]}
| ["E012"] | [{"record_id": "1103", "span_index": 0, "old": [16, 21], "new": [17, 21], "reason_code": "E012", "confidence": "high"}] | null | An Arabic letter mark (U+061C) opens the span. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-g-04 | dev | g | Bidi or zero-width control at a span edge | true | canonical | {} | {"id": "r1", "text": "يقع مقر جامعة الدول العربية في القاهرة", "offset_unit": "codepoint", "spans": [{"start": 9, "end": 28, "label": "ORG", "text": "جامعة الدول العربية"}, {"start": 33, "end": 40, "label": "LOC", "text": "القاهرة"}]}
| [] | null | null | Right-to-left marks right outside the span, not inside it. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-g-05 | dev | g | Bidi or zero-width control at a span edge | false | label_studio | {"offset_unit": "codepoint"} | [{"id": 22, "data": {"text": "أعلنت مكتبة الإسكندرية عن معرض جديد"}, "annotations": [{"id": 1, "result": [{"id": "reg1", "from_name": "label", "to_name": "text", "type": "labels", "value": {"start": 6, "end": 23, "labels": ["ORG"], "text": "مكتبة الإسكندرية"}}]}]}] | ["E012"] | [{"record_id": "22:1", "span_index": 0, "old": [6, 23], "new": [6, 22], "reason_code": "E012", "confidence": "high"}] | null | A zero-width space (U+200B) at the end of a Label Studio region. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-h-01 | dev | h | Clitic boundary under the include or exclude policy | false | canonical | {} | {"id": "r1", "text": "سافر الوفد إلى جدة والرياض", "offset_unit": "codepoint", "clitic_policy": "include", "spans": [{"start": 15, "end": 18, "label": "LOC", "text": "جدة"}, {"start": 20, "end": 26, "label": "LOC", "text": "الرياض"}]}
| ["E008"] | [{"record_id": "r1", "span_index": 1, "old": [20, 26], "new": [19, 26], "reason_code": "E008", "confidence": "medium"}] | null | clitic_policy include: the span leaves out the conjunction و attached to the place name. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-h-02 | dev | h | Clitic boundary under the include or exclude policy | false | canonical | {} | {"id": "r1", "text": "زرنا جدة والرياض", "offset_unit": "codepoint", "clitic_policy": "exclude", "spans": [{"start": 5, "end": 8, "label": "LOC", "text": "جدة"}, {"start": 9, "end": 16, "label": "LOC", "text": "والرياض"}]}
| ["E008"] | [{"record_id": "r1", "span_index": 1, "old": [9, 16], "new": [10, 16], "reason_code": "E008", "confidence": "medium"}] | null | clitic_policy exclude: the span includes the conjunction و. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-h-03 | dev | h | Clitic boundary under the include or exclude policy | true | canonical | {} | {"id": "r1", "text": "أقمنا أسبوعًا بمكة ثم سافرنا", "offset_unit": "codepoint", "clitic_policy": "exclude", "spans": [{"start": 15, "end": 18, "label": "LOC", "text": "مكة"}]}
| [] | null | null | clitic_policy exclude: the preposition ب stays outside the span. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-h-04 | dev | h | Clitic boundary under the include or exclude policy | true | doccano | {"offset_unit": "codepoint", "clitic_policy": "include"} | {"id": 1304, "text": "أقمنا أسبوعًا بمكة ثم سافرنا", "label": [[14, 18, "LOC"]]}
| [] | null | null | clitic_policy include: the preposition ب is inside the span. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-h-05 | dev | h | Clitic boundary under the include or exclude policy | false | canonical | {} | {"id": "r1", "text": "قدّمت المنظمة تقريرها للأمم المتحدة", "offset_unit": "codepoint", "clitic_policy": "exclude", "spans": [{"start": 22, "end": 35, "label": "ORG", "text": "للأمم المتحدة"}]}
| ["E008"] | [{"record_id": "r1", "span_index": 0, "old": [22, 35], "new": [23, 35], "reason_code": "E008", "confidence": "medium"}] | null | clitic_policy exclude: the span starts with the preposition ل fused with the article (لل). | Bayanat Labs | null | true | CC-BY-4.0 |
dev-h-06 | dev | h | Clitic boundary under the include or exclude policy | false | canonical | {} | {"id": "r1", "text": "زرنا جدة والرياض", "offset_unit": "codepoint", "clitic_policy": "exclude", "spans": [{"start": 12, "end": 16, "label": "LOC", "text": "رياض"}]}
| ["E008"] | [{"record_id": "r1", "span_index": 0, "old": [12, 16], "new": [10, 16], "reason_code": "E008", "confidence": "medium"}] | null | clitic_policy exclude keeps the definite article with the name; this span also drops the article. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-i-01 | dev | i | Span edge inside a word or token | false | canonical | {} | {"id": "r1", "text": "صدر تقرير عن الأمم المتحدة أمس", "offset_unit": "codepoint", "spans": [{"start": 13, "end": 24, "label": "ORG", "text": "الأمم المتح"}]}
| ["E007"] | [{"record_id": "r1", "span_index": 0, "old": [13, 24], "new": [13, 26], "reason_code": "E007", "confidence": "low"}] | null | The span ends two letters before the end of the word. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-i-02 | dev | i | Span edge inside a word or token | false | spacy | {"offset_unit": "codepoint"} | {"text": "تعمل منظمة الصحة العالمية في جنيف", "tokens": [{"text": "تعمل", "start": 0, "end": 4, "id": 0}, {"text": "منظمة", "start": 5, "end": 10, "id": 1}, {"text": "الصحة", "start": 11, "end": 16, "id": 2}, {"text": "العالمية", "start": 17, "end": 25, "id": 3}, {"text": "في", "start": 26, "end": 28, "id": 4}, {"text"... | ["E007"] | [{"record_id": "L1", "span_index": 0, "old": [5, 22], "new": [5, 25], "reason_code": "E007", "confidence": "low"}] | null | Prodigy-style record with tokens; the span ends inside the token العالمية. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-i-03 | dev | i | Span edge inside a word or token | false | canonical | {} | {"id": "r1", "text": "انعقدت قمة جامعة الدول العربية في الجزائر", "offset_unit": "codepoint", "spans": [{"start": 13, "end": 30, "label": "ORG", "text": "معة الدول العربية"}]}
| ["E007"] | [{"record_id": "r1", "span_index": 0, "old": [13, 30], "new": [11, 30], "reason_code": "E007", "confidence": "low"}] | null | The span starts inside the word جامعة (not after a clitic). | Bayanat Labs | null | true | CC-BY-4.0 |
dev-i-04 | dev | i | Span edge inside a word or token | true | canonical | {} | {"id": "r1", "text": "انعقدت قمة جامعة الدول العربية في الجزائر", "offset_unit": "codepoint", "tokens": [{"start": 0, "end": 6}, {"start": 7, "end": 10}, {"start": 11, "end": 16}, {"start": 17, "end": 22}, {"start": 23, "end": 30}, {"start": 31, "end": 33}, {"start": 34, "end": 41}], "spans": [{"start": 11, "end": 30, ... | [] | null | null | Multi-word entity whose edges match token edges. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-i-05 | dev | i | Span edge inside a word or token | false | doccano | {"offset_unit": "codepoint"} | {"id": 1505, "text": "يقع متحف اللوفر أبوظبي على جزيرة السعديات", "label": [[9, 20, "ORG"]]}
| ["E007"] | [{"record_id": "1505", "span_index": 0, "old": [9, 20], "new": [9, 22], "reason_code": "E007", "confidence": "low"}] | null | doccano span that cuts the last word of the entity. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-j-01 | dev | j | Overlapping spans | false | canonical | {} | {"id": "r1", "text": "تأسست جامعة الدول العربية في القاهرة", "offset_unit": "codepoint", "spans": [{"start": 6, "end": 25, "label": "ORG"}, {"start": 12, "end": 28, "label": "LOC"}]}
| ["E005"] | null | null | Two spans cross: the second starts inside the first and ends after it. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-j-02 | dev | j | Overlapping spans | false | canonical | {} | {"id": "r1", "text": "عقد الاجتماع في القاهرة", "offset_unit": "codepoint", "spans": [{"start": 16, "end": 23, "label": "LOC"}, {"start": 16, "end": 23, "label": "LOC"}]}
| ["E005"] | null | null | The same span with the same label appears twice. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-j-03 | dev | j | Overlapping spans | true | canonical | {} | {"id": "r1", "text": "زار الوفد الرياض ثم جدة", "offset_unit": "codepoint", "nested_policy": "allow", "spans": [{"start": 10, "end": 16, "label": "LOC"}, {"start": 20, "end": 23, "label": "LOC"}]}
| [] | null | null | Two separate spans; no overlap. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-j-04 | dev | j | Overlapping spans | false | doccano | {"offset_unit": "codepoint", "nested_policy": "allow"} | {"id": 1604, "text": "ألقى الكاتب نجيب محفوظ محاضرة في جامعة القاهرة", "label": [[12, 22, "PER"], [17, 29, "ORG"]]}
| ["E005"] | null | null | Crossing spans are an error even when nesting is allowed. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-j-05 | dev | j | Overlapping spans | false | label_studio | {"offset_unit": "codepoint"} | [{"id": 25, "data": {"text": "تحدث المتنبي عن حلب وأهلها"}, "annotations": [{"id": 1, "result": [{"id": "reg1", "from_name": "label", "to_name": "text", "type": "labels", "value": {"start": 5, "end": 15, "labels": ["PER"], "text": "المتنبي عن"}}, {"id": "reg2", "from_name": "label", "to_name": "text", "type": "labels",... | ["E005"] | null | null | Two Label Studio regions share the word عن. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-k-01 | dev | k | Nested spans under the forbid or allow policy | false | canonical | {} | {"id": "r1", "text": "تخرجت ليلى النجار في جامعة الملك سعود عام ٢٠١٠", "offset_unit": "codepoint", "nested_policy": "forbid", "spans": [{"start": 21, "end": 37, "label": "ORG"}, {"start": 27, "end": 37, "label": "PER"}]}
| ["E006"] | null | null | A person name nested inside an organisation name under nested_policy forbid. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-k-02 | dev | k | Nested spans under the forbid or allow policy | true | canonical | {} | {"id": "r1", "text": "تخرجت ليلى النجار في جامعة الملك سعود عام ٢٠١٠", "offset_unit": "codepoint", "nested_policy": "allow", "spans": [{"start": 21, "end": 37, "label": "ORG"}, {"start": 27, "end": 37, "label": "PER"}]}
| [] | null | null | The same nesting under nested_policy allow. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-k-03 | dev | k | Nested spans under the forbid or allow policy | false | canonical | {} | {"id": "r1", "text": "تقع الكويت على الخليج العربي", "offset_unit": "codepoint", "nested_policy": "forbid", "spans": [{"start": 4, "end": 10, "label": "LOC"}, {"start": 4, "end": 10, "label": "ORG"}]}
| ["E006"] | null | null | Two labels on the same extent under nested_policy forbid. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-k-04 | dev | k | Nested spans under the forbid or allow policy | true | doccano | {"offset_unit": "codepoint", "nested_policy": "allow"} | {"id": 1704, "text": "تقع الكويت على الخليج العربي", "label": [[4, 10, "LOC"], [4, 10, "ORG"]]}
| [] | null | null | Two labels on the same extent under nested_policy allow. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-k-05 | dev | k | Nested spans under the forbid or allow policy | false | canonical | {} | {"id": "r1", "text": "زرت مكتبة الملك فهد الوطنية", "offset_unit": "codepoint", "spans": [{"start": 4, "end": 27, "label": "ORG"}, {"start": 10, "end": 19, "label": "PER"}]}
| ["E006"] | null | null | nested_policy not given: the default is forbid. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-l-01 | dev | l | Empty, zero-length or reversed span | false | canonical | {} | {"id": "r1", "text": "يقيم المهرجان في مدينة العلا", "offset_unit": "codepoint", "spans": [{"start": 23, "end": 23, "label": "LOC"}]}
| ["E002"] | null | null | Zero-length span. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-l-02 | dev | l | Empty, zero-length or reversed span | false | canonical | {} | {"id": "r1", "text": "يقيم المهرجان في مدينة العلا", "offset_unit": "codepoint", "spans": [{"start": 28, "end": 23, "label": "LOC"}]}
| ["E002"] | [{"record_id": "r1", "span_index": 0, "old": [28, 23], "new": [23, 28], "reason_code": "E002", "confidence": "low"}] | null | Reversed span (start after end). | Bayanat Labs | null | true | CC-BY-4.0 |
dev-l-03 | dev | l | Empty, zero-length or reversed span | false | canonical | {} | {"id": "r1", "text": "يقيم المهرجان في مدينة العلا", "offset_unit": "codepoint", "spans": [{"start": 22, "end": 23, "label": "LOC"}]}
| ["E002"] | null | null | A span that covers a single space. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-l-04 | dev | l | Empty, zero-length or reversed span | false | doccano | {"offset_unit": "codepoint"} | {"id": 1804, "text": "ولد الخوارزمي في خوارزم", "label": [[13, 4, "PER"]]}
| ["E002"] | [{"record_id": "1804", "span_index": 0, "old": [13, 4], "new": [4, 13], "reason_code": "E002", "confidence": "low"}] | null | doccano span with start and end swapped. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-l-05 | dev | l | Empty, zero-length or reversed span | false | canonical | {} | {"id": "r1", "text": "ولد الخوارزمي في خوارزم", "offset_unit": "codepoint", "spans": [{"start": 23, "end": 23, "label": "LOC"}]}
| ["E002"] | null | null | Zero-length span at the end of the text. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-m-01 | dev | m | Invalid tag or tag transition | false | conll | {"scheme": "IOB2"} | عاد O
ابن O
بطوطة I-PER
إلى O
طنجة B-LOC
| ["E009"] | null | null | IOB2: I-PER after O. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-m-02 | dev | m | Invalid tag or tag transition | false | conll | {"scheme": "IOB2"} | زار O
نجيب B-PER
محفوظ I-LOC
الإسكندرية B-LOC
| ["E009"] | null | null | IOB2: I-LOC after B-PER. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-m-03 | dev | m | Invalid tag or tag transition | false | conll | {"scheme": "BILUO"} | تعمل O
اليونسكو L-ORG
في O
باريس U-LOC
| ["E009"] | null | null | BILUO: L-ORG without a B- tag. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-m-04 | dev | m | Invalid tag or tag transition | false | conll | {"scheme": "BIOES"} | سافر O
إلى O
الدار B-LOC
صباحًا O
| ["E009"] | null | null | BIOES: an entity that starts with B- and is never closed. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-m-05 | dev | m | Invalid tag or tag transition | true | conll | {"scheme": "BIOES"} | زارت O
أم B-PER
كلثوم E-PER
دمشق S-LOC
عام O
١٩٥٥ S-DATE
| [] | null | null | BIOES: well-formed tags. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-m-06 | dev | m | Invalid tag or tag transition | false | hf_tokens | {"scheme": "IOB2", "tag_names": ["O", "B-PER", "I-PER", "B-ORG", "I-ORG", "B-LOC", "I-LOC"]} | {"id": "h6", "tokens": ["يقع", "مقر", "البنك", "الدولي", "في", "واشنطن"], "ner_tags": [0, 0, 4, 4, 0, 5]}
| ["E009"] | null | null | Hugging Face token rows with integer tags: I-ORG after O. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-m-07 | dev | m | Invalid tag or tag transition | false | canonical | {} | {"id": "r1", "text": "ألّف طه حسين كتاب الأيام", "offset_unit": "codepoint", "label_set": ["PER", "LOC", "ORG"], "spans": [{"start": 5, "end": 12, "label": "PERSON"}]}
| ["E010"] | null | null | A span label that is not in label_set. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-n-01 | dev | n | CRLF vs LF line-break shift | false | canonical | {} | {"id": "r1", "text": "السطر الأول عن المؤتمر\r\nانعقد المؤتمر في الدوحة أمس", "offset_unit": "codepoint", "spans": [{"start": 40, "end": 46, "label": "LOC", "text": "الدوحة"}]}
| ["E003", "E013"] | [{"record_id": "r1", "span_index": 0, "old": [40, 46], "new": [41, 47], "reason_code": "E013", "confidence": "high"}] | null | The text has CRLF line breaks; the offsets count each line break as one character. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-n-02 | dev | n | CRLF vs LF line-break shift | false | canonical | {} | {"id": "r1", "text": "السطر الأول عن المؤتمر\nانعقد المؤتمر في الدوحة أمس", "offset_unit": "codepoint", "spans": [{"start": 41, "end": 47, "label": "LOC", "text": "الدوحة"}]}
| ["E003", "E013"] | [{"record_id": "r1", "span_index": 0, "old": [41, 47], "new": [40, 46], "reason_code": "E013", "confidence": "high"}] | null | The text has LF line breaks; the offsets were counted on a CRLF copy. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-n-03 | dev | n | CRLF vs LF line-break shift | false | doccano | {"offset_unit": "codepoint"} | {"id": 2003, "text": "افتتاح الملتقى\r\nفي مدينة المنامة\r\nبمشاركة جامعة البحرين", "label": [[24, 31, "LOC"], [40, 53, "ORG"]]}
| ["E013"] | [{"record_id": "2003", "span_index": 0, "old": [24, 31], "new": [25, 32], "reason_code": "E013", "confidence": "medium"}, {"record_id": "2003", "span_index": 1, "old": [40, 53], "new": [42, 55], "reason_code": "E013", "confidence": "medium"}] | null | doccano export of a CRLF text whose offsets count each line break once; the shift grows by one per line. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-n-04 | dev | n | CRLF vs LF line-break shift | true | canonical | {} | {"id": "r1", "text": "عنوان\r\nزار الوفد عمّان", "offset_unit": "codepoint", "spans": [{"start": 17, "end": 22, "label": "LOC", "text": "عمّان"}]}
| [] | null | null | CRLF text with offsets that count CRLF as two characters. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-n-05 | dev | n | CRLF vs LF line-break shift | false | label_studio | {"offset_unit": "codepoint"} | [{"id": 30, "data": {"text": "مقدمة\r\nزار الوفد مدينة صنعاء"}, "annotations": [{"id": 1, "result": [{"id": "reg1", "from_name": "label", "to_name": "text", "type": "labels", "value": {"start": 22, "end": 27, "labels": ["LOC"], "text": "صنعاء"}}]}]}] | ["E003", "E013"] | [{"record_id": "30:1", "span_index": 0, "old": [22, 27], "new": [23, 28], "reason_code": "E013", "confidence": "high"}] | null | Label Studio region on a CRLF text, offsets counted with LF. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-o-01 | dev | o | UTF-8 byte order mark | false | canonical | {} | {"id": "r1", "text": "تقع مدينة تبوك في شمال المملكة", "offset_unit": "codepoint", "spans": [{"start": 10, "end": 14, "label": "LOC", "text": "تبوك"}]}
| ["E018"] | [{"record_id": null, "span_index": null, "old": null, "new": null, "reason_code": "E018", "confidence": "high", "action": "remove_bom"}] | null | A JSON Lines file that starts with a UTF-8 byte order mark. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-o-02 | dev | o | UTF-8 byte order mark | false | canonical | {} | {"id": "r1", "text": "افتتحت جامعة الملك عبدالعزيز فرعًا جديدًا", "offset_unit": "codepoint", "spans": [{"start": 7, "end": 28, "label": "ORG", "text": "جامعة الملك عبدالعزيز"}]}
| ["E003", "E018"] | [{"record_id": "r1", "span_index": 0, "old": [7, 28], "new": [8, 29], "reason_code": "E018", "confidence": "high"}] | null | The text field starts with U+FEFF and the offsets were counted without it. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-o-03 | dev | o | UTF-8 byte order mark | false | conll | {"scheme": "IOB2"} | تقع O
الأحساء B-LOC
شرق O
المملكة O
| ["E018"] | [{"record_id": null, "span_index": null, "old": null, "new": null, "reason_code": "E018", "confidence": "high", "action": "remove_bom"}] | null | A CoNLL file that starts with a byte order mark. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-o-04 | dev | o | UTF-8 byte order mark | false | canonical | {} | {"id": "r1", "text": "يزور السياح مدينة الأقصر كل شتاء", "offset_unit": "codepoint", "spans": [{"start": 19, "end": 25, "label": "LOC", "text": "الأقصر"}]}
| ["E018"] | null | null | The text starts with U+FEFF; the offsets count it, but the character itself should not be in the text. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-o-05 | dev | o | UTF-8 byte order mark | false | doccano | {"offset_unit": "codepoint"} | {"id": 2105, "text": "يقام المعرض في مدينة نزوى", "label": [[21, 25, "LOC"]]}
| ["E018"] | [{"record_id": null, "span_index": null, "old": null, "new": null, "reason_code": "E018", "confidence": "high", "action": "remove_bom"}] | null | A doccano JSONL export that starts with a byte order mark. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-p-01 | dev | p | Span text differs from text[start:end] | false | canonical | {} | {"id": "r1", "text": "عقدت الندوة في الرياض", "offset_unit": "codepoint", "spans": [{"start": 15, "end": 21, "label": "LOC", "text": "الدمام"}]}
| ["E003"] | null | null | The span text names a different place than the text at the offsets. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-p-02 | dev | p | Span text differs from text[start:end] | false | canonical | {} | {"id": "r1", "text": "انطلقت الحافلة من مكة إلى جدة", "offset_unit": "codepoint", "spans": [{"start": 18, "end": 21, "label": "LOC", "text": "جدة"}]}
| ["E003"] | [{"record_id": "r1", "span_index": 0, "old": [18, 21], "new": [26, 29], "reason_code": "E003", "confidence": "low"}] | null | The span text occurs once elsewhere in the text; the suggestion moves the offsets there. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-p-03 | dev | p | Span text differs from text[start:end] | false | label_studio | {"offset_unit": "codepoint"} | [{"id": 33, "data": {"text": "شاركت جامعة القاهرة في الملتقى"}, "annotations": [{"id": 1, "result": [{"id": "reg1", "from_name": "label", "to_name": "text", "type": "labels", "value": {"start": 12, "end": 19, "labels": ["LOC"], "text": "القاهره"}}]}]}] | ["E003"] | null | null | Label Studio value.text differs from the text by one letter. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-p-04 | dev | p | Span text differs from text[start:end] | true | canonical | {} | {"id": "r1", "text": "يقع جبل طويق قرب الرياض", "offset_unit": "codepoint", "spans": [{"start": 4, "end": 12, "label": "LOC", "text": "جبل طويق"}, {"start": 17, "end": 23, "label": "LOC", "text": "الرياض"}]}
| [] | null | null | Span texts match the text. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-p-05 | dev | p | Span text differs from text[start:end] | false | canonical | {} | {"id": "r1", "text": "فاز نادي الهلال في الرياض", "offset_unit": "codepoint", "spans": [{"start": 9, "end": 15, "label": "ORG", "text": "الهلالي"}]}
| ["E003"] | null | null | The span text has an extra letter. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-q-01 | dev | q | Arabic punctuation at a span edge | false | canonical | {} | {"id": "r1", "text": "زرنا الرياض، ثم جدة", "offset_unit": "codepoint", "spans": [{"start": 5, "end": 12, "label": "LOC", "text": "الرياض،"}, {"start": 16, "end": 19, "label": "LOC", "text": "جدة"}]}
| ["W102"] | [{"record_id": "r1", "span_index": 0, "old": [5, 12], "new": [5, 11], "reason_code": "W102", "confidence": "medium"}] | null | An Arabic comma at the end of the span. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-q-02 | dev | q | Arabic punctuation at a span edge | false | canonical | {} | {"id": "r1", "text": "تقع بيروت؛ عاصمة لبنان، على البحر", "offset_unit": "codepoint", "spans": [{"start": 4, "end": 10, "label": "LOC", "text": "بيروت؛"}]}
| ["W102"] | [{"record_id": "r1", "span_index": 0, "old": [4, 10], "new": [4, 9], "reason_code": "W102", "confidence": "medium"}] | null | An Arabic semicolon at the end of the span. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-q-03 | dev | q | Arabic punctuation at a span edge | false | canonical | {} | {"id": "r1", "text": "قرأت «ألف ليلة وليلة» في الصيف", "offset_unit": "codepoint", "spans": [{"start": 5, "end": 21, "label": "WORK", "text": "«ألف ليلة وليلة»"}]}
| ["W102"] | [{"record_id": "r1", "span_index": 0, "old": [5, 21], "new": [6, 20], "reason_code": "W102", "confidence": "medium"}] | null | Guillemets at both edges of a title. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-q-04 | dev | q | Arabic punctuation at a span edge | true | canonical | {} | {"id": "r1", "text": "هل زرت القاهرة؟", "offset_unit": "codepoint", "spans": [{"start": 7, "end": 14, "label": "LOC", "text": "القاهرة"}]}
| [] | null | null | An Arabic question mark right after the span, outside it. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-q-05 | dev | q | Arabic punctuation at a span edge | false | conll | {"scheme": "IOB2"} | زرنا O
الرياض، B-LOC
ثم O
جدة B-LOC
| ["W102"] | null | null | CoNLL token with an attached Arabic comma, tagged as a location. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-r-01 | dev | r | Latin-script entity inside right-to-left text | true | canonical | {} | {"id": "r1", "text": "أعلنت شركة Microsoft عن مركز جديد في دبي", "offset_unit": "codepoint", "spans": [{"start": 11, "end": 20, "label": "ORG", "text": "Microsoft"}, {"start": 37, "end": 40, "label": "LOC", "text": "دبي"}]}
| [] | null | null | A Latin-script organisation name inside Arabic text, with correct offsets. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-r-02 | dev | r | Latin-script entity inside right-to-left text | false | canonical | {} | {"id": "r1", "text": "تعاونت جامعة الملك عبدالله مع MIT في مشروع بحثي", "offset_unit": "codepoint", "spans": [{"start": 30, "end": 35, "label": "ORG", "text": "MIT"}]}
| ["E012"] | [{"record_id": "r1", "span_index": 0, "old": [30, 35], "new": [31, 34], "reason_code": "E012", "confidence": "high"}] | null | Left-to-right marks around a Latin name are inside the span. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-r-03 | dev | r | Latin-script entity inside right-to-left text | false | canonical | {} | {"id": "r1", "text": "أعلنت شركة Microsoft عن مركز جديد", "offset_unit": "codepoint", "spans": [{"start": 11, "end": 16, "label": "ORG", "text": "Micro"}]}
| ["E007"] | [{"record_id": "r1", "span_index": 0, "old": [11, 16], "new": [11, 20], "reason_code": "E007", "confidence": "low"}] | null | The span cuts the Latin-script name. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-r-04 | dev | r | Latin-script entity inside right-to-left text | false | canonical | {} | {"id": "r1", "text": "عمل المهندس سابقًا في جامعة ستانفورد وانتقل بعدها لـMozilla", "offset_unit": "codepoint", "clitic_policy": "include", "spans": [{"start": 52, "end": 59, "label": "ORG", "text": "Mozilla"}]}
| ["E008"] | [{"record_id": "r1", "span_index": 0, "old": [52, 59], "new": [50, 59], "reason_code": "E008", "confidence": "medium"}] | null | clitic_policy include: the Arabic preposition لـ attached to a Latin-script name is left out of the span. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-r-05 | dev | r | Latin-script entity inside right-to-left text | false | canonical | {} | {"id": "r1", "text": "شاركت شركةNVIDIA في المعرض", "offset_unit": "codepoint", "spans": [{"start": 10, "end": 16, "label": "ORG", "text": "NVIDIA"}]}
| ["E016"] | null | null | A Latin-script name glued to the preceding Arabic word without a space. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-v-01 | dev | v | Valid records that must produce no error or warning | true | canonical | {} | {"id": "r1", "text": "التقى وفد من البنك الدولي بممثلين عن الاتحاد الأفريقي في أديس أبابا", "offset_unit": "codepoint", "label_set": ["PER", "LOC", "ORG"], "clitic_policy": "exclude", "spans": [{"start": 13, "end": 25, "label": "ORG", "text": "البنك الدولي"}, {"start": 37, "end": 53, "label": "ORG", "text": "الاتحاد ال... | [] | null | null | Three entities, a label set and the exclude clitic policy. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-v-02 | dev | v | Valid records that must produce no error or warning | true | doccano | {"offset_unit": "codepoint", "clitic_policy": "exclude"} | {"id": 2602, "text": "عاش ابن رشد في قرطبة", "label": [[4, 11, "PER"], [15, 20, "LOC"]]}
{"id": 2603, "text": "درّس الفارابي في بغداد ودمشق", "label": [[5, 13, "PER"], [17, 22, "LOC"], [24, 28, "LOC"]]}
| [] | null | null | doccano JSONL with two records. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-v-03 | dev | v | Valid records that must produce no error or warning | true | label_studio | {"offset_unit": "codepoint"} | [{"id": 40, "data": {"text": "افتتحت مكتبة الملك عبدالعزيز العامة فرعًا في بكين"}, "annotations": [{"id": 1, "result": [{"id": "reg1", "from_name": "label", "to_name": "text", "type": "labels", "value": {"start": 7, "end": 35, "labels": ["ORG"], "text": "مكتبة الملك عبدالعزيز العامة"}}, {"id": "reg2", "from_name": "lab... | [] | null | null | One Label Studio task with two annotations; each annotation is checked as its own record. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-v-04 | dev | v | Valid records that must produce no error or warning | true | spacy | {"offset_unit": "codepoint"} | ["رسم الإدريسي خريطة العالم في صقلية", {"entities": [[4, 12, "PER"], [29, 34, "LOC"]]}]
| [] | null | null | spaCy training tuple written as a JSON list. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-v-05 | dev | v | Valid records that must produce no error or warning | true | conll | {"scheme": "IOB2"} | ولد O
جبران B-PER
خليل I-PER
جبران I-PER
في O
بشري B-LOC
ثم O
هاجر O
إلى O
بوسطن B-LOC
| [] | null | null | CoNLL IOB2 file with two sentences. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-v-06 | dev | v | Valid records that must produce no error or warning | true | hf_tokens | {"scheme": "IOB2"} | {"id": "h7", "tokens": ["تقع", "جامعة", "الملك", "سعود", "في", "الرياض"], "ner_tags": ["O", "B-ORG", "I-ORG", "I-ORG", "O", "B-LOC"]}
| [] | null | null | Hugging Face token row with string tags. | Bayanat Labs | null | true | CC-BY-4.0 |
dev-v-07 | dev | v | Valid records that must produce no error or warning | true | canonical | {} | {"id": "r1", "text": "عاشَ المُتَنَبّي في حَلَبَ زمنًا", "offset_unit": "grapheme", "spans": [{"start": 4, "end": 11, "label": "PER", "text": "المُتَنَبّي"}, {"start": 15, "end": 18, "label": "LOC", "text": "حَلَبَ"}]}
| [] | null | null | Vocalised text with offsets counted in grapheme clusters. | Bayanat Labs | null | true | CC-BY-4.0 |
Arabic NER Offset Fixtures
By Bayanat Labs. 200 synthetic test cases for checking Arabic named-entity annotations: 100 dev cases and 100 acceptance cases across 18 categories of offset and tagging defects, plus valid records. Each case is a small annotation file in one of 6 formats with the settings needed to read it and whether a correct validator should accept it. They are the test cases of the Arabic NER Offset Validator, version 0.1.0.
Splits
| Split | Cases | Valid | Invalid | How it was written |
|---|---|---|---|---|
| dev | 100 | 25 | 75 | Before the validator code; each case states the exact codes and repair suggestions expected. |
| acceptance | 100 | 26 | 74 | Separately, from the category list only, without the validator code or the dev cases; each case states its category, whether it is valid, and the defect in one sentence. |
The splits use different sentences. Not a training set: no model benchmark is derived from it.
Categories
| Category | Code | Dev cases | Acceptance cases | |
|---|---|---|---|---|
| a | Astral character (emoji) before the span: UTF-16 vs code point offsets | E014, E015 | 5 | 5 |
| b | UTF-8 byte offsets | E014, E015 | 5 | 5 |
| c | NFC composition drift | E011, E004 | 5 | 5 |
| d | NFKC ligature expansion | E011 | 5 | 5 |
| e | Span edge between a letter and its haraka or shadda | E004 | 5 | 5 |
| f | Tatweel removed after annotation | E011 | 5 | 5 |
| g | Bidi or zero-width control at a span edge | E012 | 5 | 5 |
| h | Clitic boundary under the include or exclude policy | E008 | 6 | 7 |
| i | Span edge inside a word or token | E007 | 5 | 5 |
| j | Overlapping spans | E005 | 5 | 5 |
| k | Nested spans under the forbid or allow policy | E006 | 5 | 5 |
| l | Empty, zero-length or reversed span | E002 | 5 | 5 |
| m | Invalid tag or tag transition (IOB2, BIOES, BILUO) | E009, E010 | 7 | 6 |
| n | CRLF vs LF line-break shift | E013 | 5 | 5 |
| o | UTF-8 byte order mark | E018 | 5 | 5 |
| p | Span text differs from text[start:end] | E003 | 5 | 5 |
| q | Arabic punctuation at a span edge | W102 | 5 | 5 |
| r | Latin-script entity inside right-to-left text | E016, E012, E007, E008, E003 | 5 | 5 |
| v | Valid records that must produce no error or warning | none | 7 | 7 |
Fields
| Field | Meaning |
|---|---|
fixture_id |
dev-<category>-NN or acc-<category>NN |
split |
dev or acceptance |
category, category_name |
category letter (a to r, v) and name |
valid |
true when a correct validator reports no error |
format |
canonical, doccano, label_studio, spacy, conll or hf_tokens |
options |
settings the format cannot state (JSON): offset_unit, scheme, nested_policy, clitic_policy, label_set, tag_names |
input_payload |
the file content, as a string (a byte order mark and CRLF line breaks are kept) |
expected_error_codes |
dev only: the exact error and warning codes expected (JSON list) |
expected_suggested_export |
dev only: the expected repair suggestions (JSON) |
expected_problem, author_note |
acceptance only: the defect in one sentence, and how the case was built |
author, reviewed_by, synthetic, license |
authorship; no case has been reviewed by a native Arabic writer (reviewed_by is empty); all cases are synthetic; CC BY 4.0 |
data/*.jsonl hold the same records as data/*.parquet. MANIFEST.json gives counts and SHA-256 checksums, SHA256SUMS the file checksums.
Use
from datasets import load_dataset
ds = load_dataset("Bayanat-Labs/arabic-ner-offset-fixtures")
Run a case through the validator (pip install "git+https://github.com/Bayanat-Labs/arabic-ner-validator@v0.1.0"):
import json
from arabic_ner_validator import validate
case = ds["dev"][0]
report, _, _ = validate(case["input_payload"].encode("utf-8"), dict(json.loads(case["options"]), format=case["format"]))
Results of the validator, version 0.1.0
Dev: 100 of 100 exact. Acceptance: 96 of 100; the four that do not pass are explained in the validator's docs/QA.md.
Sentences
Original Modern Standard Arabic, conversational and Gulf sentences written for these sets. Names are places, organisations, public or historical figures, or invented names; no sentence describes a real private person. The Arabic text has not yet been reviewed by a native Arabic writer; the English governs.
Licence and citation
CC BY 4.0. Bayanat Labs (2026). Arabic NER Offset Fixtures, version 0.1.0. https://huggingface.co/datasets/Bayanat-Labs/arabic-ner-offset-fixtures
Questions and corrections: hello@bayanatlabs.com
- Downloads last month
- 69