Everything a technical team needs to decide: schema, closed vocabularies, taxonomy, composition, coverage, quality control, disclosures, delivery formats and licence. 4,929 items, alfe-0001 to alfe-4929. Print this page to keep a PDF.
Large language models fail on legal and financial Arabic in a way that is invisible to reference-overlap scoring and to any reviewer who is not a lawyer in both languages: the output reads fluently and states a different rule.
A model that renders bail-in as الإنقاذ الداخلي, immunity from execution as الحصانة من الإعدام, or a distributor’s goodwill indemnity as تعويض حسن النية has not made a fluency error. It has moved the reader into a different body of law. Public Arabic legal resources are thin and academic; commercial Arabic datasets are drawn from broadcast and publisher text. Neither is authored at the register where a mistake carries cost.
This corpus is built the other way round: top-down from the failure modes that occur in practice. Every item pairs the correct rendering against the plausible wrong one a model or a non-lawyer actually produces, with a rationale that names precisely what the wrong version does to the legal meaning. The result is directly consumable as a scored benchmark, as preference pairs, or as supervised targets with reasoning.
Every figure below is computed from the assembled v1.1 file across all 4,929 items, not from build plans. Identifiers run alfe-0001 to alfe-4929, contiguous, with no gaps or duplicates.
| Task | Items | Share |
|---|---|---|
en_to_ar_term | 2,983 | 60.5% |
clause_faithfulness | 1,069 | 21.7% |
ar_to_en_term | 489 | 9.9% |
register_adaptation | 388 | 7.9% |
| Register | Items | Share |
|---|---|---|
| Modern Standard Arabic | 4,541 | 92.1% |
| Gulf Arabic | 132 | 2.7% |
| Egyptian Arabic | 129 | 2.6% |
| Levantine Arabic | 127 | 2.6% |
| Domain | Items | Share |
|---|---|---|
corporate | 2,085 | 42.3% |
contract_law | 1,412 | 28.6% |
litigation | 953 | 19.3% |
islamic_finance | 381 | 7.7% |
M&A | 98 | 2.0% |
| Difficulty | Items | Share |
|---|---|---|
| hard | 2,295 | 46.6% |
| medium | 2,109 | 42.8% |
| easy | 525 | 10.7% |
| Task | corporate | contract_law | litigation | islamic_finance | M&A | Total |
|---|---|---|---|---|---|---|
en_to_ar_term | 1,437 | 729 | 585 | 201 | 31 | 2,983 |
clause_faithfulness | 331 | 427 | 165 | 102 | 44 | 1,069 |
ar_to_en_term | 183 | 118 | 141 | 40 | 7 | 489 |
register_adaptation | 134 | 138 | 62 | 38 | 16 | 388 |
corporate or litigation rather than carrying its own value. The practice-area inventory in §6 is the accurate guide to subject coverage; a buyer wanting finer domain tags can have them applied as part of a custom build.One JSON object per line. Key order is stable within each task type. Two field sets: English-source items use the first, the Arabic-source mirror set uses the second. All metadata fields are shared.
en_to_ar_term, clause_faithfulness, register_adaptation){"id","domain","register","task","source_en","gold_ar","chosen_ar","rejected_ar","error_type","rationale","difficulty"}
ar_to_en_term){"id","domain","register","task","source_ar","gold_en","chosen_en","rejected_en","error_type","rationale","difficulty"}
| Field | Definition and constraints |
|---|---|
id | Stable identifier, alfe-####, contiguous and unique across the corpus. See the renumbering note in §9 for the one identifier change made at v1.1 and the map that reconciles it. |
domain | Enumerated: contract_law, corporate, litigation, islamic_finance, M&A. |
register | Enumerated: MSA, Egyptian Arabic, Levantine Arabic, Gulf Arabic. Non-MSA values appear only on register_adaptation items, and every such item is non-MSA. |
task | Enumerated, four values. See §4. |
source_en | English term, operative clause, or client-facing instruction. Clause sources average 375 characters and run to three sentences. |
source_ar | Arabic term for the mirror set, typically a homograph or a vocalisation-dependent trap. |
gold_ar / gold_en | Reference rendering, normally carrying a bracketed gloss of the concept so the field doubles as a rubric. Vocalisation is marked where the trap depends on it. |
chosen_ar / chosen_en | Preferred rendering: correct, idiomatic, no gloss. The positive member of a preference pair. Always differs from the rejected field. |
rejected_ar / rejected_en | The trap: wrong, but the wrong an MT system or a non-lawyer plausibly produces. On compound clause items this carries between two and seven distinct stacked faults. |
error_type | Enumerated, fifteen values. See §5. Where a rejected rendering carries several faults, the tag names the dominant one and the rationale enumerates the rest. |
rationale | English explanation of why the chosen rendering is correct and what the rejected one does to the legal meaning. Averages 303 characters across all 4,929 items (median 271, range 131 to 764). Usable directly as a grading rubric or as chain-of-thought. |
difficulty | Enumerated: easy, medium, hard. |
chosen never equals rejected. These are enforced mechanically on every build (§8). Source strings are unique within each build; across the full merged corpus 107 headwords carry two items each, listed item by item in the delivered duplicate-sources.csv so a licensee can keep both as distinct traps or drop either.| Task | What it tests |
|---|---|
en_to_ar_term | Whether the model reaches for the drafting term the profession uses, rather than the dictionary’s first sense, a calque, or a transliteration. The bulk of the corpus. |
clause_faithfulness | Whether an operative contract sentence survives translation intact: modality, party roles, conditions, limiters and time periods. Compound items stack multiple faults in one rejected rendering, so partial credit is measurable. |
ar_to_en_term | The reverse direction, concentrated on homographs and vocalisation-dependent forms where one unpointed word decides which body of law applies: النقض as cassation or as treaty denunciation, الإسناد as reinsurance cession or as a chain of transmission. |
register_adaptation | Whether the model can explain a rule to a client in Egyptian, Levantine or Gulf Arabic without losing the legal content. Each scenario is written three ways with identical substance, isolating register from meaning. |
Items are authored from the taxonomy rather than labelled after the fact, so each one isolates a single diagnosable failure and the distribution is designed rather than incidental.
| error_type | Items | Definition |
|---|---|---|
legal_meaning_drift | 1,291 | Fluent output that shifts the legal effect: a discharge in bankruptcy becomes an automatic wiping of the debts. |
polysemy_false_sense | 1,260 | A word with several senses is rendered in the wrong one. التنفيذ is enforcement against assets; the same word is also capital punishment. |
near_synonym_drift | 415 | A near-synonym no lawyer would use in that slot: an indemnity rendered as a warranty, which disclosure would then defeat. |
literal_calque | 346 | Word-for-word rendering producing a phrase with no legal currency: bail-in as الإنقاذ الداخلي, collateral haircut as الحلاقة. |
compliance_critical | 281 | The error breaches a Sharia-compliance or regulatory requirement: riba framing, guaranteed capital, broken ownership sequence. |
term_of_art | 217 | The settled term of art replaced by plain paraphrase: “as is” as كما هو rather than على علاته. |
concept_calque | 214 | A foreign institution imported wholesale where the target system has its own established mechanism. |
domain_term_of_art | 200 | Correct in general Arabic, wrong against the settled usage of this domain’s regulator or code. |
modality_loss | 184 | Obligation, permission or prohibition altered: “shall pay” becomes “may pay”, a condition precedent becomes discretionary. |
false_cognate | 178 | A form that looks cognate but is not: legalisation of a document as تقنين (codifying) rather than التصديق. |
under_translation | 173 | A limb, condition, limiter or carve-out silently dropped: “insofar as”, “unless”, “and is continuing”. |
register_and_compliance | 56 | A dialect item that also carries a substantive compliance error; both faults are named in the rationale. |
unnecessary_transliteration | 49 | Transliterating where a settled Arabic term exists: ترانش for a securitisation tranche instead of شريحة. |
register_mismatch | 41 | Legally correct but pitched at the wrong register: MSA drafting language handed to a client asking in dialect. |
void_vs_voidable | 24 | The nullity family confused: باطل, قابل للإبطال, and relative ineffectiveness (عدم نفاذ) are distinct outcomes. |
The compliance family (compliance_critical plus register_and_compliance) totals 337 items, weighted toward dialect because the riba-framing failure does most damage when a bank is explaining a product to a retail customer.
Each area ships as a designed set rather than a term list: the term-level traps, the operative clauses that re-embed them, the Arabic → English homographs a reader meets going the other way, client-facing dialect scenarios, and compound clauses that stack several faults for the rationale to name.
Contract law · M&A · corporate · litigation, arbitration and enforcement · tort · boilerplate · securities and capital markets · banking instruments · employment · real estate · intellectual property · tax · insurance · commercial agency and franchise
Murabaha · ijara and ijara muntahia bittamlik · musharaka and diminishing musharaka · mudaraba · wakala and investment wakala · istisna’a and parallel istisna’a · salam and parallel salam · tawarruq · qard hasan · istijrar · sukuk structures, servicing and substitution · takaful and retakaful · Sharia governance and audit · wa’d-based hedging · Islamic trade finance · Islamic funds and Sharia screening · Islamic retail banking, deposits and profit distribution · zakat and waqf
Health law and medical liability · trusts, foundations, succession and family · family business governance · fintech and virtual assets · data protection · energy and resources · construction and engineering (FIDIC-style) · maritime and carriage · insolvency and restructuring · aviation and transport · competition and consumer · advertising, marketing and promotions · public procurement, PPP and administrative contracts · administrative law and regulatory enforcement · white-collar crime and AML/CFT
Civil procedure and evidence · criminal procedure and corporate criminal liability · commercial arbitration procedure, from the arbitration agreement to set-aside and enforcement · settlement, mediation and ADR, including release drafting and the Singapore Convention · private international law and cross-border litigation
Venture capital and startup financing · derivatives, ISDA, repo and margin · securitisation · trade finance under UCP 600 and URDG 758 · CISG · technology, SaaS and IT outsourcing · telecommunications · commercial leasing, strata and development · sports, media and entertainment · customs, sanctions and export controls · environmental, ESG and climate finance · AI regulation, cybersecurity and platform regulation
Notarisation, legalisation and documentary formalities · corporate secretarial and share capital · banking regulation and prudential supervision · insurance and reinsurance · pharmaceutical, medical device and food regulation · mining, water and agriculture · public international law and investment treaties · state immunity and sovereign debt · acquisition and leveraged finance · intercreditor · franchising and distribution · negotiable instruments and payment mechanics · partnerships, unincorporated JVs and professional entities · supply chain, manufacturing and product liability · capital markets offerings and takeovers · real estate registration and off-plan · IP prosecution and enforcement · logistics, land carriage, warehousing and customs brokerage
Four items, reproduced verbatim from the corpus.
polysemy_false_sensepolysemy_false_sensecompliance_criticallegal_meaning_driftdomain, register, task, difficulty and error_type values confined to the published enumerations.register_adaptation item in MSA, and no non-MSA item outside register_adaptation.chosen ≠ rejected on every item; no empty rationale.Each build receives a second-pass read covering every dialect item and every compound-clause item in full, plus a randomised sample of the remainder, checking dialect authenticity, that the three versions of a scenario carry identical legal content, that each rejected rendering is both wrong and genuinely tempting, and that the rationale names every fault it claims. Findings are recorded in the build notes, which travel with the data and list the doctrinal points a buyer’s own reviewers should test first.
| Build | Identifier range (v1.1) | Items | Principal additions | Notes |
|---|---|---|---|---|
| v0.2 | alfe-0001–0144 | 144 | Seed build. Contract law, M&A, corporate, Islamic finance, litigation; taxonomy established. | — |
| v0.3 | alfe-0145–0505 | 361 | Pilot tier. Banking, employment, real estate, IP, tax, insurance, agency; litigation and arbitration depth; dialect set to 52. | CORPUS-NOTES-v0.3 |
| v0.4–v0.5 | alfe-0506–1001 | 496 | Trusts and succession, fintech and virtual assets, data privacy, IP and energy depth, sukuk and partnership depth, tax and employment depth, securities and procedure. | CORPUS-NOTES-v0.5 |
| v0.6 | alfe-1002–2009 | 1,008 | Real estate and tenancy, insurance and reinsurance, trade finance, banking operations, criminal law, governance, consumer and agency, arbitration depth, zakat and waqf, healthcare, aviation and shipping, ESG, immigration, evidence, fintech, TMT and cyber. | CORPUS-NOTES-COMPLETE |
| chunks 41–50 | alfe-2010–2429 | 420 | Construction, maritime, insolvency, aviation, competition and consumer, procurement and PPP, white-collar and AML. | CHUNKS-41-50-NOTES |
| chunks 51–62 | alfe-2430–2929 | 500 | Venture capital, ISDA and securitisation, trade finance and CISG, technology and telecom, leasing and strata, sports and media, customs and sanctions, ESG, AI and cyber. | CHUNKS-51-62-NOTES |
| chunks 63–74 | alfe-2930–3429 | 500 | Formalities and legalisation, corporate secretarial, banking regulation, insurance and reinsurance, pharma and food, mining and water, investment treaties, acquisition finance, franchising. | CHUNKS-63-74-NOTES |
| chunks 75–86 | alfe-3430–3929 | 500 | Secured transactions, VAT and international tax, accounting and audit, project finance, hospitality and HMAs, legal profession and privilege, waqf, zakat and charities, employment depth, asset finance and consumer credit. | CHUNKS-75-86-NOTES |
| chunks 87–110 | alfe-3930–4929 | 1,000 | Civil and criminal procedure, family business governance, administrative law, advertising, negotiable instruments, Islamic funds and screening, arbitration procedure, settlement and ADR, healthcare liability, IP prosecution, real estate registration and off-plan, capital markets and takeovers, partnerships and JVs, supply chain and product liability, private international law, Islamic retail banking, logistics. | CHUNKS-87-110-NOTES |
The schema, the error taxonomy, the rationale style and every doctrinal position in this corpus belong to one named practitioner: Wasim Amin, J.D., M.B.A., founder of Fidem Praxis. Twenty-two years in corporate practice across M&A, private equity and venture capital, cross-border U.S.–MENA structured finance and Islamic finance. Formerly outside general counsel to a venture platform with more than a hundred portfolio companies. ABA Islamic Finance Committee leadership, published research in Islamic finance, and World Bank Group contributor status on Saudi regulatory matters. J.D. magna cum laude, top one per cent of the class; M.B.A. summa cum laude. Native across Modern Standard Arabic and the Egyptian, Levantine and Gulf registers.
Items are drafted to that schema and taxonomy, and each item is reviewed and adopted under his signature before the firm releases it into the licensed corpus. Renderings are checked for legal correctness against a Gulf and Egyptian civil-law baseline, with a parenthetical where a code-specific term differs; for register in the stated dialect; and for compliance framing on Islamic-finance items. No item is scraped, mined, or derived from a third party’s dataset; the corpus contains no personal data.
alfe-1590, and neither was a copy of the other. The v0.6 edition keeps its identifiers unchanged at alfe-0001 to alfe-2009; every item in the later chunk lineage moves up by exactly 420, landing at alfe-2010 to alfe-4929. A machine-readable map from every old identifier to its new one ships with the corpus, so earlier deliveries, review logs and build notes reconcile exactly. No item content was changed by the merge.| Use | How the fields map |
|---|---|
| Scored evaluation | Score output against gold_* and grade with rationale as the rubric rather than surface overlap. Group by error_type, domain or register for a failure profile. |
| Preference tuning (RLHF, DPO) | (source, chosen, rejected) triples are drop-in preference pairs. Clause items supply multi-fault negatives for harder margins. |
| Supervised fine-tuning | source → gold, with rationale as chain-of-thought so the model learns the reason rather than the string. |
| Diagnostics and regression | Stable identifiers make the set usable as a fixed regression suite across model versions; the taxonomy localises where a regression occurred. |
| Dialect capability testing | Matched Egyptian, Levantine and Gulf triples hold legal content constant, isolating register handling. |
| Human-labeller training | The rationales function as a training curriculum for bilingual annotators working on legal Arabic. |
Sizing guidance, stated plainly: as an evaluation set the corpus is well beyond anything publicly available in this niche and is directly usable as a scored benchmark. As preference data it is a strong, high-signal seed that a lab augments programmatically. As standalone supervised training data it is a seed rather than a complete corpus. The honest framing is evaluation-grade and preference-ready; SFT seed.
| Item | Specification |
|---|---|
| Primary format | JSONL, UTF-8, one object per line, Unix line endings. Arabic stored as unescaped UTF-8. |
| Secondary formats | Pretty-printed JSON array for review; the corpus split into its six build parts; on request, preference-pair or SFT-triple shapes, CSV/TSV, Parquet, or a datasets-library-loadable layout. |
| Accompanying material | Build notes per block of 42 items (coverage map, exact distribution, review priorities and known caveats), a schema card, machine-readable statistics, the identifier map, a QA report, the duplicate-source register, and this specification. |
| Transfer | Secure electronic transfer within ten days of fees or of signature, as agreed. |
| Acceptance | Deemed accepted on delivery; non-conformity with the agreed schedule notifiable within fourteen days, remedied by correction or replacement. |
| Versioning | Identifiers are stable across versions and prior items are carried forward unchanged, so a licensee can diff builds and re-run a fixed evaluation suite. The single renumbering at v1.1 is documented in §9 and shipped with a full old-to-new map. |
| Free sample | Seventeen items (alfe-0001 to alfe-0017), requested from the sample page. A signed download link, valid fourteen days and up to five downloads, is emailed to the work address given, and acceptance of the evaluation-only terms is recorded against the request. No public file is published. Evaluation only: no redistribution, no derivative datasets, non-commercial. |
| Option | Scope | Indicative |
|---|---|---|
| Pilot set | Approximately 500 items, non-exclusive, single project. | $4k – 8k |
| Scaled corpus | 2,000 – 5,000 items, non-exclusive, shaped to the licensee’s taxonomy, difficulty mix, dialect mix and output format. | $15k – 60k |
| Full corpus | All 4,929 items, non-exclusive. | On application |
| Exclusive licence | Exclusivity by field, language pair or period; the licensor licenses to no third party within that scope for the term. | On application |
| Bespoke build | Authored to a stated taxonomy, volume, register mix and format; typical turnaround by agreement. | On application |
| Kept-current refresh | Annual update as statutes, AAOIFI standards and case law move. | 20 – 30% / yr |
| Deploy · Train · Sustain | The corpus deployed inside the licensee’s own evaluation harness, their reviewers trained to grade against the rationales, and the set kept current as the law moves. The firm’s standard three-tier engagement applied to data rather than to software. | On application |
Indicative only; final scope and price by agreement. A short data-licence agreement governs the arrangement. Its material terms: a worldwide, non-transferable, non-sublicensable licence to use the corpus internally to train, fine-tune, evaluate, benchmark and align models, extending to affiliates on equivalent terms; models the licensee trains and their outputs belong to the licensee, deployable and distributable without further fee, provided no model or output is designed or used to reconstruct or redistribute the corpus; no resale, publication, sublicensing, or use to build a competing dataset; the licensor warrants authorship, right to license, and absence of personal data, and indemnifies against third-party intellectual-property claims, subject to a liability cap at fees paid.
Frontier laboratories’ Arabic-capability and evaluation teams · Gulf national and sovereign-backed language-model programmes · regional legal-technology and Arabic-model builders · evaluation and red-teaming vendors · in-house teams building bilingual contract review, where a fluent mistranslation is a live commercial risk rather than a benchmark number.
Request the free seventeen-item sample, run it through your evaluation harness, and see what the rejected renderings do to your scores. Then tell us the taxonomy and volume you need.