Module:Category tree/poscatboiler/data/lang-specific/akk
This module handles generating the descriptions and categorization for 阿卡德語 category pages of the format "阿卡德語 LABEL" where LABEL can be any text. Examples are Category:Bulgarian conjugation 2.1 verbs and Category:Russian velar-stem neuter-form nouns. 該模块是 poscatboiler 系統的一部分,該系統是用於生成分類頁面的描述和分類的通用框架。
有關更多資訊,請參閱Module:category tree/poscatboiler/data/lang-specific/doc。
注意:如果您新增了特定語言的模块,請將語言代碼新增至 Module:category tree/poscatboiler/data/lang-specific 頂部的清單中,使程式碼能識別該模块。
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 .. ")%-詞幹動詞")
if stem then
break
end
end
if not stem then
return
end
return {
description = "{{{langname}}} " .. stems[stem] .. ".",
parents = "依屈折分類的動詞",
}
end)
return { HANDLERS = handlers }