Module:category tree/poscatboiler/data/phrases

Hello, you have come here looking for the meaning of the word Module:category tree/poscatboiler/data/phrases. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:category tree/poscatboiler/data/phrases, but we will also tell you about its etymology, its characteristics and you will know how to say Module:category tree/poscatboiler/data/phrases in singular and plural. Everything you need to know about the word Module:category tree/poscatboiler/data/phrases you have here. The definition of the word Module:category tree/poscatboiler/data/phrases will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:category tree/poscatboiler/data/phrases, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

This data submodule defines part of Wiktionary's category structure.

For an introduction to the poscatboiler system and a description of how to add or modify categories, see Module:category tree/poscatboiler/data/documentation.


local labels = {}
local raw_categories = {}


labels = {
	description = "{{{langname}}} groups of words elaborated to express ideas, not necessarily ]s in the grammatical sense.",
	umbrella_parents = "Lemmas subcategories by language",
	parents = {"lemmas", "multiword terms"},
}

labels = {
	description = "{{{langname}}} phrases in which an adverb modifies the adjective that heads the phrase.",
	umbrella_parents = {name = "phrases", is_label = true, sort = " "},
	parents = {"phrases"},
}

labels = {
	description = "{{{langname}}} phrases composed of two or more words that alliterate.",
	umbrella_parents = {name = "phrases", is_label = true, sort = " "},
	parents = {"phrases"},
}

labels = {
	description = "{{{langname}}} phrases composed of two or more words that rhyme.",
	umbrella_parents = {name = "phrases", is_label = true, sort = " "},
	parents = {"phrases"},
}

labels = {
	description = "{{{langname}}} ]s.",
	umbrella_parents = "Fundamental",
	parents = {{name = "{{{langcat}}}", raw = true}},
}

labels = {
	description = "{{{langname}}} non-idiomatic phrases that are used in common situations, and may be useful to language learners or travellers.",
	parents = {
		"phrases",
		{name = "Phrasebooks by language", raw = true, sort = "{{{langname}}}"}
	},
	umbrella = false, -- Umbrella has a nonstandard name so we treat it as a raw category
}

raw_categories = {
	description = "Categories with phrasebooks in various specific languages.",
	additional = "Phrasebook categories contain non-idiomatic phrases that are used in common situations, and may be useful to language learners or travellers.\n\n" ..
	"See ] for more information.\n\n{{{umbrella_msg}}}",
	parents = "Fundamental",
}

for _, category in ipairs({
	{name = "Basic", topics = {}},
	{name = "Communication", topics = {"Communication"}},
	{name = "Emergencies", topics = {"Emergency medicine"}},
	{name = "Ethnicity", topics = {"Ethnicity"}},
	{name = "Family", topics = {"Family"}},
	{name = "Farewells", topics = {}},
	{name = "Festivities", topics = {}},
	{name = "Food and drink", topics = {"Food and drink"}},
	{name = "Greetings", topics = {}},
	{name = "Health", topics = {"Health"}},
	{name = "Love", topics = {"Love"}},
	{name = "Money", topics = {"Money"}},
	{name = "Needs", topics = {}},
	{name = "Religion", topics = {"Religion"}},
	{name = "Sex", topics = {"Sex"}},
	{name = "Time", topics = {"Time"}},
	{name = "Travel", topics = {"Travel"}},
	{name = "Weather", topics = {"Weather"}},
}) do
	local parents = {
		{name = "phrasebook", sort = category.name},
		{name = "Phrasebooks by language/" .. category.name, raw = true, sort = "{{{langname}}}"},
	}
	for _, topic in ipairs(category.topics) do
		table.insert(parents, {module = "topic cat", args = {code = "{{{langcode}}}", label = topic}, sort = " "})
	end
	labels = {
		description = "{{{langname}}} common non-idiomatic phrases in the category '" .. category.name .. "'.",
		breadcrumb = category.name,
		parents = parents,
		umbrella = false,
	}
	raw_categories = {
		description = "Categories with common non-idiomatic phrases in the category '" .. category.name .. "', in various specific languages.",
		additional = "{{{umbrella_msg}}}",
		parents = {{name = "Phrasebooks by language", sort = " "}},
		breadcrumb = category.name,
	}
end


return {LABELS = labels, RAW_CATEGORIES = raw_categories}