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

-- Formes col·loquials dels verbs riure i somriure
local p = {}

function p.make_irregulars(forma, zona)
	local radical = forma.inf:gsub("ure$", "")
	
	if zona.alt then
		forma["no-pres-ind"] = {}
		forma["no-pres-ind"][1] = {}
		forma["no-pres-ind"][1][4] = radical .. "vem"
		forma["no-pres-ind"][1][5] = radical .. "veu"
		forma["no-pres-ind"][1]["nota"] = "centr, n-occ, sept"
		
		forma["no-imperf-ind"][4] = {}
		forma["no-imperf-ind"][4][1] = radical .. "via"
		forma["no-imperf-ind"][4][2] = radical .. "vies"
		forma["no-imperf-ind"][4][3] = radical .. "via"
		forma["no-imperf-ind"][4][4] = radical .. "víem"
		forma["no-imperf-ind"][4][5] = radical .. "viü"
		forma["no-imperf-ind"][4][6] = radical .. "vien"
		forma["no-imperf-ind"][4]["nota"] = "centr, sept"
		
		forma["no-pres-subj"][3] = {}
		forma["no-pres-subj"][3][4] = radical .. "vem"
		forma["no-pres-subj"][3][5] = radical .. "veu"
		forma["no-pres-subj"][3]["nota"] = "centr, n-occ"
		
		forma["no-imperf-subj"][4] = {}
		forma["no-imperf-subj"][4][1] = radical .. "vés"
		forma["no-imperf-subj"][4][2] = radical .. "vessis"
		forma["no-imperf-subj"][4][3] = radical .. "vés"
		forma["no-imperf-subj"][4][4] = radical .. "véssim"
		forma["no-imperf-subj"][4][5] = radical .. "véssiu"
		forma["no-imperf-subj"][4][6] = radical .. "vessin"
		forma["no-imperf-subj"][4]["nota"] = "centr"
	end
	
	return forma
end

return p