Module:siwa-pron: Difference between revisions

No edit summary
No edit summary
Line 40: Line 40:
local stressed_rules = {["h"] = "ʔ", ["ɡį"] = "jː", ["hh"] = "hː",}
local stressed_rules = {["h"] = "ʔ", ["ɡį"] = "jː", ["hh"] = "hː",}
--local i,j = mw.ustring.find(term, ss)
local i,j = mw.ustring.find(term, ss)
for qwerty in gmatch(ss, stpattern) do
for qwerty in gmatch(ss, stpattern) do
qwerty = gsub(qwerty, qwerty, stressed_rules[qwerty])
qwerty = gsub(qwerty, qwerty, stressed_rules[qwerty])