Module:siwa-pron: Difference between revisions

No edit summary
No edit summary
Line 37: Line 37:
local stressed_rules = {["h"] = "ʔ", ["ɡį"] = "jː", ["hh"] = "hː",}
local stressed_rules = {["h"] = "ʔ", ["ɡį"] = "jː", ["hh"] = "hː",}


for r in gmatch(s2, ".") do
for r in gmatch(s2, "[hgį]*") do
xx= gsub(s2, s2, stressed_rules[s2])
r=gsub(r, r, stressed_rules[r])
end
end