Module:head/languages/lnk-pro: Difference between revisions

From Laenkea
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Manual revert
 
(4 intermediate revisions by the same user not shown)
Line 13: Line 13:
}
}


data["adform"] = {
data["adjective"] = {
{param = "zero", label = "zero grade", nolink = true},
{param = "zero", label = "zero grade", nolink = true},
}
}
Line 22: Line 22:


data["proper noun"] = data["noun"]
data["proper noun"] = data["noun"]
data["pronoun"] = data["noun"]
data["numeral"] = data["noun"]
data["numeral"] = data["noun"]
data["prefix"] = data["affix"]
data["suffix"] = data["affix"]
data["infix"] = data["affix"]
local root_types = {"verbal", "nominal", "adjectival", "numeral", "grammatical"}
for _, root_type in ipairs(root_types) do
data[root_type .. " root"] = data["root"]
end


return data
return data

Latest revision as of 16:49, 29 May 2024

Documentation for this module may be created at Module:head/languages/lnk-pro/documentation

local data = {}

data["noun"] = {
	{param = "zero", label = "zero grade", nolink = true},
}

data["verb"] = {
	{param = "zero", label = "zero grade", nolink = true},
}

data["affix"] = {
	{param = "zero", label = "zero grade", nolink = true},
}

data["adjective"] = {
	{param = "zero", label = "zero grade", nolink = true},
}

data["root"] = {
	{param = "zero", label = "zero grade", nolink = true},
}

data["proper noun"] = data["noun"]
data["pronoun"] = data["noun"]
data["numeral"] = data["noun"]
data["prefix"] = data["affix"]
data["suffix"] = data["affix"]
data["infix"] = data["affix"]

local root_types = {"verbal", "nominal", "adjectival", "numeral", "grammatical"}
for _, root_type in ipairs(root_types) do
	data[root_type .. " root"] = data["root"]
end

return data