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

-- Formes irregulars del verb estar
local export = {}

function export.make_irregulars(forma)
	
	forma["pres-ind"] = {}
	forma["pres-ind"][1] = {}
	forma["pres-ind"][1][1] = "estic"
	forma["pres-ind"][1][2] = "estàs"
	forma["pres-ind"][1][3] = "està"
	forma["pres-ind"][1][4] = "estem"
	forma["pres-ind"][1][5] = "esteu"
	forma["pres-ind"][1][6] = "estan"
	
	forma["pres-ind"][2] = {}
	forma["pres-ind"][2][5] = "estau"
	forma["pres-ind"][2]["nota"] = "bal, alg"
	
	forma["pres-ind"][3] = {}
	forma["pres-ind"][3][4] = "estam"
	forma["pres-ind"][3]["nota"] = "bal"
	
	forma["pass"][1][1] = "estiguí"
	forma["pass"][1][2] = "estigueres"
	forma["pass"][1][3] = "estigué"
	forma["pass"][1][4] = "estiguérem"
	forma["pass"][1][5] = "estiguéreu"
	forma["pass"][1][6] = "estigueren"
	
	forma["pres-subj"][1][1] = "estigui"
	forma["pres-subj"][1][2] = "estiguis"
	forma["pres-subj"][1][3] = "estigui"
	forma["pres-subj"][1][4] = "estiguem"
	forma["pres-subj"][1][5] = "estigueu"
	forma["pres-subj"][1][6] = "estiguin"
	
	forma["pres-subj"][2][1] = "estiga"
	forma["pres-subj"][2][2] = "estigues"
	forma["pres-subj"][2][3] = "estiga"
	forma["pres-subj"][2][6] = "estiguen"
	forma["pres-subj"][2]["nota"] = "occ"

	forma["imperf-subj"] = {}
 	forma["imperf-subj"][1] = {}
	forma["imperf-subj"][1][1] = "estigués"
	forma["imperf-subj"][1][2] = "estiguessis"
	forma["imperf-subj"][1][3] = "estigués"
	forma["imperf-subj"][1][4] = "estiguéssim"
	forma["imperf-subj"][1][5] = "estiguéssiu"
	forma["imperf-subj"][1][6] = "estiguessin"
 
	forma["imperf-subj"][2] = {}
	forma["imperf-subj"][2][2] = "estiguesses"
	forma["imperf-subj"][2][4] = "estiguéssem"
	forma["imperf-subj"][2][5] = "estiguésseu"
	forma["imperf-subj"][2][6] = "estiguessen"
 
	forma["imperf-subj"][3] = {}
	forma["imperf-subj"][3][1] = "estiguera"
	forma["imperf-subj"][3][2] = "estigueres"
	forma["imperf-subj"][3][3] = "estiguera"
	forma["imperf-subj"][3][4] = "estiguérem"
	forma["imperf-subj"][3][5] = "estiguéreu"
	forma["imperf-subj"][3][6] = "estigueren"
	forma["imperf-subj"][3]["nota"] = "val"
	
	forma.imp = {}
	forma.imp[1] = {}
	forma.imp[1][2] = "estigues"
	forma.imp[1][3] = "estigui"
	forma.imp[1][4] = "estiguem"
	forma.imp[1][5] = "estigueu"
	forma.imp[1][6] = "estiguin"

	forma.imp[2] = {}
	forma.imp[2][3] = "estiga"
	forma.imp[2][6] = "estiguen"
	forma.imp[2]["nota"] = "occ"
	
	forma.imp[3] = {}
	forma.imp[3][2] = "està"
	forma.imp[3]["nota"] = "mall, alg, val (1)"

	forma.imp[4] = {}
	forma.imp[4][5] = "estau"
	forma.imp[4]["nota"] = "mall, alg"
	
	forma.imp[5] = {}
	forma.imp[5][4] = "estem"
	forma.imp[5][5] = "esteu"
	forma.imp[5]["nota"] = "val (1)"
	
	forma.nota = "Notes: (1) en usos pronominals"

	forma["no-pres-ind"] = {}
	forma["no-pres-ind"][1] = {}
	forma["no-pres-ind"][1][4] = "esteim"
	forma["no-pres-ind"][1][5] = "esteis"
	forma["no-pres-ind"][1]["nota"] = "bal"
	
	forma["no-imperf-ind"][1][5] = nil
	forma["no-imperf-ind"][4] = {}
	forma["no-imperf-ind"][4][1] = "esteia"
	forma["no-imperf-ind"][4][2] = "esteies"
	forma["no-imperf-ind"][4][3] = "esteia"
	forma["no-imperf-ind"][4][4] = "estèiem"
	forma["no-imperf-ind"][4][5] = "estèieu"
	forma["no-imperf-ind"][4][6] = "esteien"
	forma["no-imperf-ind"][4]["nota"] = "bal"
	
	forma["no-pass"] = {}
	forma["no-pass"][1] = {}
	forma["no-pass"][1][2] = "estares"
	forma["no-pass"][1][4] = "estàrem"
	forma["no-pass"][1][5] = "estàreu"
	forma["no-pass"][1][6] = "estaren"
	forma["no-pass"][1]["nota"] = "bal, val"
	
	forma["no-fut"] = {}
	forma["no-fut"][1] = {}
	forma["no-fut"][1][1] = "estiré"
	forma["no-fut"][1][2] = "estiràs"
	forma["no-fut"][1][3] = "estirà"
	forma["no-fut"][1][4] = "estirem"
	forma["no-fut"][1][5] = "estireu"
	forma["no-fut"][1][6] = "estiran"
	forma["no-fut"][1]["nota"] = "bal"
 
	forma["no-fut"][2] = {}
	forma["no-fut"][2][1] = "estigueré"
	forma["no-fut"][2][2] = "estigueràs"
	forma["no-fut"][2][3] = "estiguerà"
	forma["no-fut"][2][4] = "estiguerem"
	forma["no-fut"][2][5] = "estiguereu"
	forma["no-fut"][2][6] = "estigueran"
	forma["no-fut"][2]["nota"] = "alg"

	forma["no-cond"][1][1] = "estiria"
	forma["no-cond"][1][2] = "estiries"
	forma["no-cond"][1][3] = "estiria"
	forma["no-cond"][1][4] = "estiríem"
	forma["no-cond"][1][5] = "estiríeu"
	forma["no-cond"][1][6] = "estirien"
	forma["no-cond"][1]["nota"] = "bal"
 
	forma["no-cond"][2] = {}
	forma["no-cond"][2][1] = "estigueriva"
	forma["no-cond"][2][2] = "estiguerives"
	forma["no-cond"][2][3] = "estigueriva"
	forma["no-cond"][2][4] = "estiguerívem"
	forma["no-cond"][2][5] = "estigueríveu"
	forma["no-cond"][2][6] = "estigueriven"
	forma["no-cond"][2]["nota"] = "alg"
	
	forma["no-pres-subj"][1] = {}
	forma["no-pres-subj"][1][4] = "estem"
	forma["no-pres-subj"][1][5] = "esteu"

	forma["no-pres-subj"][2] = {}
	forma["no-pres-subj"][2][4] = "estegam"
	forma["no-pres-subj"][2][5] = "estegau"
	forma["no-pres-subj"][2]["nota"] = "occ"
	
	forma["no-pres-subj"][3] = {}
	forma["no-pres-subj"][3][4] = "esteguem"
	forma["no-pres-subj"][3][5] = "estegueu"
	forma["no-pres-subj"][3]["nota"] = "bal"
	
	forma["no-imperf-subj"] = {}
	forma["no-imperf-subj"][1] = {}
	forma["no-imperf-subj"][1][1] = "estés"
	forma["no-imperf-subj"][1][2] = "estesses"
	forma["no-imperf-subj"][1][3] = "estés"
	forma["no-imperf-subj"][1][4] = "estéssem"
	forma["no-imperf-subj"][1][5] = "estésseu"
	forma["no-imperf-subj"][1][6] = "estessen"
	forma["no-imperf-subj"][1]["nota"] = "centr, sept, n-occ"
	
	forma["no-imperf-subj"][2] = {}
	forma["no-imperf-subj"][2][2] = "estessis"
	forma["no-imperf-subj"][2][4] = "estéssim"
	forma["no-imperf-subj"][2][5] = "estéssiu"
	forma["no-imperf-subj"][2][6] = "estessin"
	forma["no-imperf-subj"][2]["nota"] = "centr, sept"
	
	forma["no-imperf-subj"][3] = {}
	forma["no-imperf-subj"][3][1] = "estiguessi"
	forma["no-imperf-subj"][3][3] = "estiguessi"
	forma["no-imperf-subj"][3]["nota"] = "sept, alg"

	forma["no-imperf-subj"][4] = {}
	forma["no-imperf-subj"][4][1] = "estiguessa"
	forma["no-imperf-subj"][4][4] = "estiguéssom"
	forma["no-imperf-subj"][4][5] = "estiguessou"
	forma["no-imperf-subj"][4]["nota"] = "n-occ"
	
	forma["no-imperf-subj"][5] = {}
	forma["no-imperf-subj"][5][1] = "estàs"
	forma["no-imperf-subj"][5][2] = "estasses"
	forma["no-imperf-subj"][5][3] = "estàs"
	forma["no-imperf-subj"][5][4] = "estàssem"
	forma["no-imperf-subj"][5][5] = "estàsseu"
	forma["no-imperf-subj"][5][6] = "estassen"
	forma["no-imperf-subj"][5]["nota"] = "bal"
	
	forma["no-imperf-subj"][6] = {}
	forma["no-imperf-subj"][6][2] = "estassis"
	forma["no-imperf-subj"][6][4] = "estàssim"
	forma["no-imperf-subj"][6][5] = "estàssiu"
	forma["no-imperf-subj"][6][6] = "estassin"
	forma["no-imperf-subj"][6]["nota"] = "bal"
	
	forma["no-imperf-subj"][7] = {}
	forma["no-imperf-subj"][7][1] = "estara"
	forma["no-imperf-subj"][7][2] = "estares"
	forma["no-imperf-subj"][7][3] = "estara"
	forma["no-imperf-subj"][7][4] = "estàrem"
	forma["no-imperf-subj"][7][5] = "estàreu"
	forma["no-imperf-subj"][7][6] = "estaren"
	forma["no-imperf-subj"][7]["nota"] = "val"
	
	return forma
end

return export