Mòdul:ca-verb/pertànyer
La documentació d'ús d'aquest mòdul es pot crear a Mòdul:ca-verb/pertànyer/ús
-- Formes irregulars dels verbs -ànyer i fènyer o fényer.
local export = {}
function export.make_irregulars(forma, zona)
local radical = mw.ustring.gsub(mw.ustring.gsub(forma.inf, "ànyer$", "an"), "[èé]nyer$", "en")
forma.part[2] = {}
forma.part[2]["m-s"] = radical .. "gut"
forma.part[2]["f-s"] = radical .. "guda"
forma.part[2]["m-p"] = radical .. "guts"
forma.part[2]["f-p"] = radical .. "gudes"
fila = 2
if zona.bal or zona.val then
forma["pres-ind"][2][1] = radical .. "c"
fila = 3
end
if zona.sept then
forma["pres-ind"][fila] = {}
forma["pres-ind"][fila][1] = radical .. "yi"
forma["pres-ind"][fila]["nota"] = "sept"
end
forma.pass[2] = {}
forma.pass[2][1] = radical .. "guí"
forma.pass[2][2] = radical .. "gueres"
forma.pass[2][3] = radical .. "gué"
forma.pass[2][4] = radical .. "guérem"
forma.pass[2][5] = radical .. "guéreu"
forma.pass[2][6] = radical .. "gueren"
fila = 2
if zona.bal then
forma["pres-subj"][2][1] = radical .. "gui"
forma["pres-subj"][2][2] = radical .. "guis"
forma["pres-subj"][2][3] = radical .. "ga"
forma["pres-subj"][2][4] = radical .. "guem"
forma["pres-subj"][2][5] = radical .. "gueu"
forma["pres-subj"][2][6] = radical .. "guin"
forma["pres-subj"][2]["nota"] = "bal"
fila = 3
end
if zona.val then
forma["pres-subj"][fila] = {}
forma["pres-subj"][fila][1] = radical .. "ga"
forma["pres-subj"][fila][2] = radical .. "gues"
forma["pres-subj"][fila][3] = radical .. "ga"
forma["pres-subj"][fila][6] = radical .. "guen"
forma["pres-subj"][fila]["nota"] = "val"
end
forma["imperf-subj"][2][1] = radical .. "gués"
forma["imperf-subj"][2][2] = radical .. "guesses"
forma["imperf-subj"][2][3] = radical .. "gués"
forma["imperf-subj"][2][4] = radical .. "guéssem"
forma["imperf-subj"][2][5] = radical .. "guésseu"
forma["imperf-subj"][2][6] = radical .. "guessen"
fila = 3
if zona.bal then
forma["imperf-subj"][3] = {}
forma["imperf-subj"][3][2] = radical .. "guessis"
forma["imperf-subj"][3][4] = radical .. "guéssim"
forma["imperf-subj"][3][5] = radical .. "guéssiu"
forma["imperf-subj"][3][6] = radical .. "guessin"
forma["imperf-subj"][3]["nota"] = "bal"
fila = 4
end
if zona.val then
forma["imperf-subj"][fila] = {}
forma["imperf-subj"][fila][1] = radical .. "guera"
forma["imperf-subj"][fila][2] = radical .. "gueres"
forma["imperf-subj"][fila][3] = radical .. "guera"
forma["imperf-subj"][fila][4] = radical .. "guérem"
forma["imperf-subj"][fila][5] = radical .. "guéreu"
forma["imperf-subj"][fila][6] = radical .. "gueren"
forma["imperf-subj"][fila]["nota"] = "val"
end
fila = 2
if zona.bal then
forma.imp[2][3] = radical .. "gui"
forma.imp[2][4] = radical .. "guem"
forma.imp[2][6] = radical .. "guin"
forma.imp[2]["nota"] = "bal"
fila = 3
end
if zona.val then
forma.imp[fila] = {}
forma.imp[fila][3] = radical .. "ga"
forma.imp[fila][6] = radical .. "guen"
forma.imp[fila]["nota"] = "val"
end
forma["no-pres-ind"] = nil
forma["no-imperf-subj"] = nil
return forma
end
return export