Bước tới nội dung

Mô đun:number list/data/az

Từ điển mở Wiktionary
local export = {numbers = {}}

local numbers = export.numbers


numbers[0] = {
	cardinal = "sıfır",
}
numbers[1] = {
	cardinal = "bir",
	ordinal = "birinci"
}
numbers[2] = {
	cardinal = "iki",
	ordinal = "ikinci"
}
numbers[3] = {
	cardinal = "üç",
	ordinal = "üçüncü"
}
numbers[4] = {
	cardinal = "dörd",
	ordinal = "dördüncü"
}
numbers[5] = {
	cardinal = "beş",
	ordinal = "beşinci"
}
numbers[6] = {
	cardinal = "altı",
	ordinal = "altıncı"
}
numbers[7] = {
	cardinal = "yeddi",
	ordinal = "yeddinci"
}
numbers[8] = {
	cardinal = "səkkiz",
	ordinal = "səkkizinci"
}
numbers[9] = {
	cardinal = "doqquz",
	ordinal = "doqquzuncu"
}
numbers[10] = {
	cardinal = "on",
	ordinal = "onuncu"
}
numbers[20] = {
	cardinal = "iyirmi",
	ordinal = "iyirminci"
}
numbers[30] = {
	cardinal = "otuz",
	ordinal = "otuzuncu"
}
numbers[40] = {
	cardinal = "qırx",
	ordinal = "qırxıncı"
}
numbers[50] = {
	cardinal = "əlli",
	ordinal = "əllinci"
}
numbers[60] = {
	cardinal = "altmış",
	ordinal = "altmışıncı"
}
numbers[70] = {
	cardinal = "yetmiş",
	ordinal = "yetmişinci"
}
numbers[80] = {
	cardinal = "səksən",
	ordinal = "səksəninci"
}
numbers[90] = {
	cardinal = "doxsan",
	ordinal = "doxsanıncı"
}

for i = 1, 9 do
	local tens = i * 10
	for ones = 1, 9 do
		local ones_cardinal = numbers[ones].cardinal
		local ones_ordinal = numbers[ones].ordinal
		local tens_cardinal = numbers[tens].cardinal
		local cardinal = tens_cardinal .. " " .. ones_cardinal
		local ordinal = tens_cardinal .. " " .. ones_ordinal
		local number = {}
		numbers[tens + ones] = number
		number.cardinal = cardinal
		number.ordinal = ordinal
	end
end

numbers[100] = {
	cardinal = "yüz",
	ordinal = "yüzüncü"
}
numbers[1000] = {
	cardinal = "min",
	ordinal = "mininci"
}

return export