48,407
edits
No edit summary |
No edit summary |
||
| Line 59: | Line 59: | ||
data.g = g | data.g = g | ||
data.sg = "" | data.sg = "" | ||
local | |||
local pautable = { | |||
data.pau = | {"(э" .. c.macron .."?" .. c.breve ")$", "н"}, {"([ая]" .. c.macron .."?)$", "н"}, | ||
{"([оуюӯ]" .. c.macron .."?" .. c.breve "?)$", "ӈ"}, | |||
{"([эеыиӣөү]" .. c.macron .."?)$", "ч"}, | |||
} | |||
data.pau = "" | |||
for mat, suf in ipairs(pautable) do | |||
if word:match(mat) then | |||
data.pau = suf | |||
break | |||
end | |||
end | |||
if not data.pau then | |||
data.pau = gsubh(word, "Bӈ",{["b"]="о̆",["f"]="э̆", ["ab"]="о̆"}) | |||
end | |||
data.pl = { | data.pl = { | ||
["i"] = (match | ["i"] = (match(word, "[" .. voiceless .. "]" .. c.macron .. "?$") and "ш" or "ж") .. gsubh(word, "Bд",{["b"]="о̆",["e"]="э̆", ["ab"]="о̆"}), | ||
["a"] = (match | ["a"] = (match(word, "[" .. voiceless .. "]" .. c.macron .. "?$") and "ф" or "в") .. gsubh(word, "Rд",{["r"]="ө",["u"]="э", ["ar"]="э"}), | ||
} | } | ||