45,645
edits
No edit summary |
No edit summary |
||
Line 82: | Line 82: | ||
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, "ˈ") | ||
return table.concat(syllables, "·") | return table.concat(syllables, "·") | ||
--[[else | --[[else | ||
Line 92: | Line 91: | ||
ret = table.concat(syllables, "·"); | ret = table.concat(syllables, "·"); | ||
if not match(ret, "ˈ") then | |||
--ret = string.reverse(ret) | --ret = string.reverse(ret) | ||
ret = gsub(ret, "·", "ˈ·", -2) | ret = gsub(ret, "·", "ˈ·", -2) | ||
ret = gsub(ret, "ˈ·", "·", -1) | ret = gsub(ret, "ˈ·", "·", -1) | ||
--ret = string.reverse(ret) | --ret = string.reverse(ret) | ||
end | end | ||
end | end |