local export = {}

local numbers = {}
export.numbers = numbers

numbers[0] = {
	cardinal = "kew"
}

numbers[1] = {
	cardinal = "ʼaw",
	ordinal = "ʼawve"
}

numbers[2] = {
	cardinal = "mune",
	ordinal = "muve",
	fractional = "mawl"

}

numbers[3] = {
	cardinal = "pxey",
	ordinal = "pxeyve",
	fractional = "pan"
}

numbers[4] = {
	cardinal = "tsìng",
	ordinal = "tsìve",
	fractional = "tsìpxì"
}

numbers[5] = {
	cardinal = "mrr",
	ordinal = "mrrve",
	fractional = "mrrpxì"
}

numbers[6] = {
	cardinal = "pukap",
	ordinal = "puve",
	fractional = "pupxì"
}

numbers[7] = {
	cardinal = "kinä",
	ordinal = "kive",
	fractional = "kipxì"
}

numbers[10] = {
	cardinal = "vol",
	ordinal = "volve",
	fractional = "volpxì"
}

numbers[11] = {
	cardinal = "volaw",
	ordinal = "volawve"
}

numbers[12] = {
	cardinal = "vomun",
	ordinal = "vomuve"
}

numbers[13] = {
	cardinal = "vopey",
	ordinal = "vopeyve"
}

numbers[14] = {
	cardinal = "vosìng",
	ordinal = "vosìve"
}

numbers[15] = {
	cardinal = "vomrr",
	ordinal = "vomrrve"
}

numbers[16] = {
	cardinal = "vofu",
	ordinal = "vofuve"
}

numbers[17] = {
	cardinal = "vohin",
	ordinal = "vohive"
}

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_prefix in unpack_ipairs {
	{ "me" },
	{ "pxe" },
	{ "tsì" },
	{ "mrr" },
	{ "pu" },
	{ "ki" }
} do
	local tens = (i + 1) * 10
	for ones = 0, 7 do
		numbers[tens + ones] = {
			cardinal = tens_prefix .. numbers[10 + ones].cardinal
		}
	end
end

numbers[100] = {
	cardinal = "zam"
}

numbers[1000] = {
	cardinal = "vozam"
}

numbers[10000] = {
	cardinal = "zazam"
}

return export