ACE — Morphology Processing Flowchart

This diagram shows the main “forward” path used by ace_stem_tester.php and the main Analyzer. The reverse analyzer conceptually walks this graph backwards.

User Input r0, r1, r2, Form (1–10) Tense (1–44), Pronoun (1–14) ace_apply_extra_rules() detect: strong / hamzated / hollow / defective / doubled / particle* build_combined_token() F + r0,r1,r2 + infl1, infl2 → stem (Latin pattern) Suffix Layer ace_perfect_suffix() ace_imperfect_suffix() ace_declension_suffix() (15–23) Conjunction & Particles wa, fa, bi, li, la, sa, min + particle 24–44 group & member → assembly order (manual/auto) Attached Pronouns $ATTACHED (hu, hum, humā,…) Latin Assembly segments: conj, part, art, pref, stem, sfx, dec, obj → $fullLat latinToArabic() segment-wise: conj/art/pref/stem/ suffix/obj → colored Arabic Translation getTenseTranslation() + getFunctionalWordTranslation() → EN + UR templates Final Output Row (ACE Stem Tester) Pronoun meta + Colored Arabic + Latin link + IPA + Translation

The Reverse Analyzer conceptually walks this flow in the opposite direction: starting from a fully vocalized Arabic (or Latin) form, it guesses conjunction / particles / article / stem / root / form / tense / pronoun. See: reverse/index.php.