45,647
edits
No edit summary |
No edit summary |
||
Line 73: | Line 73: | ||
table.insert(syllables, i, "ˈ") | table.insert(syllables, i, "ˈ") | ||
return table.concat(syllables, "·") | return table.concat(syllables, "·") | ||
elseif match(term, "ŋ$") 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], "ˈ", "") | |||
return table.concat(syllables, "·") | return table.concat(syllables, "·") | ||
else | else | ||
Line 80: | Line 81: | ||
return table.concat(syllables, "·") | return table.concat(syllables, "·") | ||
end | end | ||
end | end | ||
end | end |