Module:rad-stem: Difference between revisions

Jump to navigation Jump to search
m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
mNo edit summary
Line 497: Line 497:
principle_parts["3s"] = mw.ustring.gsub(principle_parts["3s"], "âș$", "oaș")
principle_parts["3s"] = mw.ustring.gsub(principle_parts["3s"], "âș$", "oaș")
end
end
principle_parts["pl"] = args["pl"] or (principle_parts["2s"])
principle_parts["pl"] = args["pl"]
principle_parts["a"] = args["a"] or mw.ustring.gsub(principle_parts["2s"] .. "a", "([eoø])a$", "%1à")
principle_parts["a"] = args["a"] or mw.ustring.gsub(principle_parts["2s"] .. "a", "([eoø])a$", "%1à")
principle_parts["a"] = mw.ustring.gsub(principle_parts["a"], "aa$", "á")
principle_parts["a"] = mw.ustring.gsub(principle_parts["a"], "aa$", "á")
Line 504: Line 504:
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"] or principle_parts["2s"]
principle_parts["depers"] = args["depers"]
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 510: Line 510:
imp_temp = imp_temp .. "a"
imp_temp = imp_temp .. "a"
end
end
principle_parts["imp"] = args["imp"] or imp_temp or principle_parts["a"]
principle_parts["imp"] = args["imp"] or imp_temp or nil
principle_parts["r"] = args["r"] or principle_parts["2s"] .. "r"
principle_parts["r"] = args["r"] or (principle_parts["2s"] .. "r")
principle_parts["r"] = mw.ustring.gsub(principle_parts["r"], "vr$", "r")
principle_parts["r"] = mw.ustring.gsub(principle_parts["r"], "vr$", "r")
principle_parts["r"] = mw.ustring.gsub(principle_parts["r"], "([sș])r$", "%1tr")
principle_parts["r"] = mw.ustring.gsub(principle_parts["r"], "([sș])r$", "%1tr")
Line 524: Line 524:
principle_parts["apst"] = mw.ustring.gsub(principle_parts["apst"], "áa$", "ả")
principle_parts["apst"] = mw.ustring.gsub(principle_parts["apst"], "áa$", "ả")
principle_parts["apst"] = mw.ustring.gsub(principle_parts["apst"], "âa$", "oà")
principle_parts["apst"] = mw.ustring.gsub(principle_parts["apst"], "âa$", "oà")
principle_parts["aipst"] = args["aipst"] or (principle_parts["pst"] .. "ai")
principle_parts["aipst"] = args["aipst"]
principle_parts["epst"] = args["epst"] or principle_parts["pst"]
principle_parts["epst"] = args["epst"]
principle_parts["rpst"] = args["rpst"] or (principle_parts["pst"] .. "r")
principle_parts["rpst"] = args["rpst"] or (principle_parts["pst"] .. "r")
principle_parts["rpst"] = mw.ustring.gsub(principle_parts["rpst"], "([sș])r$", "%1tr")
principle_parts["rpst"] = mw.ustring.gsub(principle_parts["rpst"], "([sș])r$", "%1tr")

Navigation menu