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

-- Model de conjugació antiga riure i somriure
local p = {}

function p.formes(infinitiu)
	local radical = string.sub(infinitiu, 1, -5) -- -iure
	local monosil = infinitiu == "riure"
	
	local forma = {}
	
	forma.ger = {}
	forma.ger[1] = {}
	forma.ger[1][1] = radical .. "ient"
	
	forma.part = {}
	forma.part[1] = {}
	forma.part[2] = {}
	forma.part[1]["m-s"] = radical .. (monosil and "is" or "ís")
	forma.part[2]["m-s"] = radical .. "igut"
	
	forma["pres-ind"] = {}
	forma["pres-ind"][1] = {}
	forma["pres-ind"][2] = {}
	forma["pres-ind"][3] = {}
	forma["pres-ind"][4] = {}
	forma["pres-ind"][1][1] = radical .. 'ic'
	forma["pres-ind"][1][2] = radical .. "ius"
	forma["pres-ind"][1][3] = radical .. "iu"
	forma["pres-ind"][1][4] = radical .. "iem"
	forma["pres-ind"][2][4] = radical .. "eym"
	forma["pres-ind"][1][5] = radical .. "iets"
	forma["pres-ind"][2][5] = radical .. "ieu"
	forma["pres-ind"][3][5] = radical .. "eits"
	forma["pres-ind"][4][5] = radical .. "eys"
	forma["pres-ind"][1][6] = radical .. "ien"
	forma["pres-ind"][2][6] = radical .. "iuen"
	
	forma["imperf-ind"] = {}
	forma["imperf-ind"][1] = {}
	forma["imperf-ind"][2] = {}
	forma["imperf-ind"][3] = {}
	forma["imperf-ind"][4] = {}
	forma["imperf-ind"][1][1] = radical .. "ehia"
	forma["imperf-ind"][2][1] = radical .. "eya"
	forma["imperf-ind"][1][2] = radical .. "ehies"
	forma["imperf-ind"][2][2] = radical .. "eyes"
	forma["imperf-ind"][1][3] = radical .. "ehia"
	forma["imperf-ind"][2][3] = radical .. "eya"
	forma["imperf-ind"][1][4] = radical .. "ehíem"
	forma["imperf-ind"][2][4] = radical .. "èyem"
	forma["imperf-ind"][1][5] = radical .. "ehíets"
	forma["imperf-ind"][2][5] = radical .. "ehíeu"
	forma["imperf-ind"][3][5] = radical .. "èyets"
	forma["imperf-ind"][4][5] = radical .. "èyeu"
	forma["imperf-ind"][1][6] = radical .. "ehien"
	forma["imperf-ind"][2][6] = radical .. "eyen"
	
	forma.pass = {}
	forma.pass[1] = {}
	forma.pass[2] = {}
	forma.pass[3] = {}
	forma.pass[4] = {}
	forma.pass[1][1] = radical .. (monosil and "is" or "ís")
	forma.pass[2][1] = radical .. "iguí"
	forma.pass[1][2] = radical .. "ieres"
	forma.pass[2][2] = radical .. "igueres"
	forma.pass[1][3] = radical .. (monosil and "is" or "ís")
	forma.pass[2][3] = radical .. "ié"
	forma.pass[3][3] = radical .. "igué"
	forma.pass[1][4] = radical .. "iérem"
	forma.pass[2][4] = radical .. "iguérem"
	forma.pass[1][5] = radical .. "iérets"
	forma.pass[2][5] = radical .. "iéreu"
	forma.pass[3][5] = radical .. "iguérets"
	forma.pass[4][5] = radical .. "iguéreu"
	forma.pass[1][6] = radical .. "ieren"
	forma.pass[2][6] = radical .. "igueren"
	
	forma.fut = {}
	forma.fut[1] = {}
	forma.fut[2] = {}
	forma.fut[1][1] = radical .. "iuré"
	forma.fut[1][2] = radical .. "iuràs"
	forma.fut[1][3] = radical .. "iurà"
	forma.fut[1][4] = radical .. "iurem"
	forma.fut[1][5] = radical .. "iurets"
	forma.fut[2][5] = radical .. "iureu"
	forma.fut[1][6] = radical .. "iuran"
	
	forma.cond = {}
	forma.cond[1] = {}
	forma.cond[2] = {}
	forma.cond[1][1] = radical .. "iuria"
	forma.cond[1][2] = radical .. "iuries"
	forma.cond[1][3] = radical .. "iuria"
	forma.cond[1][4] = radical .. "iuríem"
	forma.cond[1][5] = radical .. "iuríets"
	forma.cond[2][5] = radical .. "iuríeu"
	forma.cond[1][6] = radical .. "iurien"
	
	forma["pres-subj"] = {}
	forma["pres-subj"][1] = {}
	forma["pres-subj"][2] = {}
	forma["pres-subj"][3] = {}
	forma["pres-subj"][4] = {}
	forma["pres-subj"][1][1] = radical .. "iga"
	forma["pres-subj"][1][2] = radical .. "igues"
	forma["pres-subj"][1][3] = radical .. "iga"
	forma["pres-subj"][1][4] = radical .. "igam"
	forma["pres-subj"][2][4] = radical .. "iguem"
	forma["pres-subj"][1][5] = radical .. "igats"
	forma["pres-subj"][2][5] = radical .. "igau"
	forma["pres-subj"][3][5] = radical .. "iguets"
	forma["pres-subj"][4][5] = radical .. "igueu"
	forma["pres-subj"][1][6] = radical .. "iguen"
	
	forma["imperf-subj"] = {}
	forma["imperf-subj"][1] = {}
	forma["imperf-subj"][2] = {}
	forma["imperf-subj"][3] = {}
	forma["imperf-subj"][4] = {}
	forma["imperf-subj"][5] = {}
	forma["imperf-subj"][6] = {}
	forma["imperf-subj"][7] = {}
	forma["imperf-subj"][8] = {}
	forma["imperf-subj"][1][1] = radical .. "iés"
	forma["imperf-subj"][2][1] = radical .. "iera"
	forma["imperf-subj"][3][1] = radical .. "igués"
	forma["imperf-subj"][4][1] = radical .. "iguera"
	forma["imperf-subj"][1][2] = radical .. "iesses"
	forma["imperf-subj"][2][2] = radical .. "ieres"
	forma["imperf-subj"][3][2] = radical .. "iguesses"
	forma["imperf-subj"][4][2] = radical .. "igueres"
	forma["imperf-subj"][1][3] = radical .. "iés"
	forma["imperf-subj"][2][3] = radical .. "iera"
	forma["imperf-subj"][3][3] = radical .. "igués"
	forma["imperf-subj"][4][3] = radical .. "iguera"
	forma["imperf-subj"][1][4] = radical .. "iéssem"
	forma["imperf-subj"][2][4] = radical .. "iérem"
	forma["imperf-subj"][3][4] = radical .. "iguéssem"
	forma["imperf-subj"][4][4] = radical .. "iguérem"
	forma["imperf-subj"][1][5] = radical .. "iéssets"
	forma["imperf-subj"][2][5] = radical .. "iésseu"
	forma["imperf-subj"][3][5] = radical .. "iérets"
	forma["imperf-subj"][4][5] = radical .. "iéreu"
	forma["imperf-subj"][5][5] = radical .. "iguéssets"
	forma["imperf-subj"][6][5] = radical .. "iguésseu"
	forma["imperf-subj"][7][5] = radical .. "iguérets"
	forma["imperf-subj"][8][5] = radical .. "iguéreu"
	forma["imperf-subj"][1][6] = radical .. "iessen"
	forma["imperf-subj"][2][6] = radical .. "ieren"
	forma["imperf-subj"][3][6] = radical .. "iguessen"
	forma["imperf-subj"][5][6] = radical .. "igueren"
	
	forma.imp = {}
	forma.imp[1] = {}
	forma.imp[2] = {}
	forma.imp[1][2] = forma["pres-ind"][1][3]
	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[2][5] = forma["pres-ind"][2][5]
	forma.imp[1][6] = forma["pres-subj"][1][6]
	
	return forma
end

return p