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

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

function export.make_irregulars(forma)
	
	forma["pres-ind"] = {}
	forma["pres-ind"][1] = {}
	forma["pres-ind"][1][1] = "vaig"
	forma["pres-ind"][1][2] = "vas"
	forma["pres-ind"][1][3] = "va"
	forma["pres-ind"][1][4] = "anem"
	forma["pres-ind"][1][5] = "aneu"
	forma["pres-ind"][1][6] = "van"
	
	forma["pres-ind"][2] = {}
	forma["pres-ind"][2][5] = "anau"
	forma["pres-ind"][2]["nota"] = "bal, alg"
	
	forma["pres-ind"][3] = {}
	forma["pres-ind"][3][4] = "anam"
	forma["pres-ind"][3]["nota"] = "bal"
	
	forma.fut[1][1] = "aniré"
	forma.fut[1][2] = "aniràs"
	forma.fut[1][3] = "anirà"
	forma.fut[1][4] = "anirem"
	forma.fut[1][5] = "anireu"
	forma.fut[1][6] = "aniran"
	
	forma.fut[2] = {}
	forma.fut[2][1] = "iré"
	forma.fut[2][2] = "iràs"
	forma.fut[2][3] = "irà"
	forma.fut[2][4] = "irem"
	forma.fut[2][5] = "ireu"
	forma.fut[2][6] = "iran"
	forma.fut[2]["nota"] = "sept"
	
	forma.cond[1][1] = "aniria"
	forma.cond[1][2] = "aniries"
	forma.cond[1][3] = "aniria"
	forma.cond[1][4] = "aniríem"
	forma.cond[1][5] = "aniríeu"
	forma.cond[1][6] = "anirien"
	
	forma.cond[2] = {}
	forma.cond[2][1] = "iria"
	forma.cond[2][2] = "iries"
	forma.cond[2][3] = "iria"
	forma.cond[2][4] = "iríem"
	forma.cond[2][5] = "iríeu"
	forma.cond[2][6] = "irien"
	forma.cond[2]["nota"] = "sept"
	
	forma["pres-subj"][1][1] = "vagi"
	forma["pres-subj"][1][2] = "vagis"
	forma["pres-subj"][1][3] = "vagi"
	forma["pres-subj"][1][4] = "anem"
	forma["pres-subj"][1][5] = "aneu"
	forma["pres-subj"][1][6] = "vagin"
	
	forma["pres-subj"][2][1] = "vaja"
	forma["pres-subj"][2][2] = "vages"
	forma["pres-subj"][2][3] = "vaja"
	forma["pres-subj"][2][6] = "vagen"
	forma["pres-subj"][2]["nota"] = "occ"

	forma.imp[1][2] = "vés"
	forma.imp[1][3] = forma["pres-subj"][1][3]
	forma.imp[1][4] = forma["pres-subj"][1][4]
	forma.imp[1][5] = forma["pres-ind"][1][5]
	forma.imp[1][6] = forma["pres-subj"][1][6]
 
	forma.imp[2][5] = forma["pres-ind"][2][5]
	forma.imp[2]["nota"] = "bal, alg"
 
	forma.imp[3][3] = forma["pres-subj"][2][3]
	forma.imp[3][6] = forma["pres-subj"][2][6]
	forma.imp[3]["nota"] = "occ"

	forma["no-pres-ind"] = {}
	forma["no-pres-ind"][1] = {}
	forma["no-pres-ind"][1][1] = "vai"
	forma["no-pres-ind"][2] = {}
	forma["no-pres-ind"][2][1] = "vaic"

	forma["no-fut"] = {}
	forma["no-fut"][1] = {}
	forma["no-fut"][1][1] = "anaré"
	forma["no-fut"][1][2] = "anaràs"
	forma["no-fut"][1][3] = "anarà"
	forma["no-fut"][1][4] = "anarem"
	forma["no-fut"][1][5] = "anareu"
	forma["no-fut"][1][6] = "anaran"
	forma["no-fut"][1]["nota"] = "bal, val"
 
	forma["no-fut"][2] = {}
	forma["no-fut"][2][1] = "anigueré"
	forma["no-fut"][2][2] = "anigueràs"
	forma["no-fut"][2][3] = "aniguerà"
	forma["no-fut"][2][4] = "aniguerem"
	forma["no-fut"][2][5] = "aniguereu"
	forma["no-fut"][2][6] = "anigueran"
	forma["no-fut"][2]["nota"] = "alg"

	forma["no-cond"] = {}
	forma["no-cond"][1] = {}
	forma["no-cond"][1][1] = "anaria"
	forma["no-cond"][1][2] = "anaries"
	forma["no-cond"][1][3] = "anaria"
	forma["no-cond"][1][4] = "anaríem"
	forma["no-cond"][1][5] = "anaríeu"
	forma["no-cond"][1][6] = "anarien"
	forma["no-cond"][1]["nota"] = "bal, val"
 
	forma["no-cond"][2] = {}
	forma["no-cond"][2][1] = "anigueriva"
	forma["no-cond"][2][2] = "aniguerives"
	forma["no-cond"][2][3] = "anigueriva"
	forma["no-cond"][2][4] = "aniguerívem"
	forma["no-cond"][2][5] = "anigueríveu"
	forma["no-cond"][2][6] = "anigueriven"
	forma["no-cond"][2]["nota"] = "alg"
	
	forma["no-pres-subj"][1] = {}
	forma["no-pres-subj"][1][1] = "vaiga"
	forma["no-pres-subj"][1][2] = "vaigues"
	forma["no-pres-subj"][1][3] = "vaiga"
	forma["no-pres-subj"][1][6] = "vaiguen"

	forma["no-pres-subj"][2] = {}
	forma["no-pres-subj"][2][1] = "vaigui"
	forma["no-pres-subj"][2][2] = "vaiguis"
	forma["no-pres-subj"][2][3] = "vaigui"
	forma["no-pres-subj"][2][6] = "vaiguin"
	
	forma["no-pres-subj"][3] = {}
	forma["no-pres-subj"][3][1] = "vaigue"
	forma["no-pres-subj"][3][3] = "vaigue"
	forma["no-pres-subj"][3]["nota"] = "occ"
	
	forma["no-pres-subj"][4] = {}
	forma["no-pres-subj"][4][1] = "vage"
	forma["no-pres-subj"][4][3] = "vage"
	forma["no-pres-subj"][4]["nota"] = "occ"

	forma["no-pres-subj"][5] = {}
	forma["no-pres-subj"][5][4] = "aniguem"
	forma["no-pres-subj"][5][5] = "anigueu"
	forma["no-pres-subj"][5]["nota"] = "alg"
	
	forma["no-imperf-subj"][3][1] = "aniguessa"
	forma["no-imperf-subj"][3][2] = "aniguesses"
	forma["no-imperf-subj"][3][3] = "anigués"
	forma["no-imperf-subj"][3][4] = "aniguéssom"
	forma["no-imperf-subj"][3][5] = "aniguéssou"
	forma["no-imperf-subj"][3][6] = "aniguessen"
	
	forma["no-imperf-subj"][4] = {}
	forma["no-imperf-subj"][4][1] = "aniguessi"
	forma["no-imperf-subj"][4][2] = "aniguessis"
	forma["no-imperf-subj"][4][3] = "aniguessi"
	forma["no-imperf-subj"][4][4] = "aniguéssim"
	forma["no-imperf-subj"][4][5] = "aniguéssiu"
	forma["no-imperf-subj"][4][6] = "aniguessin"
	forma["no-imperf-subj"][4]["nota"] = "alg"
	
	return forma
end

return export