La documentació d'ús d'aquest mòdul es pot crear a Mòdul:roa-oca-verb/entendre/ús

-- Model de conjugació antiga entendre
local p = {}

function p.formes(infinitiu)
	local radical = string.sub(infinitiu, 1, -6) -- ent-
	
	local forma = {}
	
	forma.ger = {}
	forma.ger[1] = {}
	forma.ger[1][1] = radical .. "enent"
	
	forma.part = {}
	forma.part[1] = {}
	forma.part[1]["m-s"] = radical .. "ès"
	
	forma["pres-ind"] = {}
	forma["pres-ind"][1] = {}
	forma["pres-ind"][2] = {}
	forma["pres-ind"][1][1] = radical .. 'enc'
	forma["pres-ind"][1][2] = radical .. "ens"
	forma["pres-ind"][1][3] = radical .. "én"
	forma["pres-ind"][2][3] = radical .. "in"
	forma["pres-ind"][1][4] = radical .. "enem"
	forma["pres-ind"][1][5] = radical .. "enets"
	forma["pres-ind"][2][5] = radical .. "eneu"
	forma["pres-ind"][1][6] = radical .. "enen"
	
	forma["imperf-ind"] = {}
	forma["imperf-ind"][1] = {}
	forma["imperf-ind"][2] = {}
	forma["imperf-ind"][1][1] = radical .. "enia"
	forma["imperf-ind"][1][2] = radical .. "enies"
	forma["imperf-ind"][1][3] = radical .. "enia"
	forma["imperf-ind"][1][4] = radical .. "eníem"
	forma["imperf-ind"][1][5] = radical .. "eníets"
	forma["imperf-ind"][2][5] = radical .. "eníeu"
	forma["imperf-ind"][1][6] = radical .. "enien"
	
	forma.pass = {}
	forma.pass[1] = {}
	forma.pass[2] = {}
	forma.pass[3] = {}
	forma.pass[4] = {}
	forma.pass[5] = {}
	forma.pass[6] = {}
	forma.pass[7] = {}
	forma.pass[1][1] = radical .. "ès"
	forma.pass[2][1] = radical .. "enguí"
	forma.pass[3][1] = radical .. "engué"
	forma.pass[4][1] = radical .. "ení"
	forma.pass[1][2] = radical .. "eseres"
	forma.pass[2][2] = radical .. "enguist"
	forma.pass[3][2] = radical .. "enguest"
	forma.pass[4][2] = radical .. "engueres"
	forma.pass[5][2] = radical .. "enist"
	forma.pass[6][2] = radical .. "enest"
	forma.pass[7][2] = radical .. "eneres"
	forma.pass[1][3] = radical .. "ès"
	forma.pass[2][3] = radical .. "enc"
	forma.pass[3][3] = radical .. "engué"
	forma.pass[4][3] = radical .. "ené"
	forma.pass[1][4] = radical .. "esérem"
	forma.pass[2][4] = radical .. "enguérem"
	forma.pass[3][4] = radical .. "enérem"
	forma.pass[1][5] = radical .. "esérets"
	forma.pass[2][5] = radical .. "eséreu"
	forma.pass[3][5] = radical .. "enguérets"
	forma.pass[4][5] = radical .. "enguéreu"
	forma.pass[5][5] = radical .. "enérets"
	forma.pass[6][5] = radical .. "enéreu"
	forma.pass[1][6] = radical .. "eseren"
	forma.pass[2][6] = radical .. "engueren"
	forma.pass[3][6] = radical .. "eneren"
	
	forma.fut = {}
	forma.fut[1] = {}
	forma.fut[2] = {}
	forma.fut[1][1] = radical .. "endré"
	forma.fut[1][2] = radical .. "endràs"
	forma.fut[1][3] = radical .. "endrà"
	forma.fut[1][4] = radical .. "endrem"
	forma.fut[1][5] = radical .. "endrets"
	forma.fut[2][5] = radical .. "endreu"
	forma.fut[1][6] = radical .. "endran"
	
	forma.cond = {}
	forma.cond[1] = {}
	forma.cond[2] = {}
	forma.cond[1][1] = radical .. "endria"
	forma.cond[1][2] = radical .. "endries"
	forma.cond[1][3] = radical .. "endria"
	forma.cond[1][4] = radical .. "endríem"
	forma.cond[1][5] = radical .. "endríets"
	forma.cond[2][5] = radical .. "endríeu"
	forma.cond[1][6] = radical .. "endrien"
	
	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 .. "ena"
	forma["pres-subj"][2][1] = radical .. "enga"
	forma["pres-subj"][1][2] = radical .. "enes"
	forma["pres-subj"][2][2] = radical .. "engues"
	forma["pres-subj"][1][3] = radical .. "ena"
	forma["pres-subj"][2][3] = radical .. "enga"
	forma["pres-subj"][1][4] = radical .. "endam"
	forma["pres-subj"][2][4] = radical .. "enam"
	forma["pres-subj"][3][4] = radical .. "engam"
	forma["pres-subj"][4][4] = radical .. "enguem"
	forma["pres-subj"][1][5] = radical .. "endats"
	forma["pres-subj"][2][5] = radical .. "endau"
	forma["pres-subj"][3][5] = radical .. "enats"
	forma["pres-subj"][4][5] = radical .. "enau"
	forma["pres-subj"][5][5] = radical .. "engats"
	forma["pres-subj"][6][5] = radical .. "engau"
	forma["pres-subj"][7][5] = radical .. "enguets"
	forma["pres-subj"][8][5] = radical .. "engueu"
	forma["pres-subj"][1][6] = radical .. "enen"
	forma["pres-subj"][2][6] = radical .. "enguen"
	
	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"][1][1] = radical .. "esés"
	forma["imperf-subj"][2][1] = radical .. "esera"
	forma["imperf-subj"][3][1] = radical .. "engués"
	forma["imperf-subj"][4][1] = radical .. "enguera"
	forma["imperf-subj"][1][2] = radical .. "esses"
	forma["imperf-subj"][2][2] = radical .. "eseres"
	forma["imperf-subj"][3][2] = radical .. "enguesses"
	forma["imperf-subj"][4][2] = radical .. "engueres"
	forma["imperf-subj"][1][3] = radical .. "esès"
	forma["imperf-subj"][2][3] = radical .. "esera"
	forma["imperf-subj"][3][3] = radical .. "engués"
	forma["imperf-subj"][4][3] = radical .. "enguera"
	forma["imperf-subj"][1][4] = radical .. "eséssem"
	forma["imperf-subj"][2][4] = radical .. "esérem"
	forma["imperf-subj"][3][4] = radical .. "enguéssem"
	forma["imperf-subj"][4][4] = radical .. "enguérem"
	forma["imperf-subj"][1][5] = radical .. "eséssets"
	forma["imperf-subj"][2][5] = radical .. "esésseu"
	forma["imperf-subj"][3][5] = radical .. "esérets"
	forma["imperf-subj"][4][5] = radical .. "eséreu"
	forma["imperf-subj"][5][5] = radical .. "enguéssets"
	forma["imperf-subj"][6][5] = radical .. "enguésseu"
	forma["imperf-subj"][7][5] = radical .. "enguérets"
	forma["imperf-subj"][8][5] = radical .. "enguéreu"
	forma["imperf-subj"][1][6] = radical .. "esessen"
	forma["imperf-subj"][2][6] = radical .. "eseren"
	forma["imperf-subj"][3][6] = radical .. "enguessen"
	forma["imperf-subj"][4][6] = radical .. "engueren"
	
	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[2][2] = forma["pres-ind"][2][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