Module:qay-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 66: Line 66:
term = gsub(term, "·(" .. consonants .. ")·", "%1·")
term = gsub(term, "·(" .. consonants .. ")·", "%1·")
local syllables = split(term, "·");
local syllables = split(term, "·")
if #syllables ~= 1 then
if #syllables ~= 1 then
Line 78: Line 78:
end
end
end
end
syllables = split(syllables, "·")
if match(syllables[#syllables], "ŋ$") or match(syllables[#syllables], "[aɛɪɔʊ][ɪʊ]") then
if match(syllables[#syllables], "ŋ$") or match(syllables[#syllables], "[aɛɪɔʊ][ɪʊ]") then