10,731
edits
TheNightAvl (talk | contribs) mNo edit summary |
TheNightAvl (talk | contribs) mNo edit summary |
||
Line 530: | Line 530: | ||
--principle_parts["aa"] = args["aa"] --or mw.ustring.gsub(principle_parts["2s"] .. "á", "([^eoø])avá$", "%1áva") | --principle_parts["aa"] = args["aa"] --or mw.ustring.gsub(principle_parts["2s"] .. "á", "([^eoø])avá$", "%1áva") | ||
--principle_parts["ai"] = args["ai"] --or mw.ustring.gsub(principle_parts["2s"] .. "ai", "([^eoø])avai$", "%1áe") | --principle_parts["ai"] = args["ai"] --or mw.ustring.gsub(principle_parts["2s"] .. "ai", "([^eoø])avai$", "%1áe") | ||
principle_parts["depers"] = args["depers"] | if principle_parts["vstem"] then | ||
principle_parts["depers"] = args["depers"] or mw.ustring.gsub(args["2s"], "v$", "") | |||
else | |||
principle_parts["depers"] = args["depers"] | |||
end | |||
--principle_parts["o"] = mw.ustring.gsub(principle_parts["2s"] .. "o", "([au])o$", "%1ò") | --principle_parts["o"] = mw.ustring.gsub(principle_parts["2s"] .. "o", "([au])o$", "%1ò") | ||
local imp_temp = args["depers"] | local imp_temp = args["depers"] | ||
Line 536: | Line 540: | ||
imp_temp = imp_temp .. "a" | imp_temp = imp_temp .. "a" | ||
end | end | ||
principle_parts["imp"] = args["imp"] or imp_temp or nil | if principle_parts["vstem"] then | ||
principle_parts["imp"] = args["imp"] or mw.ustring.gsub(principle_parts["2s"], "v%", "ja") | |||
else | |||
principle_parts["imp"] = args["imp"] or imp_temp or nil | |||
end | |||
principle_parts["r"] = args["r"] or ((principle_parts["depers"] or principle_parts["2s"]) .. "r") | principle_parts["r"] = args["r"] or ((principle_parts["depers"] or principle_parts["2s"]) .. "r") | ||
if principle_parts["vstem"] then principle_parts["r"] = mw.ustring.gsub(principle_parts["r"], "vr$", "r") end | if principle_parts["vstem"] then principle_parts["r"] = mw.ustring.gsub(principle_parts["r"], "vr$", "r") end |