5 515
contributi
Modifiche
nessun oggetto della modifica
local transcription = decomposed
-- Handle è, ò. \204\128 is the UTF-8 encoding of the combining grave accent.
transcription = transcription:gsub("([eo])(\204\128)",
return ({ e = "ɛ", o = "ɔ" })[vowel] .. accent
end) -- e or o followed by grave
if mw.ustring.find(transcription,"sĉ") then transcription= mw.ustring.toNFD(transcription) --sč at the end of a word is /ʃ/ transcription = transcription :gsub("sĉ", "ʃ") end
-- ci, gi + vowel
-- Do ci, gi + e, é, è sometimes contain /j/?