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

-- Formes irregulars dels verbs -escriure
local export = {}

function export.make_irregulars(forma)
	local radical = forma.inf:gsub("ure$", "")
	
	forma.ger[1][1] = radical .. "vint"
	
	forma.part[1]["m-s"] = radical .. "t"
	forma.part[1]["f-s"] = radical .. "ta"
	forma.part[1]["m-p"] = radical .. "ts"
	forma.part[1]["f-p"] = radical .. "tes"
	
	forma["pres-ind"][1][4] = radical .. "vim"
	forma["pres-ind"][1][5] = radical .. "viu"
	forma["pres-ind"][2] = nil
	
	forma.pass[2] = {}
	forma.pass[2][1] = radical .. "ví"
	forma.pass[2][2] = radical .. "vires"
	forma.pass[2][3] = radical .. "ví"
	forma.pass[2][4] = radical .. "vírem"
	forma.pass[2][5] = radical .. "víreu"
	forma.pass[2][6] = radical .. "viren"

	forma["imperf-subj"][4] = {}
	forma["imperf-subj"][4][1] = radical .. "vís"
	forma["imperf-subj"][4][2] = radical .. "vissis"
	forma["imperf-subj"][4][3] = radical .. "vís"
	forma["imperf-subj"][4][4] = radical .. "víssim"
	forma["imperf-subj"][4][5] = radical .. "víssiu"
	forma["imperf-subj"][4][6] = radical .. "vissin"

	forma["imp"][1][5] = radical .. "viu"
	forma["imp"][2] = {}
	forma["imp"][2][3] = radical .. "ga"
	forma["imp"][2][6] = radical .. "guen"
	forma["imp"][2]["nota"] = "occ, bal"
	forma["imp"][3] = nil
	
	forma["no-imperf-ind"][1]["nota"] = "alg"
	forma["no-imperf-ind"][2] = nil
	forma["no-imperf-ind"][3] = nil
	
	forma["no-imperf-subj"][1][1] = nil
	forma["no-imperf-subj"][1][2] = radical .. "visses"
	forma["no-imperf-subj"][1][3] = nil
	forma["no-imperf-subj"][1][4] = radical .. "víssem"
	forma["no-imperf-subj"][1][5] = radical .. "vísseu"
	forma["no-imperf-subj"][1][6] = radical .. "vissen"
	forma["no-imperf-subj"][1]["nota"] = nil
	
	forma["no-imperf-subj"][2][1] = radical .. "vira"
	forma["no-imperf-subj"][2][2] = radical .. "vires"
	forma["no-imperf-subj"][2][3] = radical .. "vira"
	forma["no-imperf-subj"][2][4] = radical .. "vírem"
	forma["no-imperf-subj"][2][5] = radical .. "víreu"
	forma["no-imperf-subj"][2][6] = radical .. "viren"
	forma["no-imperf-subj"][2]["nota"] = nil
	
	forma["no-imperf-subj"][3][1] = radical .. "vissi"
	forma["no-imperf-subj"][3][3] = radical .. "vissi"
	forma["no-imperf-subj"][3]["nota"] = "alg"
	
	return forma
end

return export