modern palatals. ကျ → t͡ɕ; ချ → t͡ɕʰ; ဂျ → d͡ʑ; ဃျ → d͡ʑ; ကြ → t͡ɕ; ခြ → t͡ɕʰ; ဂြ → d͡ʑ; ဃြ → d͡ʑ; # Remove redundant MEDIAL YA and MEDIAL RA after initial YA. ယ { [$med_y $med_r] → ; # Reorder the medials so that U+103E SIGN MEDIAL HA comes before any # other medials. # First, push U+103E MEDIAL HA before U+103D MEDIAL WA. \u103D \u103E → \u103E \u103D; ::Null; # Now MEDIAL WA comes last. # Produce the palatal ʃ from (SA|LA)+YA+HA. သျှ → ʃ; လျှ → ʃ; # Second, push U+103E MEDIAL HA before U+103C MEDIAL RA. \u103C \u103E → \u103E \u103C; ::Null; # Finally, push U+103E MEDIAL HA before U+103B MEDIAL YA. \u103B \u103E → \u103E \u103B; ::Null; # Consume MEDIAL HA and apply devoicing. ငှ → ŋ̊; ဉှ → ɲ̥; ညှ → ɲ̥; ဏှ → n̥; နှ → n̥; မှ → m̥; ယှ → ʃ; ရှ → ʃ; လှ → l̥; ဝှ → w̥; ဠှ → l̥; # Drop any remaining U+103E MEDIAL HA. \u103E → ; # Simplify medial cluster /jw/ to /w/, i.e. drop U+103B MEDIAL YA and # U+103C MEDIAL RA before U+103D MEDIAL WA. # TODO: revisit this \u103B } \u103D → ; \u103C } \u103D → ; \u103B → j; \u103C → j; \u103D → w; # # Initials # # Velars က → k; ခ → kʰ; ဂ → ɡ; ဃ → ɡ; င → ŋ; # Historic palatals စ → s; ဆ → sʰ; ဇ → z; ဈ → z; ဉ → ɲ; ည → ɲ; # Alveolars ဋ → t; ဌ → tʰ; ဍ → d; ဎ → d; ဏ → n; # Historic dentals ==> alveolars တ → t; ထ → tʰ; ဒ → d; ဓ → d; န → n; # Labials ပ → p; ဖ → pʰ; ဗ → b; ဘ → b; မ → m; # Other letters ယ → j; ရ → j; # historic /r/ လ် → ; # final, typically not pronounced in native words လ → l; ဝ → w; သ → θ; # historic /s/ ==> modern dental ဟ → h; ဠ → l; အ → ʔ; # Independent vowels ဣ့ → ʔḭ; # redundant creaky tone; this does not usually occur ဣး → ʔí; # this does not usually occur ဣ → ʔḭ; ဤ့ → ʔḭ; # this does not usually occur ဤး → ʔí; # this does not usually occur ဤ → ʔì; ဥ့ → ʔṵ; # redundant creaky tone; this does not usually occur ဥး → ʔú; # this does not usually occur ဥ → ʔṵ; ဦ့ → ʔṵ; # this does not usually occur ဦး → ʔú; ဦ → ʔù; ဧ့ → ʔḛ; # this does not usually occur ဧး → ʔé; ဧ → ʔè; ဩ့ → ʔɔ̰; # this does not usually occur ဩး → ʔɔ́; # redundant high tone; this does not usually occur ဩ → ʔɔ́; ဪ့ → ʔɔ̰; # this does not usually occur ဪး → ʔɔ́; # this does not usually occur ဪ → ʔɔ̀; # Various signs ၌ → n̥aɪ̯ʔ; ၍ → jwḛ; # ၎င်း was handled earlier. ၏ → ʔḭ; # # Postprocessing # # Delete any remaining U+103A ASAT. $asat → ; # Delete zero-width space, non-joiner, joiner. [\u200B-\u200D] → ; ::NFC; ]]>