Mòdul:roa-oca-verb/prendre
La documentació d'ús d'aquest mòdul es pot crear a Mòdul:roa-oca-verb/prendre/ús
-- Model de conjugació antiga prendre
local p = {}
function p.formes(infinitiu)
local radical = string.sub(infinitiu, 1, -5)
local radical2
if string.sub(radical, -1) == 'e' then
radical2 = string.sub(radical, 1, -2) .. 'i'
end
local rizo
if #radical > 3 then
if string.sub(radical, -1) == 'o' then
rizo = string.sub(radical, 1, -2) .. 'ò'
end
end
local forma = {}
forma.ger = {}
forma.ger[1] = {}
forma.ger[2] = {}
forma.ger[1][1] = radical .. "nent"
forma.ger[2][1] = radical .. "nint"
forma.part = {}
forma.part[1] = {}
forma.part[2] = {}
if rizo then
forma.part[1]["m-s"] = rizo .. "s"
else
forma.part[1]["m-s"] = radical .. "s"
end
forma.part[2]["m-s"] = radical .. "nut"
forma["pres-ind"] = {}
forma["pres-ind"][1] = {}
forma["pres-ind"][2] = {}
forma["pres-ind"][1][1] = radical .. 'nc'
forma["pres-ind"][1][2] = radical .. "ns"
forma["pres-ind"][1][3] = radical .. "n"
forma["pres-ind"][1][4] = radical .. "nem"
forma["pres-ind"][2][4] = radical .. "nim"
forma["pres-ind"][1][5] = radical .. "neu"
forma["pres-ind"][2][5] = radical .. "niu"
forma["pres-ind"][1][6] = radical .. "nen"
forma["imperf-ind"] = {}
forma["imperf-ind"][1] = {}
forma["imperf-ind"][2] = {}
forma["imperf-ind"][1][1] = radical .. "nia"
forma["imperf-ind"][1][2] = radical .. "nies"
forma["imperf-ind"][1][3] = radical .. "nia"
forma["imperf-ind"][1][4] = radical .. "níem"
forma["imperf-ind"][1][5] = radical .. "níets"
forma["imperf-ind"][2][5] = radical .. "níeu"
forma["imperf-ind"][1][6] = radical .. "nien"
forma.pass = {}
forma.pass[1] = {}
forma.pass[2] = {}
forma.pass[3] = {}
forma.pass[4] = {}
forma.pass[5] = {}
forma.pass[6] = {}
if rizo then
forma.pass[1][1] = rizo .. "s"
else
forma.pass[1][1] = radical .. "s"
end
if radical2 then
forma.pass[2][1] = radical2 .. "s"
forma.pass[3][1] = radical .. "nguí"
forma.pass[4][1] = radical2 .. "nguí"
else
forma.pass[2][1] = radical .. "nguí"
end
forma.pass[1][2] = radical .. "sist"
forma.pass[2][2] = radical .. "seres"
forma.pass[3][2] = radical .. "nguist"
forma.pass[4][2] = radical .. "ngueres"
if radical2 then
forma.pass[5][2] = radical2 .. "nguist"
forma.pass[6][2] = radical2 .. "ngueres"
end
if rizo then
forma.pass[1][3] = rizo .. "s"
else
forma.pass[1][3] = radical .. "s"
end
if radical2 then
forma.pass[2][3] = radical2 .. "s"
forma.pass[3][3] = radical .. "ngué"
else
forma.pass[2][3] = radical .. "ngué"
end
forma.pass[1][4] = radical .. "sem"
forma.pass[2][4] = radical .. "sérem"
forma.pass[3][4] = radical .. "nguem"
forma.pass[4][4] = radical .. "nguérem"
forma.pass[1][5] = radical .. "sets"
forma.pass[2][5] = radical .. "sérets"
forma.pass[3][5] = radical .. "séreu"
forma.pass[4][5] = radical .. "nguets"
forma.pass[5][5] = radical .. "nguérets"
forma.pass[6][5] = radical .. "nguéreu"
forma.pass[1][6] = radical .. "seren"
forma.pass[2][6] = radical .. "ngueren"
if radical2 then
forma.pass[3][6] = radical2 .. "ngueren"
end
forma.fut = {}
forma.fut[1] = {}
forma.fut[2] = {}
forma.fut[1][1] = radical .. "ndré"
forma.fut[1][2] = radical .. "ndràs"
forma.fut[1][3] = radical .. "ndrà"
forma.fut[1][4] = radical .. "ndrem"
forma.fut[1][5] = radical .. "ndrets"
forma.fut[2][5] = radical .. "ndreu"
forma.fut[1][6] = radical .. "ndran"
forma.cond = {}
forma.cond[1] = {}
forma.cond[2] = {}
forma.cond[1][1] = radical .. "ndria"
forma.cond[1][2] = radical .. "ndries"
forma.cond[1][3] = radical .. "ndria"
forma.cond[1][4] = radical .. "ndríem"
forma.cond[1][5] = radical .. "ndríets"
forma.cond[2][5] = radical .. "ndríeu"
forma.cond[1][6] = radical .. "ndrien"
forma["pres-subj"] = {}
forma["pres-subj"][1] = {}
forma["pres-subj"][2] = {}
forma["pres-subj"][3] = {}
forma["pres-subj"][4] = {}
forma["pres-subj"][5] = {}
forma["pres-subj"][6] = {}
forma["pres-subj"][7] = {}
forma["pres-subj"][8] = {}
forma["pres-subj"][1][1] = radical .. "na"
forma["pres-subj"][2][1] = radical .. "nga"
forma["pres-subj"][1][2] = radical .. "nes"
forma["pres-subj"][2][2] = radical .. "ngues"
forma["pres-subj"][1][3] = radical .. "na"
forma["pres-subj"][2][4] = radical .. "nga"
forma["pres-subj"][1][4] = radical .. "nam"
forma["pres-subj"][2][4] = radical .. "nem"
forma["pres-subj"][3][4] = radical .. "ngam"
forma["pres-subj"][4][4] = radical .. "nguem"
forma["pres-subj"][1][5] = radical .. "nats"
forma["pres-subj"][2][5] = radical .. "nau"
forma["pres-subj"][3][5] = radical .. "nets"
forma["pres-subj"][4][5] = radical .. "neu"
forma["pres-subj"][5][5] = radical .. "ngats"
forma["pres-subj"][6][5] = radical .. "ngau"
forma["pres-subj"][7][5] = radical .. "nguets"
forma["pres-subj"][8][5] = radical .. "ngueu"
forma["pres-subj"][1][6] = radical .. "nen"
forma["pres-subj"][2][6] = radical .. "nguen"
forma["imperf-subj"] = {}
forma["imperf-subj"][1] = {}
forma["imperf-subj"][2] = {}
forma["imperf-subj"][3] = {}
forma["imperf-subj"][4] = {}
forma["imperf-subj"][5] = {}
forma["imperf-subj"][6] = {}
forma["imperf-subj"][7] = {}
forma["imperf-subj"][8] = {}
forma["imperf-subj"][9] = {}
forma["imperf-subj"][10] = {}
if radical2 then
forma["imperf-subj"][11] = {}
forma["imperf-subj"][12] = {}
end
forma["imperf-subj"][1][1] = radical .. "sés"
forma["imperf-subj"][2][1] = radical .. "nés"
forma["imperf-subj"][3][1] = radical .. "ngués"
if radical2 then
forma["imperf-subj"][4][1] = radical2 .. "ngués"
forma["imperf-subj"][5][1] = radical .. "nera"
forma["imperf-subj"][6][1] = radical .. "nguera"
else
forma["imperf-subj"][4][1] = radical .. "nera"
forma["imperf-subj"][5][1] = radical .. "nguera"
end
forma["imperf-subj"][1][2] = radical .. "sesses"
forma["imperf-subj"][2][2] = radical .. "nesses"
forma["imperf-subj"][3][2] = radical .. "nguesses"
if radical2 then
forma["imperf-subj"][4][2] = radical2 .. "nguesses"
forma["imperf-subj"][5][2] = radical .. "neres"
forma["imperf-subj"][6][2] = radical .. "ngueres"
else
forma["imperf-subj"][4][2] = radical .. "neres"
forma["imperf-subj"][5][2] = radical .. "ngueres"
end
forma["imperf-subj"][1][3] = radical .. "sés"
forma["imperf-subj"][2][3] = radical .. "nés"
forma["imperf-subj"][3][3] = radical .. "ngués"
if radical2 then
forma["imperf-subj"][4][3] = radical2 .. "ngués"
forma["imperf-subj"][5][3] = radical .. "nera"
forma["imperf-subj"][6][3] = radical .. "nguera"
else
forma["imperf-subj"][4][3] = radical .. "nera"
forma["imperf-subj"][5][3] = radical .. "nguera"
end
forma["imperf-subj"][1][4] = radical .. "séssem"
forma["imperf-subj"][2][4] = radical .. "néssem"
forma["imperf-subj"][3][4] = radical .. "nguéssem"
if radical2 then
forma["imperf-subj"][4][4] = radical2 .. "nguéssem"
forma["imperf-subj"][5][4] = radical .. "nérem"
forma["imperf-subj"][6][4] = radical .. "nguérem"
else
forma["imperf-subj"][4][4] = radical .. "nérem"
forma["imperf-subj"][5][4] = radical .. "nguérem"
end
forma["imperf-subj"][1][5] = radical .. "séssets"
forma["imperf-subj"][2][5] = radical .. "sésseu"
forma["imperf-subj"][3][5] = radical .. "néssets"
forma["imperf-subj"][4][5] = radical .. "nésseu"
forma["imperf-subj"][5][5] = radical .. "nguéssets"
forma["imperf-subj"][6][5] = radical .. "nguésseu"
if radical2 then
forma["imperf-subj"][7][5] = radical2 .. "nguéssets"
forma["imperf-subj"][8][5] = radical2 .. "nguésseu"
forma["imperf-subj"][9][5] = radical .. "nérets"
forma["imperf-subj"][10][5] = radical .. "néreu"
forma["imperf-subj"][11][5] = radical .. "nguérets"
forma["imperf-subj"][12][5] = radical .. "nguéreu"
else
forma["imperf-subj"][7][5] = radical .. "nérets"
forma["imperf-subj"][8][5] = radical .. "néreu"
forma["imperf-subj"][9][5] = radical .. "nguérets"
forma["imperf-subj"][10][5] = radical .. "nguéreu"
end
forma["imperf-subj"][1][6] = radical .. "sessen"
forma["imperf-subj"][2][6] = radical .. "nessen"
forma["imperf-subj"][3][6] = radical .. "nguessen"
if radical2 then
forma["imperf-subj"][4][6] = radical2 .. "nguessen"
forma["imperf-subj"][5][6] = radical .. "neren"
forma["imperf-subj"][6][6] = radical .. "ngueren"
else
forma["imperf-subj"][4][6] = radical .. "neren"
forma["imperf-subj"][5][6] = radical .. "ngueren"
end
forma.imp = {}
forma.imp[1] = {}
forma.imp[2] = {}
forma.imp[3] = {}
forma.imp[4] = {}
forma.imp[1][2] = forma["pres-ind"][1][3]
forma.imp[1][3] = forma["pres-subj"][1][3]
forma.imp[2][3] = forma["pres-subj"][2][3]
forma.imp[1][4] = forma["pres-subj"][1][4]
forma.imp[2][4] = forma["pres-subj"][2][4]
forma.imp[3][4] = forma["pres-subj"][3][4]
forma.imp[4][4] = forma["pres-subj"][4][4]
forma.imp[1][5] = forma["pres-ind"][1][5]
forma.imp[2][5] = forma["pres-ind"][2][5]
forma.imp[1][6] = forma["pres-subj"][1][6]
forma.imp[2][6] = forma["pres-subj"][2][6]
return forma
end
return p