Module:mg-pron: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 59: Line 59:
if not pos then error('Part of speech needed to determine stress') end
if not pos then error('Part of speech needed to determine stress') end
syll[1] = remove_acute(syll[1])
syll[1] = remove_acute(syll[1])
syll[1] = monosyll[pos] .. syll[1]
syll[1] = (monosyll[pos] or "(ˈ)") .. syll[1]
else
else
if match(term, "[áéíóú]") then
if match(term, "[áéíóú]") then