45,333
edits
No edit summary |
No edit summary |
||
Line 31: | Line 31: | ||
str = mw.ustring.toNFC(str) | str = mw.ustring.toNFC(str) | ||
return (with_stress and "ˈ" or "") .. str | return str == "Ą" and "ą" or (with_stress and "ˈ" or "") .. str | ||
end | end | ||
Line 61: | Line 61: | ||
syll[1] = (monosyll[pos] or "(ˈ)") .. syll[1] | syll[1] = (monosyll[pos] or "(ˈ)") .. syll[1] | ||
else | else | ||
if match(term, "[ | if match(term, "[áéíóúĄ]") then | ||
for _, s in ipairs(syll) do | for _, s in ipairs(syll) do | ||
s = remove_acute(s, match(s, "[ | s = remove_acute(s, match(s, "[áéíóúĄ]") and true or false) | ||
table.insert(noa, s) | table.insert(noa, s) | ||
end | end |