Module:snon-common: Difference between revisions
Created page with "local export = {} local eclipsis_prefixes = { ["b"] = "m", ["c"] = "g", ["d"] = "n", ["f"] = "v", ["g"] = "n", ["p"] = "b", ["t"] = "d", ["ph"] = "bh", } function export.mutations(word, tag) local ret = {normal = word, len = word, ecl = word, an = word, hpro = word} local word_l = mw.ustring.lower(word) if tag ~= "nolen" then if mw.ustring.find(word_l, "^[bcdfgmpt]") then ret.len = mw.ustring.gsub(word, "^(.)", "%1h") elseif mw.ustring.find(word_l..." |
No edit summary |
||
| Line 10: | Line 10: | ||
["t"] = "d", | ["t"] = "d", | ||
["ph"] = "bh", | ["ph"] = "bh", | ||
["h"] = "nh", | |||
["s"] = "z", | |||
["ch"] = "gh", | |||
} | } | ||