Module:siwa-noun/common: Difference between revisions

Undo revision 275496 by Sware (talk)
No edit summary
(Undo revision 275496 by Sware (talk))
Tag: Undo
Line 19: Line 19:
["dl"] = "l", ["([lr])pp"] = "%1p", ["([lr])tt"] = "%1t", ["([lrms])kk"] = "%1k",["ps"] = "bs", ["k([lvs])"] = "g%1",
["dl"] = "l", ["([lr])pp"] = "%1p", ["([lr])tt"] = "%1t", ["([lrms])kk"] = "%1k",["ps"] = "bs", ["k([lvs])"] = "g%1",
--voiced consonants (▫, arbitrary character to compute diphthongs further down)
--voiced consonants (▫, arbitrary character to compute diphthongs further down)
["vv"] = "ų", [v.."[bhḥgd]"..v] = "%1▫%2", ["d([aou])"] = "l%1", ["(.)[dġ]([ieůy])"] = "%1▫%2", ["ġ([aou])"] = "vv%1", ["ġo̊"] = "vvo̊",  
["vv"] = "ų", [v.."[vųbhḥgd]"..v] = "%1▫%2", ["d([aou])"] = "l%1", ["(.)[dġ]([ieůy])"] = "%1▫%2", ["ġ([aou])"] = "vv%1", ["ġo̊"] = "vvo̊",  
--Ci#
--Ci#
["ri"] = "ṡi", ["nįi"] = "gįi", ["hhį"] = "ṡ",
["ri"] = "ṡi", ["nįi"] = "gįi", ["hhį"] = "ṡ",
Line 25: Line 25:
["ḍb"] = "p", ["ḍḍ"] = "hh", ["ḍg"] = "k",
["ḍb"] = "p", ["ḍḍ"] = "hh", ["ḍg"] = "k",
--semi-vowels
--semi-vowels
["[ou][ųv]"] = "ů▫", ["i[ųv]"] = "y▫", ["[óú]ų"] = "ẻu▫", ["íų"] = "ỷ▫",
["[ou]ų"] = "ů▫", [""] = "y▫", ["[óú]ų"] = "ẻu▫", ["íų"] = "ỷ▫",
}
}
Line 74: Line 74:
}
}
if stress then
word = gsub(word, "y▫", "ỷ")
word = gsub(word, "ů▫", "ẻu")
end
for regex, repl in pairs(diphthongs) do
for regex, repl in pairs(diphthongs) do