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

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

function p.formes(infinitiu)
	local radical = string.sub(infinitiu, 1, -6) -- at-
	local mono = radical == "t" -- monosíl·lab sense accent
	
	local forma = {}
	
	forma.ger = {}
	forma.ger[1] = {}
	forma.ger[1][1] = radical .. "enent"
	
	forma.part = {}
	forma.part[1] = {}
	forma.part[1]["m-s"] = radical .. (mono and "es" or "è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 .. (mono and "en" or "é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"][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íeu"
	forma["imperf-ind"][1][6] = radical .. "enien"
	
	forma.pass = {}
	forma.pass[1] = {}
	forma.pass[2] = {}
	forma.pass[3] = {}
	forma.pass[4] = {}
	forma.pass[1][1] = radical .. (mono and "es" or "ès")
	forma.pass[2][1] = radical .. "enguí"
	forma.pass[3][1] = radical .. "engué"
	forma.pass[4][1] = radical .. "esí"
	forma.pass[1][2] = radical .. "engueres"
	forma.pass[2][2] = radical .. "eneres"
	forma.pass[1][3] = radical .. (mono and "es" or "ès")
	forma.pass[2][3] = radical .. "engué"
	forma.pass[1][4] = radical .. "enguérem"
	forma.pass[2][4] = radical .. "enérem"
	forma.pass[1][5] = radical .. "enguéreu"
	forma.pass[2][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[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 .. "endreu"
	forma.fut[1][6] = radical .. "endran"
	
	forma.cond = {}
	forma.cond[1] = {}
	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í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"][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 .. "enam"
	forma["pres-subj"][2][4] = radical .. "engam"
	forma["pres-subj"][3][4] = radical .. "enguem"
	forma["pres-subj"][1][5] = radical .. "enats"
	forma["pres-subj"][2][5] = radical .. "enau"
	forma["pres-subj"][3][5] = radical .. "engau"
	forma["pres-subj"][4][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"][1][1] = radical .. "esés"
	forma["imperf-subj"][2][1] = radical .. "enés"
	forma["imperf-subj"][3][1] = radical .. "engués"
	forma["imperf-subj"][1][2] = radical .. "enguesses"
	forma["imperf-subj"][1][3] = radical .. "esés"
	forma["imperf-subj"][2][3] = radical .. "enés"
	forma["imperf-subj"][3][3] = radical .. "engués"
	forma["imperf-subj"][1][4] = radical .. "enguéssem"
	forma["imperf-subj"][1][5] = radical .. "enguésseu"
	forma["imperf-subj"][1][6] = radical .. "esessen"
	forma["imperf-subj"][2][6] = radical .. "enessen"
	forma["imperf-subj"][3][6] = radical .. "enguessen"

	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[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