Module:Es-conj/data/combined

local data = {}

data["inf"] = {
		["index"] = 1,
		["accented_stem"] = false,
		["stem_cuts"] = {},
		["ending_irregularities"] = {},
		["paradigm_irregularities"] = {},
		["dat"] =    {{"me"}, {"te"},  {"le", "se"},     {"nos"}, {"os"},  {"les", "se"}},
		["acc"] = {{"me"}, {"te"}, {"lo", "la", "se"}, {"nos"}, {"os"}, {"los", "las", "se"}, {"se"}}
}

data["ger"] = {
		["index"] = 2,
		["accented_stem"] = true,
		["stem_cuts"] = {},
		["ending_irregularities"] = {},
		["paradigm_irregularities"] = {},
		["dat"] =    {{"me"}, {"te"}, {"le", "se"},      {"nos"}, {"os"},   {"les", "se"}},
		["acc"] = {{"me"}, {"te"}, {"lo", "la", "se"}, {"nos"}, {"os",}, {"los", "las", "se"}, {"se"}}
}

function venir_imp_i2s(form)
	return mw.ustring.sub(form,1,-2) .. "nos"
end

data["imp_i2s"] = {
		["index"] = 63,
		["accented_stem"] = true,
		["stem_cuts"] = {},
		["ending_irregularities"] = {},
		["paradigm_irregularities"] = {["venir"] = {{"dat", 4, "nos", venir_imp_i2s}, {"acc", 4, "nos", venir_imp_i2s}},
			                           ["-venir"] = {{"dat", 4, "nos", venir_imp_i2s}, {"acc", 4, "nos", venir_imp_i2s}}},
		["dat"] =    {{"me"}, {"te"}, {"le"},       {"nos"}, {}, {"les"}},
		["acc"] = {{"me"}, {"te"}, {"lo", "la"}, {"nos"}, {}, {"los", "las"}}
}

data["imp_f2s"] = {
		["index"] = 65,
		["accented_stem"] = true,
		["stem_cuts"] = {},
		["ending_irregularities"] = {},
		["paradigm_irregularities"] = {},
		["dat"] =    {{"me"}, {}, {"le", "se"},       {"nos"}, {}, {"les"}},
		["acc"] = {{"me"}, {}, {"lo", "la", "se"}, {"nos"}, {}, {"los", "las"}, {"se"}}
}

data["imp_1p"] = {
		["index"] = 66,
		["accented_stem"] = true,
		["stem_cuts"] = {[4] = {1,-2}, [5] = {"os",1,-2}},
		["ending_irregularities"] = {},
		["paradigm_irregularities"] = {},
		["dat"] =    {{}, {"te"}, {"le"},       {"nos"}, {"os"}, {"les"}},
		["acc"] = {{}, {"te"}, {"lo", "la"}, {"nos"}, {"os"}, {"los", "las"}}
}

function ir_imp_i2p_accent(form)
	return mw.ustring.sub(form, 1, -2) .. "í"
end

function ir_im_i2p_idos(form)
	return "idos"
end

data["imp_i2p"] = {
		["index"] = 67,
		["accented_stem"] = false,
		["stem_cuts"] = {[5] = {"os",1,-2}},
		["ending_irregularities"] = {["-ir"] = {{"dat", 5, "os", ir_imp_i2p_accent}, {"acc", 5, "os", ir_imp_i2p_accent}}},
		["paradigm_irregularities"] = {["ir"] = {{"dat", 5, "os", ir_im_i2p_idos}, {"acc", 5, "os", ir_im_i2p_idos}}},
		["dat"] =    {{"me"}, {}, {"le"},       {"nos"}, {"os"}, {"les"}},
		["acc"] = {{"me"}, {}, {"lo", "la"}, {"nos"}, {"os"}, {"los", "las"}, {"os"}}
}

data["imp_f2p"] = {
		["index"] = 68,
		["accented_stem"] = true,
		["stem_cuts"] = {},
		["ending_irregularities"] = {},
		["paradigm_irregularities"] = {},
		["dat"] =    {{"me"}, {}, {"le"},       {"nos"}, {},  {"les", "se"}},
		["acc"] = {{"me"}, {}, {"lo", "la"}, {"nos"}, {}, {"los", "las", "se"}, {"se"}}
}

return data