Jump to content

Modulus:tabulaFlexuum

E Victionario

Documentation for this module may be created at Modulus:tabulaFlexuum/doc

-- Module:tabulaFlexuum --
-- 2021-04-22 -- V0.1

local p = {}

-- Flexion suffixes of adjective declension.

local t =
	{ --------[1]-------[2]-------
	nomsgm = {'us',		'is'	},
	gensgm = {'i',		'is'	},
	datsgm = {'o',		'i'		},
	accsgm = {'um',		'em'	},
	ablsgm = {'o',		'i'		},
	nomplm = {'i',		'es'	},
	genplm = {'orum',	'ium'	},
	datplm = {'is',		'ibus'	},
	accplm = {'os',		'es'	},
	ablplm = {'is',		'ibus'	},
	nomsgf = {'a',		'is'	},
	gensgf = {'ae',		'is'	},
	datsgf = {'ae',		'i'		},
	accsgf = {'am',		'em'	},
	ablsgf = {'a',		'i'		},
	nomplf = {'ae',		'es'	},
	genplf = {'arum',	'ium'	},
	datplf = {'is',		'ibus'	},
	accplf = {'as',		'es'	},
	ablplf = {'is',		'ibus'	},
	nomsgn = {'um',		'e'		},
	gensgn = {'i',		'is'	},
	datsgn = {'o',		'i'		},
	accsgn = {'um',		'e'		},
	ablsgn = {'o',		'i'		},
	nompln = {'a',		'ia'	},
	genpln = {'orum',	'ium'	},
	datpln = {'is',		'ibus'	},
	accpln = {'a',		'ia'	},
	ablpln = {'is',		'ibus'	}
	}

function p.laFlexus(frame)
    local c = frame.args[1]
    local d = frame.args[2]
	return c, d, t[c][1], t[c][2]
end

return p