Module:snon-mut: Difference between revisions

Melinoë (talk | contribs)
No edit summary
Melinoë (talk | contribs)
No edit summary
Line 19: Line 19:


local mutation_rules = {
local mutation_rules = {
["b"] = {"f", "m"},
["b"] = {"bb", "m", "bh"},
["c"] = {"g", "ngh", "ch"},
["c"] = {"g", "ngh", "ch"},
["ch"] = true,
["ch"] = {"gh", "ngh"},
["d"] = {"dd", "n"},
["d"] = {"dd", "n", "dh"},
["dd"] = true,
["dh"] = {"d", "n", "gh"},
["f"] = true,
["g"] = {"gg", "ng", "gh"},
["g"] = {"", "ng"},
["h"] = {"gh", "nh", "ch"},
["h"] = true,
["l"] = {"lh"},
["j"] = true,
["m"] = {"mh"},
["k"] = true,
["n"] = {"nh"},
["l"] = true,
["ll"] = {"l"},
["m"] = {"f"},
["mh"] = true,
["n"] = true,
["p"] = {"b", "mh", "ph"},
["p"] = {"b", "mh", "ph"},
["ph"] = true,
["ph"] = {"bh", "mh", "h"},
["q"] = true,
["r"] = {"rr", "rh"},
["r"] = true,
["s"] = {"z", "sh"},
["rh"] = {"r"},
["s"] = true,
["t"] = {"d", "nh", "th"},
["t"] = {"d", "nh", "th"},
["th"] = true,
["th"] = {"dh", "nh", "h"},
["ts"] = true,
["tsi"] = {"j", colloquial = true}, -- TODO: add colloquial marker.
["v"] = true,
["x"] = true,
["z"] = true
}
}