Module:qay-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 75: Line 75:
elseif match(term, "ŋ$") or match(syllables[#syllables], "[aɛɪɔʊ][ɪʊ]") then
elseif match(term, "ŋ$") or match(syllables[#syllables], "[aɛɪɔʊ][ɪʊ]") then
table.insert(syllables, #syllables, "ˈ")
table.insert(syllables, #syllables, "ˈ")
syllables[#syllables-1] = gsub(syllables[#syllables-1], "ˈ", "")
--syllables[#syllables-1] = gsub(syllables[#syllables-1], "ˈ", "")
return table.concat(syllables, "·")
return table.concat(syllables, "·")
else
else