Module:mg-pron: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 63: Line 63:
if match(term, "[áéíóú]") then
if match(term, "[áéíóú]") then
for _, s in ipairs(syll) do
for _, s in ipairs(syll) do
s = remove_acute(s, true)
s = remove_acute(s, match(s, "[áéíóú]") and true or false)
table.insert(noa, s)
table.insert(noa, s)
end
end
Line 71: Line 71:
end
end


return table.concat(noa, "·")
return table.concat(noa or syll, "·")
end
end


Navigation menu