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

local labels = {}

- Nouns/Pronouns/Numerals

labels["consonant-stem nouns"] = { description = " consonant-stem nouns, deriving from Proto-Indo-European consonant-stem nouns.", additional = "This is not a single class in Old Irish, but several related classes, differentiated by the final stem consonant.", breadcrumb = "consonant-stem", parents = {"nouns by inflection type"}, }

--[=[ Noun declension specifications. The top-level key is the stem class, and the value is an object containing properties of the stem class. If the stem class contains the word 'GENDER' in it, it expands into labels both for a parent category that subsumes several genders (obtained by removing the word 'GENDER' and following whitespace) as well as gender-specific children categories (obtained by replacing the word 'GENDER' with the genders specified in the `possible_genders` field). The stem class can contain literal Latin-script text (e.g. suffixes), which will be italicized in breadcrumbs and titles. The fields of the property object for a given stem class are as follows: "most commonly". This appears in the `additional` field of the label properties. It is not used in gender-specific children categories; instead the gender of that category is used. the stem class, and gender-specific variants of the stem class (with GENDER replaced by the possible genders) are handled along with a parent category subsuming all genders. be italicized. Certian all-caps terms such as ASPIRATION and UNPALATALIZED will be linked to the appropriate section of the Wikipedia entry on Old Irish grammar; see below. value of `nom_sg` is used. of `gen_sg` is used. of `nom_pl` is used. stem has gender-specific variants, the breadcrumb specified here is used only for the parent category, while the gender-specific child categories use the gender as the breadcrumb. If not specified, it defaults to `sortkey`. If that is also not specified, or if the breadcrumb has the value "+", the stem class (without the word 'GENDER') is used. (Use "+" when a sortkey is specified but the stem class should be used as the breadcrumb.) of speech (e.g. "nouns"). Defaults to "POS by inflection type" where POS is the part of speech. Note that gender-specific child categories do not use this, but always have the gender-subsuming parent stem class category as their parent. (without the word 'GENDER'). Note that gender-specific child categories do not use this, but always use the gender as the sort key. ]=] local noun_decls = { ["GENDER -stem"] = { gender = "masculine or neuter", possible_genders = {"masculine", "neuter"}, nom_sg = "the bare stem; when neuter, additionally with NASALIZATION of the following word", masculine_nom_sg = "the bare stem", neuter_nom_sg = "the bare stem with NASALIZATION of the following word", gen_sg = "the bare stem with RAISING of the stem vowel where possible, PALATALIZATION of the last stem consonant and LENITION of the following word", nom_pl = "when masculine, same as the genitive singular; when neuter, the bare stem with LENITION of the following word and optionally an <-a> ending (used especially with an indefinite meaning)", masculine_nom_pl = "same as the genitive singular", neuter_nom_pl = "the bare stem with LENITION of the following word and optionally an <-a> ending (used especially with an indefinite meaning)", addl = "These nouns derive from Proto-Celtic masculine (masculine) and  " .. "(neuter) endings.", },	["GENDER -stem"] = { gender = "masculine or neuter", possible_genders = {"masculine", "neuter"}, nom_sg = "<-e>, or <-ae> after an UNPALATALIZED stem; when masculine, with ASPIRATION of the following word; when neuter, with NASALIZATION of the following word", masculine_nom_sg = "<-e> (<-ae> after an UNPALATALIZED stem), with ASPIRATION of the following word", neuter_nom_sg = "<-e> (<-ae> after an UNPALATALIZED stem), with NASALIZATION of the following word", gen_sg = "<-i> (<-ai> after an UNPALATALIZED stem), with LENITION of the following word", nom_pl = "when masculine, same as the genitive singular; when neuter, <-e> (<-ae> after an UNPALATALIZED stem), with LENITION of the following word", masculine_nom_pl = "same as the genitive singular", neuter_nom_pl = "<-e> (<-ae> after an UNPALATALIZED stem), with LENITION of the following word", addl = "These nouns derive from Proto-Celtic masculine (masculine) and " .. " (neuter) endings. Originally the endings were the same as that of the -stems, but " .. "later sound changes caused the two classes to diverge significantly.", },	["<ā>-stem"] = { gender = "feminine", nom_sg = "the bare stem with LENITION of the following word", gen_sg = "<-e> with PALATALIZATION of the last stem consonant and ASPIRATION of the following word", nom_pl = "<-a> with ASPIRATION of the following word", addl = "Sometimes the nominative singular ended in a PALATALIZED consonant by analogy with the dative singular.", },	["-stem"] = { gender = "feminine", nom_sg = "<-e> (<-ae> after an UNPALATALIZED stem), with LENITION of the following word", gen_sg = "<-e> (<-ae> after an UNPALATALIZED stem), with ASPIRATION of the following word", nom_pl = "<-i> (<-ai> after an UNPALATALIZED stem), with ASPIRATION of the following word", addl = "These nouns derive from endings. Originally the endings were the same as that of " .. "the <ā>-stems, but later sound changes caused the two classes to diverge significantly.", },	["<ī>-stem"] = { gender = "feminine", nom_sg = "the bare stem (always ending in a PALATALIZED consonant), with LENITION of the following word", gen_sg = "<-e> (or often <-ae>, with DEPALATALIZATION of the final stem consonant), with ASPIRATION of the following word", nom_pl = "<-i> (or often <-ai>, with DEPALATALIZATION of the final stem consonant), with ASPIRATION of the following word", addl = "These nouns derive from the Proto-Indo-European so-called devī or ī/yā inflection (see " ..		"Reconstruction:Proto-Indo-European/déywih₂). Forms with overt endings often delete the final vowel of " .. "the stem, e.g. becomes genitive singular . There were two subvariants, an " .. "older \"long\" one with overt endings in the accusative and sometimes dative singular, and a newer " .. "\"short\" one with only PALATALIZATION, by analogy with the <ā>-stems.", parent = "-stem", },	["GENDER -stem"] = { gender = "masculine, feminine or neuter", possible_genders = {"masculine or feminine", "neuter", "unknown gender"}, nom_sg = "the bare stem (always ending in a PALATALIZED consonant), with LENITION of the following word when feminine, NASALIZATION when neuter", ["masculine or feminine_nom_sg"] = "the bare stem (always ending in a PALATALIZED consonant), with LENITION of the following word when feminine", neuter_nom_sg = "the bare stem (always ending in a PALATALIZED consonant), with NASALIZATION of the following word", gen_sg = "<-o> or <-a> (sometimes with LOWERING or other modification of the stem vowel), with DEPALATALIZATION of the final stem consonant and ASPIRATION of the following word", nom_pl = "when masculine or feminine, <-i> (or often <-ai>, with DEPALATALIZATION of the final stem consonant), with ASPIRATION of the following word; when neuter, <-e>, with LENITION of the following word", ["masculine or feminine_nom_pl"] = "<-i> (or often <-ai>, with DEPALATALIZATION of the final stem consonant), with ASPIRATION of the following word", neuter_nom_pl = "<-e>, with LENITION of the following word", },	["GENDER -stem"] = { gender = "masculine or neuter", possible_genders = {"masculine", "neuter", "unknown gender"}, nom_sg = "the bare stem (always ending in an UNPALATALIZED consonant), with NASALIZATION of the following word when neuter", masculine_nom_sg = "the bare stem (always ending in an UNPALATALIZED consonant)", neuter_nom_sg = "the bare stem (always ending in an UNPALATALIZED consonant), with NASALIZATION of the following word", gen_sg = "<-o> or <-a> (with LOWERING of the stem vowel where possible), with ASPIRATION of the following word and sometimes with PALATALIZATION of the final stem consonant", nom_pl = "when masculine, <-ae>, <-ai> or <-a> (with LOWERING of the stem vowel where possible), with ASPIRATION of the following word and sometimes with PALATALIZATION of the final stem consonant; when neuter, either (a) the bare stem with LENITION of the following word; or (b) <-a> (used especially with an indefinite meaning), with LOWERING of the stem vowel where possible and sometimes with PALATALIZATION of the final stem consonant", masculine_nom_pl = "<-ae>, <-ai> or <-a> (with LOWERING of the stem vowel where possible), with ASPIRATION of the following word and sometimes with PALATALIZATION of the final stem consonant", neuter_nom_pl = "either (a) the bare stem with LENITION of the following word; or (b) <-a> (used especially with an indefinite meaning), with LOWERING of the stem vowel where possible and sometimes with PALATALIZATION of the final stem consonant", },	["-stem"] = { gender = "masculine or feminine", nom_sg = "the bare stem without final g and preceding unstressed vowel, with ASPIRATION of the following word if ending in a vowel", gen_sg = "the bare stem with UNPALATALIZED g or ch and LOWERING of the stem vowel where possible", nom_pl = "the bare stem with PALATALIZED g", parent = "consonant-stem", },	["-stem"] = { gender = "masculine or feminine", nom_sg = "the bare stem without final c and preceding unstressed vowel, with ASPIRATION of the following word if ending in a vowel", gen_sg = "the bare stem with UNPALATALIZED c or ch and LOWERING of the stem vowel where possible", nom_pl = "the bare stem with PALATALIZED c (g when soft)", parent = "consonant-stem", },	["-stem"] = { gender = "masculine or feminine", nom_sg = "the bare stem without final d and preceding unstressed vowel, with ASPIRATION of the following word if ending in a vowel", gen_sg = "the bare stem with UNPALATALIZED d or th and LOWERING of the stem vowel where possible", nom_pl = "the bare stem with PALATALIZED d or th", parent = "consonant-stem", },	["-stem"] = { gender = "masculine or feminine", nom_sg = "the bare stem without final t and preceding unstressed vowel, with ASPIRATION of the following word if ending in a vowel", gen_sg = "the bare stem with UNPALATALIZED t (d or th when soft) and LOWERING of the stem vowel where possible", nom_pl = "the bare stem with PALATALIZED t (d or th when soft)", parent = "consonant-stem", },	["GENDER -stem"] = { gender = "masculine or feminine (occasionally neuter)", possible_genders = {"masculine or feminine", "neuter"}, nom_sg = "when masculine or feminine, the bare stem without final t, with ASPIRATION of the following word if ending in a vowel; when neuter, the bare stem including final t, with NASALIZATION of the following word", ["masculine or feminine_nom_sg"] = "the bare stem without final t, with ASPIRATION of the following word if ending in a vowel", neuter_nom_sg = "the bare stem including final t, with NASALIZATION of the following word", gen_sg = "the bare stem with UNPALATALIZED t and LOWERING of the stem vowel where possible", nom_pl = "when masculine or feminine, the bare stem with PALATALIZED t; when neuter, the bare stem with UNPALATALIZED t and LENITION of the following word", ["masculine or feminine_nom_pl"] = "the bare stem with PALATALIZED t", neuter_nom_pl = "the bare stem with UNPALATALIZED t and LENITION of the following word", parent = "consonant-stem", addl = "In this case, sound changes leading up to Old Irish deleted the underlying n in all forms.", },	["-stem"] = { gender = "masculine or feminine", nom_sg = "the bare stem with PALATALIZED final r and UNPALATALIZED preceding th (except in, which has U-INSERTION)", gen_sg = "the bare stem with UNPALATALIZED final r", nom_pl = "the bare stem with PALATALIZED final r and PALATALIZED preceding th", parent = "consonant-stem", },	[" -stem"] = { gender = "neuter", nom_sg = "the bare stem with NASALIZATION of the following word", gen_sg = "<-e>, usually with RAISING of the stem vowel where possible, along with ASPIRATION of the following word", nom_pl = "<-e>, usually with RAISING of the stem vowel where possible, along with LENITION of the following word", },	["GENDER -stem"] = { gender = "masculine, feminine or neuter", possible_genders = {"masculine or feminine", "neuter", "unknown gender"}, nom_sg = "when masculine or feminine, either (a) the bare stem without final n, or (b) <-u> or <-e> following the stem without final n, along with ASPIRATION of the following word; when neuter, the bare stem (usually ending in <-(m)m>) without final n, with NASALIZATION of the following word", ["masculine or feminine_nom_sg"] = "either (a) the bare stem without final n, or (b) <-u> or <-e> following the stem without final n, along with ASPIRATION of the following word", neuter_nom_sg = "the bare stem (usually ending in <-(m)m>) without final n, with NASALIZATION of the following word", gen_sg = "when masculine or feminine, the bare stem with UNPALATALIZED LENITED final n or UNPALATALIZED UNLENITED final nn; when neuter, <-e> following the stem without final n, along with ASPIRATION of the following word", ["masculine or feminine_gen_sg"] = "the bare stem with LENITED final n or UNLENITED final nn", neuter_gen_sg = "<-e> following the stem without final n, along with ASPIRATION of the following word", nom_pl = "when masculine or feminine, the bare stem with PALATALIZED LENITED final n or PALATALIZED UNLENITED final nn; when neuter, the bare stem with UNPALATALIZED UNLENITED final nn (or rarely UNPALATALIZED LENITED final n), along with LENITION of the following word", ["masculine or feminine_nom_pl"] = "the bare stem with PALATALIZED LENITED final n or PALATALIZED UNLENITED final nn", neuter_nom_pl = "the bare stem with UNPALATALIZED UNLENITED final nn (or rarely UNPALATALIZED LENITED final n), along with LENITION of the following word", }, }
 * `gender`: The description of the gender(s) of the stem class. If preceded by ~, the description is preceded by
 * `possible_genders`: The possible genders this class occurs in. If this is specified, the word 'GENDER' must occur in
 * `nom_sg`: The nominative singular ending. Use <...> to enclose literal Latin-script text (e.g. suffixes), which will
 * `GENDER_nom_sg`: The nominative singular ending for the GENDER variant of this stem class. If not specified, the
 * `gen_sg`: The genitive singular ending. Conventions are the same as for `nom_sg`.
 * `GENDER_gen_sg`: The genitive singular ending for the GENDER variant of this stem class. If not specified, the value
 * `nom_pl`: The nominative plural ending. Conventions are the same as for `nom_sg`.
 * `GENDER_nom_pl`: The nominative plural ending for the GENDER variant of this stem class. If not specified, the value
 * `breadcrumb`: The breadcrumb for the category, appearing in the trail of breadcrumbs at the top of the page. If this
 * `parent`: The parent category or categories. If specified, the actual category label is formed by appending the part
 * `sortkey`: The sort key used for sorting this category among its parent's children. Defaults to the stem class

require("Module:category tree/poscatboiler/utilities").add_inflection_labels { labels = labels, pos = "noun", stem_classes = noun_decls, mark_up_spec = function(spec, nolink) -- mutations spec = spec:gsub("LENITION", "") spec = spec:gsub("UNLENITED", "") spec = spec:gsub("LENITED", "") spec = spec:gsub("NASALIZATION", "") spec = spec:gsub("ASPIRATION", "") -- palatalization spec = spec:gsub("DEPALATALIZATION", "") spec = spec:gsub("PALATALIZATION", "") spec = spec:gsub("UNPALATALIZED", "") spec = spec:gsub("PALATALIZED", "") -- affection spec = spec:gsub("LOWERING", "") spec = spec:gsub("RAISING", "") spec = spec:gsub("U%-INSERTION", "") if nolink then spec = require("Module:links").remove_links(spec) end return (spec:gsub("<(.-)>", "%1")) end, principal_parts = { {"nom_sg", "nominative singular"}, {"gen_sg", "genitive singular"}, {"nom_pl", "nominative plural"}, },	addl = "The stem classes are named from the perspective of Proto-Celtic " .. "and may not still be visible in inflections.", }

return {LABELS = labels}