This module handles generating the descriptions and categorization for Toki Pona category pages of the format "Toki Pona 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 = {}
table.insert(handlers, function(data)
local classification = data.label:match("^words classified as (.+) in sona Linku$")
if classification then
return {
description = "Toki Pona words that are categorized using the " .. classification .. " usage category in the sona Linku dataset.",
parents = {"Toki_Pona_terms_by_usage"},
}
end
end)
return {HANDLERS = handlers}