বিষয়বস্তুতে চলুন

মডিউল:number list/data/tk

উইকিঅভিধান, মুক্ত অভিধান থেকে

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

local export = {numbers = {}}

local numbers = export.numbers

numbers[0] = {
	cardinal = "nol",
}
numbers[1] = {
	cardinal = "bir",
	ordinal = "birinji"
}
numbers[2] = {
	cardinal = "iki",
	ordinal = "ikinji"
}
numbers[3] = {
	cardinal = "üç",
	ordinal = "üçünji"
}
numbers[4] = {
	cardinal = "dört",
	ordinal = "dördünji"
}
numbers[5] = {
	cardinal = "bäş",
	ordinal = "bäşinji"
}
numbers[6] = {
	cardinal = "alty",
	ordinal = "altynjy"
}
numbers[7] = {
	cardinal = "ýedi",
	ordinal = "ýedinji"
}
numbers[8] = {
	cardinal = "sekiz",
	ordinal = "sekizinji"
}
numbers[9] = {
	cardinal = "dokuz",
	ordinal = "dokuzynjy"
}
numbers[10] = {
	cardinal = "on",
	ordinal = "onunjy"
}
numbers[20] = {
	cardinal = "ýigrimi",
	ordinal = "ýigriminji"
}
numbers[30] = {
	cardinal = "otuz",
	ordinal = "otuzynjy"
}
numbers[40] = {
	cardinal = "kyrk",
	ordinal = "kyrkynjy"
}
numbers[50] = {
	cardinal = "elli",
	ordinal = "ellinji"
}
numbers[60] = {
	cardinal = "altmyş",
	ordinal = "altmyşynjy"
}
numbers[70] = {
	cardinal = "ýetmiş",
	ordinal = "ýetmişinji"
}
numbers[80] = {
	cardinal = "segsen",
	ordinal = "segseninji"
}
numbers[90] = {
	cardinal = "togsan",
	ordinal = "togsanynjy"
}

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 = "ýüz",
	ordinal = "ýüzünji"
}
numbers[1000] = {
	cardinal = "müň",
	ordinal = "müňünji"
}

return export