Module:grc-decl/params

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

This module returns the lists of parameters used by {{grc-decl}} and {{grc-adecl}}.


local m_table = require("Module:table")

local deep_copy = m_table.deepCopy

local genders = { 'M', 'F', 'N' }
local cases = { 'N', 'G', 'D', 'A', 'V' }
local numbers = { 'S', 'D', 'P' }

local noun_params = {
	 = {},
	 = {},
	dial = { default = 'att' },
	form = { default = 'full' },
	voc = {}, -- if "α", means that first-declension masculine has vocative in -ᾰ
	notes = {},
	note = { alias_of = "notes" },
	 = {},
	 = {},
	titleapp = {},
	 = {},
	 = {},
}

for _, c in ipairs(cases) do
	for _, n in ipairs(numbers) do
		noun_params = {}
		noun_params = {}
		noun_params = {}
	end
end

local irreg_noun_params, irreg_N_noun_params = deep_copy(noun_params), deep_copy(noun_params)
for i = 3, 9 do
	irreg_N_noun_params = {}
end
for i = 3, 12 do
	irreg_noun_params = {}
end

local adj_params = {
	 = {},
	 = {},
	dial = { default = 'att' },
	form = { default = '' },
	notes = {},
	 = {},
	 = {},
	titleapp = {},
	 = {},
	 = {},
	title = {},
	adv = {},
	 = {},
	 = {},
	deg = {},
	comp = {},
	 = {},
	 = {},
	super = {},
	 = {},
	 = {},
	hp = { type = "boolean" },
}

for _, g in ipairs(genders) do
	for _, c in ipairs(cases) do
		for _, n in ipairs(numbers) do
			adj_params = {}
			adj_params = {}
			adj_params = {}
		end
	end
end

local irreg_adj_params = deep_copy(adj_params)
for i = 3, 25 do
	irreg_adj_params = {}
end

return {
	noun_params = noun_params,
	irreg_noun_params = irreg_noun_params,
	irreg_N_noun_params = irreg_N_noun_params,
	adj_params = adj_params,
	irreg_adj_params = irreg_adj_params,
}