Module:qay-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 92: Line 92:
if not match(ret, "ˈ") then
if not match(ret, "ˈ") then
--ret = string.reverse(ret)
syllables = split(ret, "·")
ret = gsub(ret, "·", "ˈ·", -2)
syllables[#syllables - 1] = "ˈ" .. syllables[#syllables - 1]
ret = gsub(ret, "ˈ·", "·", -1)
ret = table.concat(syllables, "·")
--ret = string.reverse(ret)
end
end