Module:category tree/poscatboiler/data/lang-specific/pt

local labels = {}

- --                                                                        -- --                                METAPHONY                                -- --                                                                        -- -

for _, pos in ipairs { "adjectives", "nouns", "participles", "suffixes" } do labels[pos .. " with metaphony"] = { description = " " .. pos .. " characterized by metaphony in their plural and feminine inflections; i.e. stressed in the lemma changes to .",		parents = {"verbs by inflection type"}, breadcrumb = "with metaphony", parents = {name = pos .. " by inflection type", sort = "metaphony"}, } end

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

local conjugations = { ["ar"] = " first conjugation verbs, derived from Latin first conjugation (-āre) verbs.", ["er"] = " second conjugation verbs, derived from Latin second conjugation (-ēre) or third conjugation (-ere) verbs.", ["ir"] = " third conjugation verbs, derived from Latin third conjugation (-ere) or fourth conjugation (-īre) verbs.", ["or"] = " verbs ending in or, all of which are derivatives of .", }

labels["verbs by conjugation"] = { description = " verbs categorized by conjugation.", parents = {"verbs by inflection type"}, }

for conj, conjdesc in pairs(conjugations) do labels["verbs ending in -" .. conj] = { description = conjdesc, displaytitle = " verbs ending in ", parents = { {name = "verbs by conjugation", sort = conj}, },		breadcrumb = "", } end

labels["verbs by vowel alternation"] = { description = " verbs categorized by type of vowel alternation.", parents = {"verbs by inflection type"}, }

labels["verbs by consonant alternation"] = { description = " verbs categorized by type of consonant alternation.", parents = {"verbs by inflection type"}, }

-- Add labels for e.g.. local vowel_alternations = { ["i-e alternation in present singular"] = { desc = "with  in the first-person singular present indicative and throughout the present subjunctive, and  " .. "elsewhere when the stem is stressed", displaytitle = " alternation in present singular", },	["e becoming i when stressed"] = { desc = "with  in all forms where the stem is stressed (singular present indicative and imperative, third-person "			.. "plural present indicative and imperative) and throughout the present subjunctive, and  elsewhere", displaytitle = " becoming  when stressed", },	["i becoming í when stressed"] = { desc = "with <í> in all forms where the stem is stressed (singular present indicative, subjunctive and imperative; "			.. "third-person plural present indicative, subjunctive and imperative) and  elsewhere", displaytitle = " becoming <í> when stressed", },	["u-o alternation in present singular"] = { desc = "with in the first-person singular present indicative and throughout the present subjunctive, and  " .. "elsewhere when the stem is stressed", displaytitle = " alternation in present singular", },	["o becoming u when stressed"] = { desc = "with in all forms where the stem is stressed (singular present indicative and imperative, third-person "			.. "plural present indicative and imperative) and throughout the present subjunctive, and  elsewhere", displaytitle = " becoming when stressed", },	["u becoming ú when stressed"] = { desc = "with <ú> in all forms where the stem is stressed (singular present indicative, subjunctive and imperative; "			.. "third-person plural present indicative, subjunctive and imperative) and elsewhere", displaytitle = " becoming <ú> when stressed", },	["e becoming ei when stressed"] = { desc = "with  in all forms where the stem is stressed (singular present indicative, subjunctive and imperative; "			.. "third-person plural present indicative, subjunctive and imperative) and  elsewhere", displaytitle = " becoming <ei> when stressed", },	["i becoming ei when stressed"] = { desc = "with <ei> in all forms where the stem is stressed (singular present indicative, subjunctive and imperative; "			.. "third-person plural present indicative, subjunctive and imperative) and <i> elsewhere", displaytitle = "<i> becoming <ei> when stressed", }, }

for alt, obj in pairs(vowel_alternations) do	local function replace_angle_brackets(spec) local retval = spec:gsub("<(.-)>", "") -- discard second return value return retval end local breadcrumb = replace_angle_brackets(obj.displaytitle) labels["verbs with " .. alt] = { description = " verbs " .. replace_angle_brackets(obj.desc) .. ".",		displaytitle = " verbs with " .. breadcrumb, parents = , breadcrumb = breadcrumb, } end

-- Add labels for e.g.. local consonant_alternations = { ["c-qu"] = {"qu", "c"}, ["c-ç"] = {"c", "ç"}, ["g-gu"] = {"gu", "g"}, ["g-j"] = {"g", "j"}, ["gu-gü"] = {"gü", "gu"}, }

for alt, frontback in pairs(consonant_alternations) do	local desc local front, back = unpack(frontback) desc = " verbs whose final consonant alternates between ''" .. front .. " before front vowels (e, i'') " .. "and ''" .. back .. " before back vowels (a, o, u'')." labels["verbs with " .. alt .. " alternation"] = { description = desc, displaytitle = " verbs with alternation", parents = , breadcrumb = "", } end

labels["third-person-only verbs"] = { description = " verbs with forms that exist only in the third person, and have no imperatives.", parents = , breadcrumb = "third-person-only", }

labels["verbs with irregular short past participle"] = { description = " verbs with an irregular short past participle (typically used with "		.. "and ) that contrasts with a regularly formed \"long\" past participle (typically used with "		.. " and ).", parents = , breadcrumb = "irregular short past participle", }

return {LABELS = labels}