5 753
contributi
Modifiche
nessun oggetto della modifica
--sč at the end of a word is /ʃ/
word = word:gsub("sč","ʃ")
end
if mw.ustring.find(word,"č") then
word = mw.ustring.toNFC(word)
--sč at the end of a word is /ʧ/
word = word:gsub("č","ʧ")
end
if mw.ustring.find(word,"â") then
end
-- Transcriptions must contain an acute or grave, to indicate stress position.
-- This does not handle phrases containing more than one stressed word.
-- Default to penultimate stress rather than throw error?
if not mw.ustring.find(decomposed, acute_or_grave) then
-- Allow monosyllabic unstressed words.
local transcription = decomposed
"([kg])(" .. front .. ")",
"%1" .. fronted .. "%2")
:gsub("a", "äa")
:gsub("n", "n̺") -- Converts n before a consonant, which is incorrect.