10,731
edits
TheNightAvl (talk | contribs) mNo edit summary |
TheNightAvl (talk | contribs) mNo edit summary |
||
Line 473: | Line 473: | ||
if args["vstem"] then | if args["vstem"] then | ||
principle_parts["vstem"] = args["vstem"] | principle_parts["vstem"] = args["vstem"] | ||
elseif mw.ustring.match(principle_parts["2s"],"v$") and not mw.ustring.match(principle_parts["inf"],"ft$") then | elseif mw.ustring.match(principle_parts["2s"],"[^n]v$") and not mw.ustring.match(principle_parts["inf"],"ft$") then | ||
principle_parts["vstem"] = true | principle_parts["vstem"] = true | ||
else | else | ||
Line 506: | Line 506: | ||
principle_parts["1s"] = mw.ustring.gsub(principle_parts["1s"], "([^au])oe$", "%1ui") | principle_parts["1s"] = mw.ustring.gsub(principle_parts["1s"], "([^au])oe$", "%1ui") | ||
principle_parts["1s"] = mw.ustring.gsub(principle_parts["1s"], "([^a])ue$", "%1ui") | principle_parts["1s"] = mw.ustring.gsub(principle_parts["1s"], "([^a])ue$", "%1ui") | ||
principle_parts["1s"] = mw.ustring.gsub(principle_parts["1s"], "nve$", "nui") | |||
end | end | ||
if args["3s"] then | if args["3s"] then | ||
Line 521: | Line 522: | ||
if principle_parts["vstem"] then principle_parts["3s"] = mw.ustring.gsub(principle_parts["3s"], "vș$", "ș") end | if principle_parts["vstem"] then principle_parts["3s"] = mw.ustring.gsub(principle_parts["3s"], "vș$", "ș") end | ||
principle_parts["3s"] = mw.ustring.gsub(principle_parts["3s"], "[sș]ș$", "ș") | principle_parts["3s"] = mw.ustring.gsub(principle_parts["3s"], "[sș]ș$", "ș") | ||
principle_parts["3s"] = mw.ustring.gsub(principle_parts["3s"], "nvș$", "mș") | |||
principle_parts["3s"] = mw.ustring.gsub(principle_parts["3s"], "([nņlr])gș$", "%1ș") | |||
end | end | ||
principle_parts["pl"] = args["pl"] | principle_parts["pl"] = args["pl"] |