Module:head/languages/rad

< Module:head‎ | languages
Revision as of 17:53, 22 February 2024 by TheNightAvl (talk | contribs)

Documentation for this module may be created at Module:head/languages/rad/documentation

local data = {}

data["adjective"] = {
	{param = "cmp", label = "comparative"},
	{param = "adv", label = "adverb"},
}

data["adverb"] = {
	{param = "cmp", label = "comparative"},
	{param = "adj", label = "adjective"},
}

data["noun"] = {
	{param = "gen", label = "genitive singular"},
	{param = "dat", label = "dative singular"},
	{param = "acc", label = "accusative singular"},
	{param = "pl", label = "nominative plural"},
	{param = "genpl", label = "short genitive plural"},
	{param = "genpl-l", label = "long genitive plural"},
	{param = "genpl-du", label = "genitive plural"},
	{param = "cpd", label = "compound form", nolink = true},
	{param = "adj", label = "relational adjective"},
}

data["pronoun"] = {
	{param = "gen", label = "genitive singular"},
	{param = "dat", label = "dative singular"},
	{param = "acc", label = "accusative singular"},
	{param = "pl", label = "nominative plural"},
	{param = "genpl", label = "short genitive plural"},
	{param = "genpl-l", label = "long genitive plural"},
	{param = "genpl-du", label = "genitive plural"},
	{param = "poss", label = "possessive"},
}

data["verb"] = {
	{param = "npst-1s", label = "first-person singular non-past"},
	{param = "npst-2s", label = "second-person singular non-past"},
	{param = "npst-3s", label = "third-person singular non-past"},
	{param = "npst-3p", label = "third-person plural non-past"},
	{param = "pst-1s", label = "first-person singular past"},
	{param = "pst-3s", label = "third-person singular past"},
	{param = "pst-3p", label = "third-person plural past"},
	{param = "prespart", label = "present adverbial participle"},
	{param = "pspart", label = "past adverbial participle"},
	{param = "vn", label = "verbal noun"},
}

data["proper noun"] = data["noun"]
data["numeral"] = data["noun"]
data["suffix"] = {}
for i,j in pairs (data["noun"]) do data["suffix"][i] = j end
for i,j in pairs (data["adjective"]) do data["suffix"][i] = j end
for i,j in pairs (data["adverb"]) do data["suffix"][i] = j end
for i,j in pairs (data["verb"]) do data["suffix"][i] = j end

return data