45,640
edits
No edit summary |
No edit summary |
||
Line 809: | Line 809: | ||
elseif stem:match("[bpv]i$") then | elseif stem:match("[bpv]i$") then | ||
local repl = {["ḍ"] = "hh", ["h"] = "k", ["lp"] = "ll"} | local repl = {["ḍ"] = "hh", ["h"] = "k", ["lp"] = "ll"} | ||
data.forms["m_sg"] = {gsub(s2, v.."(.*)$", function(foo, bar) return foo .. repl[bar] | data.forms["m_sg"] = {gsub(s2, v.."(.*)$", function(foo, bar) return foo .. repl[bar] .. "umi" end)} | ||
data.forms["u_pl"] = {stem .. "gi"} | data.forms["u_pl"] = {stem .. "gi"} | ||
if stem:match(v.."[bp].$") then table.insert(data.forms["u_pl"], s2 .. "bṡi") end | if stem:match(v.."[bp].$") then table.insert(data.forms["u_pl"], s2 .. "bṡi") end | ||
data.forms["m_pl"] = {gsub(s2, v.."(.*)$", function(foo, bar) return foo .. repl[bar] | data.forms["m_pl"] = {gsub(s2, v.."(.*)$", function(foo, bar) return foo .. repl[bar] .. "umṡi" end)} | ||
elseif stem:match("[bpv]o$") then | elseif stem:match("[bpv]o$") then | ||
data.forms["u_pl"] = {stem .. "gi"} | data.forms["u_pl"] = {stem .. "gi"} |