Module:siwa-noun/common: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 2: Line 2:


function export.lenition(word)
function export.lenition(word)
local v = "([aeiouyůõảẻỉỏủỷę])"
local lenition_patterns = {
local lenition_patterns = {
[v.."[vųbhḥg]"..v] = "%1%2", ["bb"] = "b", ["dd"] = "d", ["gg"] = "g", ["ɟ"] = "į", ["mm"] = "m", ["ll"] = "l", ["nn"] = "n",
[v.."[vųbhḥg]"..v] = "%1%2", ["bb"] = "b", ["dd"] = "d", ["gg"] = "g", ["ɟ"] = "į", ["mm"] = "m", ["ll"] = "l", ["nn"] = "n",