Module:mg-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 64: Line 64:
if match(s, "[áéíóú]") then
if match(s, "[áéíóú]") then
s = "ˈ" .. remove_acute(s)
s = "ˈ" .. remove_acute(s)
return s
end
end
end
end
if match(table.concat(syll, "·"), "ˈ") then return table.concat(syll, "·") end
syll[#syll - 1] = "ˈ" .. syll[#syll - 1]
syll[#syll - 1] = "ˈ" .. syll[#syll - 1]
end
end