45,645
edits
No edit summary |
No edit summary |
||
Line 80: | Line 80: | ||
if #syllables ~= 1 then | if #syllables ~= 1 then | ||
for i, syll in ipairs(syllables) do | for i, syll in ipairs(syllables) do | ||
if match(syll, "´") then | if match(word, "´") and not match(syll, "´") then | ||
break | |||
elseif match(syll, "´") then | |||
table.insert(syllables, i, "ˈ") | table.insert(syllables, i, "ˈ") | ||
return table.concat(syllables, "·") | return table.concat(syllables, "·") |