45,646
edits
No edit summary |
No edit summary |
||
Line 32: | Line 32: | ||
if pat:match("B") and pat:match("R") then | if pat:match("B") and pat:match("R") then | ||
pat = | pat = gsub(pat, "B", repl[harmony.backness]) | ||
pat = gsub(pat, "R", repl[harmony.roundness]) | |||
else | else | ||
pat = | pat = gsub(pat, "([BR])",function(s) return repl[harmony[s == "B" and "backness" or "roundness"]] end) | ||
end | end | ||
Line 120: | Line 121: | ||
["pro"] = gsubh("сRц",{["r"]="ө",["u"]="э", ["ar"]="ө"}), | ["pro"] = gsubh("сRц",{["r"]="ө",["u"]="э", ["ar"]="ө"}), | ||
["ade"] = "ляц", | ["ade"] = "ляц", | ||
["abl"] = gsubh("сRшB",{["r"]=" | ["abl"] = gsubh("сRшB",{["r"]="у",["u"]="ы",["b"]="о̄̆",["f"]="э̄̆",["ar"]="у",["ab"]="э̄̆"}), | ||
["ill"] = gsubh("кRб",{["r"]="ү",["u"]="ы",["ar"]="ы"}), | ["ill"] = gsubh("кRб",{["r"]="ү",["u"]="ы",["ar"]="ы"}), | ||
} | } |