Module:head/languages/rad

From Laenkea
Jump to navigation Jump to search

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

local data = {}

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

data["noun"] = {
	{param = "gen", label = "genitive singular"},
	{param = "dat", label = "dative singular"},
	{param = "acc", label = "accusative singular"},
	{param = "ins", label = "instrumental 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"},
	{param = "poss", label = "possessive"},
}

data["verb"] = {
	{param = "npst-1s", label = "<abbr title=\"first-person singular\"><small>1SG</small></abbr> non-past"},
	{param = "npst-2s", label = "<abbr title=\"second-person singular\"><small>2SG</small></abbr> non-past"},
	{param = "npst-3s", label = "<abbr title=\"third-person singular\"><small>3SG</small></abbr> non-past"},
	{param = "npst-3p", label = "<abbr title=\"third-person plural\"><small>3PL</small></abbr> non-past"},
	{param = "pst-1s", label = "<abbr title=\"first-person singular\"><small>1SG</small></abbr> past"},
	{param = "pst-3s", label = "<abbr title=\"third-person singular\"><small>3SG</small></abbr> past"},
	{param = "pst-3p", label = "<abbr title=\"third-person plural\"><small>3PL</small></abbr> 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["pronoun"] = data["noun"]
data["adjective"] = data["adform"]
data["adverb"] = data["adform"]
data["suffix"] = {}
for i,j in pairs (data["noun"]) do if j.param ~= "adj" then table.insert(data["suffix"], j) end end
table.insert(data["suffix"], {param = "adj_n", label = "relational adjective"})
for i,j in pairs (data["adform"]) do table.insert(data["suffix"], j) end
for i,j in pairs (data["verb"]) do table.insert(data["suffix"], j) end

return data