Module:head/languages/lnk-pro: Difference between revisions
< Module:head | languages
Jump to navigation
Jump to search
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) No edit summary |
||
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["prefix"] = data["affix"] | ||
data["suffix"] = data["affix"] | data["suffix"] = data["affix"] | ||
data["infix"] = data["affix"] | data["infix"] = data["affix"] | ||
local root_types = {"verbal", "nominal", "adjectival", "numeral"} | |||
data[" | for _, root_type in ipairs(root_types) do | ||
data[root_type .. " root"] = data["root"] | |||
end | |||
return data | return data |
Revision as of 16:43, 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"}
for _, root_type in ipairs(root_types) do
data[root_type .. " root"] = data["root"]
end
return data