{
  "standard": {
    "name": "Algeria Connect Darja Romanisation Standard",
    "version": "1.0.2",
    "status": "approved and released",
    "date": "2026-07-29",
    "reference_variety": "Tébessi Darja",
    "first_comparison_variety": "Algiers Darja",
    "description": "An evidence-informed practical Algeria Connect house convention, not an official national standard."
  },
  "distribution": {
    "type": "public distribution copy",
    "note": "Public copy of the Version 1.0.2 rules file. Internal project records have been removed; the rules are unchanged.",
    "terms": "Free for personal, educational, and research use; for commercial use, contact editor@algeriaconnect.com about licensing.",
    "source": "https://algeriaconnect.com/learn/darja/standard/"
  },
  "architecture": {
    "input_layer": "Accepts attested Arabizi, source spellings and regional variants.",
    "canonical_layer": "Produces one preferred Tébessi Latin form by default.",
    "arabic_output_layer": "Uses lexical and morphological routing before character fallback."
  },
  "character_rules": {
    "3": {
      "arabic": "ع",
      "input_aliases": [
        "ʿ",
        "'"
      ],
      "decision": "DEC-014"
    },
    "7": {
      "arabic": "ح",
      "input_aliases": [
        "ḥ",
        "h through lexical match"
      ],
      "decision": "DEC-015"
    },
    "kh": {
      "arabic": "خ",
      "input_aliases": [
        "x",
        "5"
      ],
      "decision": "DEC-016"
    },
    "gh": {
      "arabic": "غ",
      "input_aliases": [
        "ɣ",
        "dictionary-confirmed numeric variants"
      ],
      "decision": "DEC-017"
    },
    "sh": {
      "arabic": "ش",
      "input_aliases": [
        "ch",
        "š"
      ],
      "decision": "DEC-018",
      "note": "Applies generally, including the Algiers form sh7el. ch remains an accepted input alias through lexical matching."
    },
    "j": {
      "arabic": "ج",
      "input_aliases": [
        "dj",
        "ǧ"
      ],
      "decision": "DEC-019"
    },
    "qaf": {
      "canonical_symbols": [
        "g",
        "9"
      ],
      "g_use": "Approved lexical or regional /g/ reflex",
      "9_use": "Other approved qaf reflexes",
      "input_aliases": [
        "q",
        "k through lexical match"
      ],
      "decision": "DEC-021"
    },
    "h": {
      "arabic": "ه",
      "input_aliases": [],
      "decision": "DEC-022"
    },
    "th": {
      "arabic": "ث in approved interdental forms",
      "input_aliases": [
        "t through lexical match"
      ],
      "decision": "DEC-023"
    },
    "dh": {
      "arabic": "ذ, or ظ where attested",
      "input_aliases": [
        "d through lexical match"
      ],
      "decision": "DEC-024/DEC-025",
      "note": "dh may additionally resolve to ض through exact lexical matching only (DEC-073), e.g. input dhyaf -> dyaf -> ضياف. Canonical value and parser behaviour unchanged."
    },
    "emphatics": {
      "canonical": {
        "ص": "s",
        "ض": "d",
        "ط": "t"
      },
      "input_aliases": [
        "ṣ",
        "ḍ",
        "ṭ"
      ],
      "conversion": "lexical Arabic mapping",
      "decision": "DEC-026"
    },
    "gemination": {
      "rule": "Double a meaningful consonant in Latin; do not infer Arabic shadda from every double letter.",
      "decision": "DEC-027"
    },
    "borrowed_sounds": {
      "p": "Preserve when genuinely pronounced in an integrated Darja loan.",
      "v": "Preserve when genuinely pronounced in an integrated Darja loan.",
      "hard_g": "Preserve and distinguish lexically from qaf-g.",
      "tch": "Provisional integrated-loan spelling for /tʃ/.",
      "decisions": [
        "DEC-028",
        "DEC-029"
      ]
    },
    "hamza": {
      "canonical_rule": "No dedicated canonical symbol; restore hamza lexically.",
      "accepted_inputs": [
        "2 or apostrophe through exact lexical normalisation"
      ],
      "status": "approved by DEC-063"
    }
  },
  "parser_order": [
    "tch",
    "kh",
    "gh",
    "sh",
    "dh",
    "th",
    "single characters"
  ],
  "vowels": {
    "core": [
      "a",
      "i",
      "u",
      "e"
    ],
    "restricted_o": "Established integrated loans or independently approved words with genuine o.",
    "ou": "Approved stable rounded vowel associated with waw.",
    "length": "Do not routinely double a or i.",
    "e": "Plain e; accented é/è and ee may be lexical input aliases.",
    "reduced_vowels": "Write stable lexical e only.",
    "w_y": "Consonants or glides.",
    "diphthongs": "Lexical; no blanket conversion.",
    "decisions": [
      "DEC-030",
      "DEC-031",
      "DEC-032",
      "DEC-033",
      "DEC-034",
      "DEC-035",
      "DEC-036"
    ]
  },
  "boundaries": {
    "article": "Pronunciation-aware article plus hyphen: el-, es-, ez- and other attested assimilated forms.",
    "sun_letters": "Write assimilation and doubled initial consonant.",
    "pronoun_suffixes": "Attach directly.",
    "verbal_prefixes": "Attach directly in running text.",
    "conjunction_w": "Separate word.",
    "multi_letter_prepositions": [
      "fi",
      "men",
      "3la as separate words"
    ],
    "short_clitics": [
      "b-",
      "l-"
    ],
    "future": "ra7 as a separate word before the inflected verb.",
    "negation": "ma-[host]sh, with lexical exceptions such as makansh.",
    "apostrophe": "Not a canonical Darja letter; preserved inside active French spans.",
    "decisions": [
      "DEC-038",
      "DEC-039",
      "DEC-040",
      "DEC-041",
      "DEC-042",
      "DEC-043",
      "DEC-044",
      "DEC-045"
    ]
  },
  "regional_policy": {
    "default_profile": "Tébessi",
    "roles": [
      "preferred Tébessi form",
      "Algiers comparison",
      "broad Algerian",
      "other named regional form",
      "region-unspecified source/comparison",
      "sound-level feature"
    ],
    "evidence_labels": [
      "course-confirmed Tébessi",
      "native-speaker-confirmed Tébessi",
      "direct named-region source",
      "broad/multi-region evidence",
      "region unspecified"
    ],
    "broad_threshold": "Explicit reliable widespread description or independent evidence from at least three named Algerian areas.",
    "wording": "Regional forms are variants, not mistakes.",
    "how_much": {
      "concept": "CONCEPT-HOW-MUCH",
      "tebessi": {
        "latin": "geddash",
        "arabic": "قداش"
      },
      "algiers": {
        "latin": "sh7el",
        "arabic": "شحال",
        "accepted_input_aliases": [
          "ch7el"
        ]
      },
      "archived_source": {
        "latin": "qeddash",
        "internal_normalisation": "9eddash",
        "region": "unspecified"
      }
    },
    "decisions": [
      "DEC-054",
      "DEC-055",
      "DEC-056",
      "DEC-057",
      "DEC-058",
      "DEC-059",
      "DEC-060",
      "DEC-061",
      "DEC-062"
    ]
  },
  "loans_and_code_switching": {
    "statuses": [
      "integrated Darja loan",
      "adapted or hybrid Darja form",
      "active French code-switch",
      "uncertain border case",
      "named entity"
    ],
    "integrated": "Write the approved Algerian pronunciation with AC rules and convert through a lexical Arabic form.",
    "hybrid": "Write the whole spoken token in Darja spelling; store the French source lemma and Darja morphology separately.",
    "active_french": "Preserve standard French spelling and leave the French span in Latin script by default.",
    "uncertain": "Preserve observed form and flag; no automatic Arabic output.",
    "named_entities": "Use an official/established spelling and a named-entity lexicon.",
    "example": {
      "latin": "fi l'école",
      "arabic_mixed": "في l'école"
    },
    "decisions": [
      "DEC-046",
      "DEC-047",
      "DEC-048",
      "DEC-049",
      "DEC-050",
      "DEC-051",
      "DEC-052",
      "DEC-053"
    ]
  },
  "arabic_output": {
    "priority": [
      "exact lexical match",
      "approved concept/regional profile match",
      "approved morphological composition",
      "character fallback marked uncertain"
    ],
    "latin_spaces_need_not_match_arabic_spaces": true,
    "examples": {
      "geddash": "قداش",
      "ma-na3refsh": "مانعرفش",
      "w sa77it 3la kolshi": "وصحيت على كلشي",
      "fi l'école": "في l'école",
      "sh7el": "شحال"
    }
  },
  "case_and_punctuation": {
    "headwords": "Lowercase unless the form is an established proper name.",
    "running_text": "Normal sentence capitalisation may be used editorially; matching is case-insensitive.",
    "punctuation": "Use ordinary Latin punctuation; preserve source-language punctuation inside French spans."
  },
  "known_limitations": [
    "The lexicon is still small and course-centred.",
    "Many regional forms lack direct Tébessa-specific academic evidence.",
    "Character fallback cannot reliably reconstruct Arabic vowels, emphatics, hamza or language boundaries.",
    "Arabic sentence generation requires lexical and morphological analysis rather than simple character replacement.",
    "No pronunciation audio layer is included in Version 1.0.",
    "The Version 1.0 lexicon is still course-centred and will require controlled expansion."
  ],
  "version_history": [
    {
      "version": "0.1",
      "date": "2026-07-28",
      "change": "Stage 1 course extraction and database"
    },
    {
      "version": "0.2A-0.2F",
      "date": "2026-07-28/29",
      "change": "Approved consonant, vowel, boundary, loan and regional batches"
    },
    {
      "version": "1.0",
      "date": "2026-07-29",
      "change": "Approved release; hamza rule confirmed and Algiers form normalised from ch7el to sh7el."
    },
    {
      "version": "1.0.1",
      "date": "2026-07-29",
      "change": "Corrective release: th added to the parser order after dh (DEC-066). No lexical entries affected; six active th headwords already resolve lexically."
    },
    {
      "version": "1.0.2",
      "date": "2026-07-29",
      "change": "Input-alias clarification: dh accepted for ض through exact lexical match only (DEC-073). Lexicon expanded to database revision 1.1 (Stage 4 batch 1: kinship and people)."
    }
  ],
  "approved_decision_range": "DEC-001 to DEC-075"
}
