Module:category tree/lang/akk
- 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 Akkadian category pages of the format "Akkadian 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 category tree system, which is a general framework for generating the descriptions and categorization of category pages.
For more information, see Module:category tree/lang/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/lang in order for the module to be recognized.
local handlers = {}
local insert = table.insert
local match = string.match
insert(handlers, function(data)
local stems = {
["G"] = "simple stems which are used for the {{lg|intransitive}} and {{lg|transitive}}",
["D"] = "stems in the {{lg|intensive}} indicated by the second radical being geminated",
["Š"] = "stems with a {{lg|causative}} ''š''-{{lg|preformative}}",
["N"] = "stems with a {{lg|passive}} or {{lg|reflexive}} ''n''-{{lg|preformative}}",
["Gt"] = "simple stems which have a {{lg|reciprocal}} or {{lg|reflexive}} ''-t-'' {{lg|infix}}ed after the first radical",
["Dt"] = "[[:Category:{{{langname}}} D-stems|D-stems]] which have a ''-t-'' {{lg|infix}}ed, indicating an {{lg|intensive}} {{lg|reflexive}} verb",
["Št"] = "stems with a {{lg|causative}} ''š''-{{lg|preformative}} and a {{lg|reflexive}} ''-t-'' {{lg|infix}}ed before the first radical",
["Nt"] = "stems with a {{lg|passive}} ''n''-{{lg|preformative}} and a {{lg|reflexive}} ''-t-'' {{lg|infix}}ed before the first radical",
["Gtn"] = "simple stems with a ''-tan-'' {{lg|infix}}",
["Dtn"] = "[[:Category:{{{langname}}} D-stems|D-stems]] with a ''-tan-'' {{lg|infix}}",
["Štn"] = "stems with a {{lg|causative}} ''š''-{{lg|preformative}} and a ''-tan-'' {{lg|infix}}",
["Ntn"] = "stems with a {{lg|passive}} ''n''-{{lg|preformative}} and a ''-tan-'' {{lg|infix}}",
["ŠD"] = "stems with a {{lg|causative}} ''š''-{{lg|preformative}} and a geminated second radical",
}
local stem
for i, _ in pairs(stems) do
stem = match(data.label, "(" .. i .. ")%-stem verbs")
if stem then
break
end
end
if not stem then
return
end
return {
description = "{{{langname}}} " .. stems[stem] .. ".",
parents = "verbs by inflection type",
}
end)
return { HANDLERS = handlers }