45,660
edits
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
--consonant clusters | --consonant clusters | ||
["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 ( | --voiced consonants (▫, arbitrary character to compute diphthongs further down) | ||
["vv"] = "ų", [v.."[vųbhḥg]"..v] = "% | ["vv"] = "ų", [v.."[vųbhḥg]"..v] = "%1▫%2", ["d[aou]"] = "l", [v.."[dġ][ieůy]"] = "%1▫", [v.."ġ[aou]"] = "%1vv", | ||
--Ci# | --Ci# | ||
["[rġ]i"] = "ṡi", ["nįi"] = "gįi", ["hhį"] = "ṡ", | ["[rġ]i"] = "ṡi", ["nįi"] = "gįi", ["hhį"] = "ṡ", | ||
Line 35: | Line 35: | ||
function export.coalescence(word) | function export.coalescence(word) | ||
local diphthongs = { | local diphthongs = { | ||
["[aę] | ["[aę]▫[aę]"] = "ả", ["e▫e"] = "ẻ", ["i▫i"] = "ỉ", ["[yů]▫[yů]"] = "ỷ", ["[uyů]▫[uyů]"] = "ủ", | ||
["[ei] | ["[ei]▫[aę]"] = "ia", ["([ou])▫[aę]"] = "%1a", ["[ůy]▫[aę]"] = "ůa", ["a▫[ei]"] = "ai", ["a▫[ou]"] = "au", ["[aę]▫[yůu]"] = "ay" | ||
} | } | ||