La documentació d'ús d'aquest mòdul es pot crear a Mòdul:ca-verb/córrer/ús

-- Formes irregulars dels verbs -còrrer
local export = {}

function export.make_irregulars(forma)
	local radical = forma.inf:gsub("órrer$", "")
	
	forma.part[1]["m-s"] = radical .. "orregut"
	forma.part[1]["f-s"] = radical .. "orreguda"
	forma.part[1]["m-p"] = radical .. "orreguts"
	forma.part[1]["f-p"] = radical .. "orregudes"
	
	forma["pres-ind"][1][2] = radical .. "orres"
	forma["pres-ind"][1][3] = radical .. "orre"
	
	forma["pres-ind"][2][1] = radical .. "órrec"
	forma["pres-ind"][2]["nota"] = "val"
	
	forma["pres-ind"][4] = {}
	forma["pres-ind"][4][1] = radical .. "orr"
	forma["pres-ind"][4][2] = radical .. "orrs"
	forma["pres-ind"][4][3] = radical .. "orr"
	forma["pres-ind"][4]["nota"] = "bal"
	
	forma.pass[1][1] = radical .. "orreguí"
	forma.pass[1][2] = radical .. "orregueres"
	forma.pass[1][3] = radical .. "orregué"
	forma.pass[1][4] = radical .. "orreguérem"
	forma.pass[1][5] = radical .. "orregéreu"
	forma.pass[1][6] = radical .. "orregueren"
	
	forma["pres-subj"][2] = {}
	forma["pres-subj"][2][4] = radical .. "orregem"
	forma["pres-subj"][2][5] = radical .. "orregeu"
	
	forma["pres-subj"][3] = {}
	forma["pres-subj"][3][1] = radical .. "órrega"
	forma["pres-subj"][3][2] = radical .. "órregues"
	forma["pres-subj"][3][3] = radical .. "órrega"
	forma["pres-subj"][3][6] = radical .. "órreguen"
	forma["pres-subj"][3]["nota"] = "occ"
	
	forma["imperf-subj"][1][1] = radical .. "orregués"
	forma["imperf-subj"][1][2] = radical .. "orreguessis"
	forma["imperf-subj"][1][3] = radical .. "orregués"
	forma["imperf-subj"][1][4] = radical .. "orreguéssim"
	forma["imperf-subj"][1][5] = radical .. "orreguéssiu"
	forma["imperf-subj"][1][6] = radical .. "orreguessin"
	
	forma["imperf-subj"][2][2] = radical .. "orreguesses"
	forma["imperf-subj"][2][4] = radical .. "orreguéssem"
	forma["imperf-subj"][2][5] = radical .. "orreguésseu"
	forma["imperf-subj"][2][6] = radical .. "orreguessen"
	
	forma["imperf-subj"][3][1] = radical .. "orreguera"
	forma["imperf-subj"][3][2] = radical .. "orregueres"
	forma["imperf-subj"][3][3] = radical .. "orreguera"
	forma["imperf-subj"][3][4] = radical .. "orreguérem"
	forma["imperf-subj"][3][5] = radical .. "orreguéreu"
	forma["imperf-subj"][3][6] = radical .. "orregueren"
	
	forma["imp"][1][2] = radical .. "orre"

	forma["imp"][2] = {}
	forma["imp"][2][4] = radical .. "orreguem"
	forma["imp"][2]["nota"] = nil
	
	forma["imp"][3] = {}
	forma["imp"][3][2] = radical .. "orr"
	forma["imp"][3]["nota"] = "bal"
	
	forma["imp"][4] = {}
	forma["imp"][4][3] = radical .. "órrega"
	forma["imp"][4][6] = radical .. "órregen"
	forma["imp"][4]["nota"] = "occ"
	
	forma["no-pres-ind"] = nil
	
	if forma["no-imperf-subj"] then
		forma["no-imperf-subj"][1][1] = radical .. "orrés"
		forma["no-imperf-subj"][1][2] = radical .. "orresses"
		forma["no-imperf-subj"][1][3] = radical .. "orrés"
		forma["no-imperf-subj"][1][4] = radical .. "orréssem"
		forma["no-imperf-subj"][1][5] = radical .. "orrésseu"
		forma["no-imperf-subj"][1][6] = radical .. "orressen"
		forma["no-imperf-subj"][1]["nota"] = "centr, n-occ, sept"
		
		forma["no-imperf-subj"][2][1] = radical .. "orrera"
		forma["no-imperf-subj"][2][2] = radical .. "orreres"
		forma["no-imperf-subj"][2][3] = radical .. "orrera"
		forma["no-imperf-subj"][2][4] = radical .. "orrérem"
		forma["no-imperf-subj"][2][5] = radical .. "orréreu"
		forma["no-imperf-subj"][2][6] = radical .. "orreren"
		forma["no-imperf-subj"][2]["nota"] = "val"
		
		forma["no-imperf-subj"][3] = {}
	end
	
	return forma
end

return export