Module:mg-pron: Difference between revisions
No edit summary |
No edit summary |
||
| Line 61: | Line 61: | ||
syll[1] = monosyll[pos] .. syll[1] | syll[1] = monosyll[pos] .. syll[1] | ||
else | else | ||
if match(term, "[áéíóú]") then | |||
for _, s in ipairs(syll) do | |||
s = "ˈ" .. remove_acute(s) | s = "ˈ" .. remove_acute(s) | ||
table.insert(noa, s) | |||
end | end | ||
end | end | ||
syll[#syll - 1] = "ˈ" .. syll[#syll - 1] | |||
end | end | ||
return table.concat(noa | return table.concat(noa or syll, "·") | ||
end | end | ||