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 = {
= "simple stems which are used for the {{lg|intransitive}} and {{lg|transitive}}",
= "stems in the {{lg|intensive}} indicated by the second radical being geminated",
= "stems with a {{lg|causative}} ''š''-{{lg|preformative}}",
= "stems with a {{lg|passive}} or {{lg|reflexive}} ''n''-{{lg|preformative}}",
= "simple stems which have a {{lg|reciprocal}} or {{lg|reflexive}} ''-t-'' {{lg|infix}}ed after the first radical",
= "] which have a ''-t-'' {{lg|infix}}ed, indicating an {{lg|intensive}} {{lg|reflexive}} verb",
= "stems with a {{lg|causative}} ''š''-{{lg|preformative}} and a {{lg|reflexive}} ''-t-'' {{lg|infix}}ed before the first radical",
= "stems with a {{lg|passive}} ''n''-{{lg|preformative}} and a {{lg|reflexive}} ''-t-'' {{lg|infix}}ed before the first radical",
= "simple stems with a ''-tan-'' {{lg|infix}}",
= "] with a ''-tan-'' {{lg|infix}}",
= "stems with a {{lg|causative}} ''š''-{{lg|preformative}} and a ''-tan-'' {{lg|infix}}",
= "stems with a {{lg|passive}} ''n''-{{lg|preformative}} and a ''-tan-'' {{lg|infix}}",
= "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 .. ".",
parents = "verbs by inflection type",
}
end)
return { HANDLERS = handlers }