Module:rad-syllables: Difference between revisions

m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
m (Added ài)
Tags: Mobile edit Mobile web edit
mNo edit summary
Line 227: Line 227:
-- C ↔ σ (J)
-- C ↔ σ (J)
elseif consonant[g_prev] and g_current == "σ" and (vowel[g_after] or glide[g_after]) then
elseif consonant[g_prev] and g_current == "σ" and (vowel[g_after] or glide[g_after]) and not (g_prev == "j" and g_after =="j") then
swap(i, i-1)
swap(i, i-1)
elseif consonant[g_prev2] and affix[g_prev] and g_current == "σ" and (vowel[g_after] or glide[g_after]) then
elseif consonant[g_prev2] and affix[g_prev] and g_current == "σ" and (vowel[g_after] or glide[g_after]) and not (g_prev2 == "j" and g_after =="j") then
swap(i, i-1)
swap(i, i-1)
swap(i-1, i-2)
swap(i-1, i-2)
Line 274: Line 274:
swap(i, i-1)
swap(i, i-1)
swap(i-1, i-2)
swap(i-1, i-2)
elseif g_current == "σ" then
elseif g_current == "σ" then
if i == 1 then
if i == 1 then