Module:User:Benwing2/category tree/poscatboiler/data/lang-specific/la

local labels = {}

- --                                                                        -- --                                  VERBS                                  -- --                                                                        -- -

local conjugations = { first = "1", second = "2", third = "3", fourth = "4", }

local function conjtext_conjlink(conjugation) local conjtext = conjugation .. " conjugation" local conjlink = "" .. conjtext .. "" return conjtext, conjlink end

for conjugation, conjnum in pairs(conjugations) do	local conjtext, conjlink = conjtext_conjlink(conjugation) labels[conjtext .. " verbs"] = { description = " verbs of the " .. conjlink .. ".",		parents = { {name = "verbs by inflection type", sort = conjnum}, },		breadcrumb = conjtext } end

labels["verbs by perfect"] = { description = " verbs categorized by the formation of their perfect tense.", parents = {"verbs by derivation type"}, }

-- Add labels for e.g. and -- . local perf_suffixes = { ["-av-"] = { display = "", displaytitle = "", },	["-ev-"] = { display = "", displaytitle = "", },	["-iv-"] = { display = "", displaytitle = "", },	["-i-"] = { display = "", },	["-u-"] = { display = "", },	["-s- or -x-"] = { display = " or ", affix = "affixes", }, } for perftype, obj in pairs(perf_suffixes) do	local link = obj.link or obj.display local displaytitle = obj.displaytitle or obj.display local breadcrumb = obj.display local affix = obj.affix or "affix" labels["verbs with perfect in " .. perftype] = { description = " verbs whose perfect tense was formed using the " .. affix .. " " .. link .. ".",		displaytitle = " verbs with perfect in " .. displaytitle, parents = , breadcrumb = breadcrumb, }	for conjugation, conjnum in pairs(conjugations) do		local conjtext, conjlink = conjtext_conjlink(conjugation) labels[conjtext .. " verbs with perfect in " .. perftype] = { description = " " .. conjlink .. " verbs whose perfect tense was formed using the " .. affix .. " " .. link .. ".",			displaytitle = " " .. conjtext .. " verbs with perfect in " .. displaytitle, parents = { {name = conjtext .. " verbs", sort = "perfect in " .. perftype}, {name = "verbs with perfect in " .. perftype, sort = conjnum}, },			breadcrumb = "perfect in " .. breadcrumb, }	end end

-- Add labels for e.g. and -- . for perfvar, perfvartext in pairs({	irregular = "irregularly",	suffixless = "without a suffix", }) do labels["verbs with " .. perfvar .. " perfect"] = { description = " verbs whose perfect tense was formed " .. perfvartext .. ".",		parents = , breadcrumb = perfvar, }	for conjugation, conjnum in pairs(conjugations) do		local conjtext, conjlink = conjtext_conjlink(conjugation) labels[conjtext .. " verbs with " .. perfvar .. " perfect"] = { description = " " .. conjlink .. " verbs whose perfect tense was formed " .. perfvartext .. ".",			parents = { {name = conjtext .. " verbs", sort = perfvar .. " perfect"}, {name = "verbs with " .. perfvar .. " perfect", sort = conjnum}, },			breadcrumb = perfvar .. " perfect", }	end end

labels["verbs without the conjugation in their headwords"] = { description = " verbs whose headwords are missing the conjugation.", parents = {"entry maintenance"}, hidden = true, }

- --                                                                        -- --                                  NOUNS                                  -- --                                                                        -- -

local genders = { "masculine", "feminine", "neuter", "unknown gender", }

local noun_declensions = { first = "1", second = "2", third = "3", fourth = "4", fifth = "5", }

local function decltext_decllink(declension) local decltext = declension .. " declension" local decllink = "" .. decltext .. "" return decltext, decllink end

for _, pos in ipairs({"nouns", "suffixes"}) do -- Add labels for e.g. and -- .	for decl, declnum in pairs(noun_declensions) do		local decltext, decllink = decltext_decllink(decl) labels[decltext .. " " .. pos] = { description = " " .. pos .. " of the " .. decllink .. ".",			parents = , breadcrumb = decltext, }

for _, gender in ipairs(genders) do labels[gender .. " " .. pos .. " in the " .. decltext] = { description = " " .. gender .. " " .. pos .. " of the " .. decllink .. ".",				parents = { {name = decltext .. " " .. pos, sort = gender}, {name = gender .. " " .. pos, sort = declnum}, },				breadcrumb = gender, }		end end

-- Add labels for e.g. and -- .	for _, nounvar in ipairs({"indeclinable", "irregular"}) do		for _, gender in ipairs(genders) do			local decltext = nounvar local decllink = "" labels[gender .. " " .. decltext .. " " .. pos] = { description = " " .. gender .. " " .. decllink .. " " .. pos .. ".",				parents = { {name = decltext .. " " .. pos, sort = gender}, {name = gender .. " " .. pos, sort = decltext}, },				breadcrumb = gender, }		end end -- Add labels for e.g.. labels["unknown gender " .. pos] = { description = " unknown gender " .. pos .. ".",		parents = { {name = "nouns by gender", sort = "unknown"}, },		breadcrumb = "unknown", }	-- Add labels for e.g.. labels[pos .. " without a genitive singular"] = { description = " " .. pos .. " without a genitive singular.", parents = { {name = "irregular nouns", sort = "without a genitive singular"}, },		breadcrumb = "without a genitive singular", } end

- --                                                                        -- --                                ADJECTIVES                               -- --                                                                        -- -

-- First/second declension adjectival subtypes, e.g. --. local subtypes_12 = { ["nominative masculine singular in -er"] = { display = "nominative masculine singular in ", },	["nominative masculine singular in -ur"] = { display = "nominative masculine singular in ", },	["genitive singular in -īus"] = { display = "genitive singular in ", link = "genitive singular in ", },	["Greek declension"] = { display = "Greek declension", }, }

-- Add labels for e.g. , -- and -- . for _, pos in ipairs({"adjectives", "numerals", "determiners", "participles", "suffixes"}) do	local decltext = "first and second declension" local decllink = "first and second declension" labels[decltext .. " " .. pos] = { description = " " .. pos .. " of the " .. decllink .. ".",		parents = , breadcrumb = decltext, }	for subtype, obj in pairs(subtypes_12) do labels[decltext .. " " .. pos .. " with " .. subtype] = { description = " " .. pos .. " of the " .. decllink .. " with " .. (obj.link or obj.display) .. ".",			displaytitle = " " .. decltext .. " " .. pos .. " with " .. obj.display, parents = , breadcrumb = obj.display, }	end local decltext3, decllink3 = decltext_decllink("third") labels[decltext3 .. " " .. pos] = { description = " " .. pos .. " of the " .. decllink3 .. ".",		parents = , breadcrumb = decltext3, } end

-- Add labels for,. for decl, declnum in pairs({first = "1", second = "2"}) do	local decltext, decllink = decltext_decllink(decl) labels[decltext .. " adjectives"] = { description = " adjectives of the " .. decllink .. " (feminine forms identical to masculine forms).", parents = , breadcrumb = decltext, } end

local decltext2, decllink2 = decltext_decllink("second") labels["second declension adjectives with Greek declension"] = { description = " adjectives of the " .. decllink2 .. " (feminine forms identical to masculine forms), Greek declension.", parents = , breadcrumb = "Greek declension", }

return {LABELS = labels}