Module:siwa-pron: Difference between revisions

No edit summary
No edit summary
Line 31: Line 31:
table.insert(otc, vc)
table.insert(otc, vc)
end
end
--[[local tab={}
for regex, replacement in ipairs(switch) do
--for i=1,#v do
table.insert(tab, gsub(sub(v,i,i), regex, replacement))
--end
end
return table.concat(tab)]]
return table.concat(otc)
return table.concat(otc)
end
end
Line 88: Line 81:
},
},
{
{
["([ieuɔ][ɑeuɔ][eiu])(" .. consonant .. consonant .. ")"] = open_to_closed("%1"),
["([ieuɔ][ɑeuɔ][eiu])(" .. consonant .. consonant .. ")"] = function(s1, s2) return open_to_closed(s1)..s2 end
},
},
{
{