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
 
(2 intermediate revisions by the same user not shown)
Line 28: Line 28:
data["infix"] = data["affix"]
data["infix"] = data["affix"]


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

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