45,660
edits
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
--local word = frame:getParent().args[1] -- for testing | --local word = frame:getParent().args[1] -- for testing | ||
local lenited = "" | local lenited = "" | ||
local v = "([aeiouyůõảẻỉỏủỷę | local v = "([aeiouyůõảẻỉỏủỷę])" | ||
local lenition_patterns = { | local lenition_patterns = { | ||
--geminated voiced stops | --geminated voiced stops | ||
Line 25: | Line 25: | ||
["ḍb"] = "p", ["ḍḍ"] = "hh", ["ḍg"] = "k", | ["ḍb"] = "p", ["ḍḍ"] = "hh", ["ḍg"] = "k", | ||
--semi-vowels | --semi-vowels | ||
["[ou]ų"] = "ů", | ["[ou]ų"] = "ů", ["(.)d(.)"] = "%1▫%2" | ||
} | } | ||