এই মডিউলের জন্য মডিউল:number list/data/aa/নথি-এ নথিপত্র তৈরি করা হয়ে থাকতে পারে

local export = {numbers = {}}

local numbers = {}
export.numbers = numbers

numbers[0] = {
	cardinal = "foyyá",
}

numbers[1] = {
	cardinal = "inkíttu",
	ordinal = "firsíttu"
}

numbers[2] = {
	cardinal = "nammáy",
	ordinal = "nammaháytu",
	fractional = { "nússi", "gárab" },
}

numbers[3] = {
	cardinal = "sidóc",
	ordinal = "sidoccáytu",
	fractional = "sidoctá",
}

numbers[4] = {
	cardinal = "feréy",
	ordinal = "fereyháytu",
	fractional = { "rúbqi", "fareytá" },
}

numbers[5] = {
	cardinal = "konóy",
	ordinal = "konoyháytu",
	fractional = "konoytá",
}

numbers[6] = {
	cardinal = "lacéy",
	ordinal = "laceyháytu",
	fractional = "laceytá",
}

numbers[7] = {
	cardinal = "malcíin",
	ordinal = "malcinháytu",
}

numbers[8] = {
	cardinal = "bacáar",
	ordinal = "bacarháytu",
}

numbers[9] = {
	cardinal = "sagáal",
	ordinal = "sagalháytu",
}

numbers[10] = {
	cardinal = "tabán",
	ordinal = "tabanháytu",
	fractional = "tabantá",
}

numbers[11] = {
	cardinal = "tabán kee tíya",
	ordinal = "tabán kee inikháytu",
}

numbers[20] = {
	cardinal = { "labaatánna", "namma-tabán" },
	ordinal = { "labatanniháytu", "namma-tabanháytu"},
}

numbers[30] = {
	cardinal = { "soddóm", "sidica-tabán" },
	ordinal = { "soddomháytu", "sidica-tabanháytu" },
}

numbers[40] = {
	cardinal = { "morootóm", "affara-tabán" },
	ordinal = { "morootomháytu", "affara-tabanháytu" },
}

numbers[50] = {
	cardinal = { "kontóm", "koona-tabán" },
	ordinal = { "kontomháytu", "koona-tabanháytu" },
}

numbers[60] = {
	cardinal = { "lactám", "lica-tabán" },
	ordinal = { "lactamháytu", "lica-tabanháytu" },
}

numbers[70] = {
	cardinal = "malcina-tabán",
	ordinal = "malcina-tabanháytu",
}

numbers[80] = {
	cardinal = "bacra-tabán",
	ordinal = "bacra-tabanháytu",
}

numbers[90] = {
	cardinal = "sagla-tabán",
	ordinal = "sagla-tabanháytu"
}

local function unpack_ipairs(t)
	local i = 0
	return function()
		i = i + 1
		if t[i] then
			return i, unpack(t[i])
		end
	end
end

for i, tens_cardinal in unpack_ipairs {
	{ "tabán"},
	{ "labaatánna" },
	{ "soddóm" },
	{ "morootóm" },
	{ "kontóm" },
	{ "lactám" },
	{ "malcina-tabán" },
	{ "bacra-tabán" },
	{ "sagla-tabán" },
} do
	local tens = i * 10
	local prefix = tens_cardinal .. " kee "

	for ones = 1, 9 do
		local ones_cardinal
		if ones == 1 then
			ones_cardinal = "tíya"
			ones_ordinal = "inikháytu"
		else
			ones_cardinal = numbers[ones].cardinal
			ones_ordinal = numbers[ones].ordinal
		end

		local cardinal = prefix .. ones_cardinal
		local ordinal = prefix .. ones_ordinal

		local number = {}
		numbers[tens + ones] = number

		number.cardinal = cardinal
		number.ordinal = ordinal
	end
end

numbers[100] = {
	cardinal = "bóol",
	ordinal = "boolháytu"
}

numbers[1000] = {
	cardinal = { "álfi", "kúum<q:obsolete>" },
}

numbers[1000000] = {
	cardinal = "malyúun",
}

numbers[1000000000] = {
	cardinal = "milyáar",
}

return export