Module:category tree/poscatboiler/data/lang-specific/orv
Jump to navigation
Jump to search
- The following documentation is generated by Module:documentation. [edit]
- Useful links: root page • root page’s subpages • links • transclusions • testcases • sandbox
This module handles generating the descriptions and categorization for Old East Slavic category pages of the format "Old East Slavic LABEL" where LABEL can be any text. Examples are Category:Bulgarian conjugation 2.1 verbs and Category:Russian velar-stem neuter-form nouns. This module is part of the poscatboiler system, which is a general framework for generating the descriptions and categorization of category pages.
For more information, see Module:category tree/poscatboiler/data/lang-specific/documentation.
NOTE: If you add a new language-specific module, you must add the language code to the list at the top of Module:category tree/poscatboiler/data/lang-specific in order for the module to be recognized.
local labels = {}
local handlers = {}
--------------------------------- Nouns/Pronouns/Numerals --------------------------------
local noun_decls = {
["hard a-stem"] = {
singular = "-а",
plural = "-ꙑ",
gender = "feminine",
sortkey = "a-stem",
},
["soft a-stem"] = {
singular = "-ꙗ",
plural = "-ѣ",
gender = "feminine",
sortkey = "a-stem",
},
["i-stem"] = {
singular = "-ь",
plural = "-и (usually -ие or -ье when masculine)",
gender = "feminine (sometimes masculine)",
},
["ī-stem"] = {
singular = "-ии or -ьи",
plural = "-иѭ or -ьѩ",
gender = "feminine (masculine when referring to a person)",
parent = "soft a-stem",
},
["hard masculine o-stem"] = {
singular = "-ъ",
plural = "-и",
gender = "masculine",
sortkey = "o-stem",
},
["soft masculine o-stem"] = {
singular = "-ь",
plural = "-и",
gender = "masculine",
sortkey = "o-stem",
},
["hard neuter o-stem"] = {
singular = "-о",
plural = "-а",
gender = "neuter",
sortkey = "o-stem",
},
["soft neuter o-stem"] = {
singular = "-е",
plural = "-ꙗ",
gender = "neuter",
sortkey = "o-stem",
},
["u-stem"] = {
singular = "-ъ",
plural = "-ове",
gender = "masculine",
},
["n-stem"] = {
singular = "-ꙑ, -нь, or -мѧ",
plural = "-не (or -мена if ending in -мѧ)",
gender = "masculine (nouns in -мѧ are neuter)",
parent = "consonant-stem",
},
["r-stem"] = {
singular = "-и",
plural = "-ере",
gender = "feminine",
parent = "consonant-stem",
},
["s-stem"] = {
singular = "-о (-е after a palatal consonant)",
plural = "-еса",
gender = "neuter",
parent = "consonant-stem",
},
["t-stem"] = {
singular = "-ѧ",
plural = "-ѧта",
gender = "neuter",
parent = "consonant-stem",
},
["v-stem"] = {
singular = "-ꙑ",
plural = "-ъви",
gender = "feminine",
parent = "consonant-stem",
}
}
for _, pos in ipairs({"nouns"}) do
local sgpos = pos:gsub("s$", "")
labels["consonant-stem " .. pos] = {
description = "Old East Slavic consonant-stem " .. pos .. ".",
additional = "This is not a single declension class, but a set of related declension classes, with endings that are"
.. " largely identical outside of the nominative, accusative and vocative.",
breadcrumb = "consonant-stem",
parents = pos .. " by inflection type",
}
for decl, spec in pairs(noun_decls) do
labels[decl .. " " .. pos] = {
description = "Old East Slavic " .. decl .. " " .. pos .. ".",
additional = "These " .. pos .. " normally end in " .. spec.singular .. " in the singular and " .. spec.plural .. " in the"
.. " plural, and are most commonly " .. spec.gender .. ".",
breadcrumb = decl,
parents = {{
name = spec.parent and spec.parent .. " " .. pos or pos .. " by inflection type",
sort = spec.sortkey or decl,
}},
}
end
end
return {LABELS = labels, HANDLERS = handlers}