5 522
contributi
Modifiche
nessun oggetto della modifica
if not mw.ustring.find(decomposed, acute_or_grave) then
-- Allow monosyllabic unstressed words.
transcriptio=mw.ustring.sub(decomposed,-1)
if transcriptio ~= vowel then
decomposed=mw.ustring.gsub(decomposed,"(".. vowel ..")(" .. not_vowel .. "*)$",'%1' ..mw.ustring.char(0x301).. '%2')
-- Add acute accent on second-to-last vowel.
if not mw.ustring.find(decomposed, acute_or_grave) then elseif if vowel_count ~= 1 then
decomposed = mw.ustring.gsub(decomposed,"(" .. vowel .. ")(" .. not_vowel .. "*" .. vowel .. not_vowel .."*)$","%1" .. mw.ustring.char(0x301) .. "%2")
--else