Module:head/languages/rad: Difference between revisions

From Laenkea
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
local data = {}
local data = {}


data["adjective"] = {
data["adform"] = {
{param = "cmp", label = "comparative"},
{param = "cmp", label = "comparative"},
{param = "adv", label = "adverb"},
{param = "adv", label = "adverb"},
}
data["adverb"] = {
{param = "cmp", label = "comparative"},
{param = "adj", label = "adjective"},
{param = "adj", label = "adjective"},
}
}
Line 15: Line 11:
{param = "dat", label = "dative singular"},
{param = "dat", label = "dative singular"},
{param = "acc", label = "accusative singular"},
{param = "acc", label = "accusative singular"},
{param = "ins", label = "instrumental singular"},
{param = "pl", label = "nominative plural"},
{param = "pl", label = "nominative plural"},
{param = "genpl", label = "short genitive plural"},
{param = "genpl", label = "constructive genitive plural"},
{param = "genpl-l", label = "long genitive plural"},
{param = "genpl-l", label = "genitive plural proper"},
}
 
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 = "genpl-du", label = "genitive plural"},
{param = "cpd", label = "compound form", nolink = true},
{param = "adj", label = "relational adjective"},
{param = "poss", label = "possessive"},
{param = "poss", label = "possessive"},
{param = "dim", label = "diminutive"},
{param = "aff-dim", label = "endearing diminutive"},
}
}


data["verb"] = {
data["verb"] = {
{param = "npst-1s", label = "non-past 1S"},
{param = "npst-1s", label = "first-person singular non-past"},
{param = "npst-2s", label = "non-past 2S"},
{param = "npst-2s", label = "second-person singular non-past"},
{param = "npst-3s", label = "non-past 3S"},
{param = "npst-3s", label = "third-person singular non-past"},
{param = "npst-3p", label = "non-past 3P"},
{param = "npst-3p", label = "third-person plural non-past"},
{param = "pst-1s", label = "past 1S"},
{param = "pst-1s", label = "first-person singular past"},
{param = "pst-3s", label = "past 3S"},
{param = "pst-3s", label = "third-person singular past"},
{param = "pst-3p", label = "past 3P"},
{param = "pst-3p", label = "third-person plural past"},
{param = "prespart", label = "present adverbial participle"},
{param = "prespart", label = "present adverbial participle"},
{param = "pspart", label = "past adverbial participle"},
{param = "pspart", label = "past adverbial participle"},
Line 46: Line 38:
data["proper noun"] = data["noun"]
data["proper noun"] = data["noun"]
data["numeral"] = 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
return data

Latest revision as of 18:19, 25 August 2024

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 = "constructive genitive plural"},
	{param = "genpl-l", label = "genitive plural proper"},
	{param = "genpl-du", label = "genitive plural"},
	{param = "cpd", label = "compound form", nolink = true},
	{param = "adj", label = "relational adjective"},
	{param = "poss", label = "possessive"},
	{param = "dim", label = "diminutive"},
	{param = "aff-dim", label = "endearing diminutive"},
}

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["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