Module:snon-mut: Difference between revisions
No edit summary |
No edit summary |
||
| Line 17: | Line 17: | ||
local mutation_rules = { | local mutation_rules = { | ||
["b"] = {"bb", "m", "bh"}, | ["b"] = {"bb", "m", "bh"}, | ||
["c"] = {"g", "ngh", "ch"}, | ["c"] = {"g", "ngh", "ch"}, | ||
["d"] = {"dd", "n", "dh"}, | ["d"] = {"dd", "n", "dh"}, | ||
["g"] = {"gg", "ng", "gh"}, | ["g"] = {"gg", "ng", "gh"}, | ||
["h"] = {"gh", "nh", " | ["h"] = {"gh", "nh", "'"}, | ||
["l"] = {" | ["l"] = {"l", "l", "lh"}, | ||
["m"] = {"m", "mm", "mh"}, | ["m"] = {"m", "mm", "mh"}, | ||
["n"] = {"n", "nn", "nh"}, | ["n"] = {"n", "nn", "nh"}, | ||
["p"] = {"b", "mh", "ph"}, | ["p"] = {"b", "mh", "ph"}, | ||
[" | ["f"] = {"v", "mh", "fh"}, | ||
["r"] = {" | ["v"] = {"b", "m", "vh"}, | ||
["r"] = {"r", "r", "rh"}, | |||
["s"] = {"z", "nh","sh"}, | ["s"] = {"z", "nh","sh"}, | ||
["t"] = {"d", "nh", "th"}, | ["t"] = {"d", "nh", "th"}, | ||
} | } | ||
| Line 130: | Line 127: | ||
result = result .. '\n! ' .. (data.vowel and 'gh-prothesis' or '[[soft mutation|voiced]]') | result = result .. '\n! ' .. (data.vowel and 'gh-prothesis' or '[[soft mutation|voiced]]') | ||
result = result .. '\n! ' .. (data.vowel and 'n-prothesis' or '[[nasal mutation|nasal]]') | result = result .. '\n! ' .. (data.vowel and 'n-prothesis' or '[[nasal mutation|nasal]]') | ||
result = result .. '\n! ' .. (data.vowel and ' | result = result .. '\n! ' .. (data.vowel and 'h-prothesis' or '[[aspirate mutation|lenition]]') | ||
result = result .. '\n|-' | result = result .. '\n|-' | ||
result = result .. '\n| ' .. require("Module:links").full_link({lang = lang, term = data.radical}) | result = result .. '\n| ' .. require("Module:links").full_link({lang = lang, term = data.radical}) | ||