Module:siwa-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 182: Line 182:
end
end


for _, rrule in ipairs(rules2) do
term = gsub(term, rrule[1], rrule[2])
end
if w then
if w then
term = gsub(term, "ꬶl", "ʔł")
term = gsub(term, "ꬶl", "ʔł")
for _, rrule in ipairs(rules2) do
term = gsub(term, rrule[1], rrule[2])
end
for _, anap in ipairs(anaptyctic) do
for _, anap in ipairs(anaptyctic) do
term = gsub(term, anap[1], anap[2])
term = gsub(term, anap[1], anap[2])
end
end
elseif e then
elseif e then
for _, rrule in ipairs(rules2) do
term = gsub(term, rrule[1], rrule[2])
end
term = gsub(term, "([đƀ])r", "%1ʼqʼ")
term = gsub(term, "([đƀ])r", "%1ʼqʼ")
term = gsub(term, "ʦx", "ʦʼqʼ")
term = gsub(term, "ʦx", "ʦʼqʼ")
term = gsub(term, "ꬶl", "klː")
term = gsub(term, "ꬶl", "klː")
else
else
for _, rrule in ipairs(rules2) do
term = gsub(term, rrule[1], rrule[2])
end
term = gsub(term, "ꬶl", "klː")
term = gsub(term, "ꬶl", "klː")
end
end