Module:number list/data/mnc

local export = {numbers = {}}

local numbers = export.numbers

-- Delete any number types that don't apply. numbers[1] = { cardinal = "ᡝᠮᡠ", ordinal = {"ᡠᠵᡠᡳ", "ᡠᠵᡠᠴᡳ", "ᡝᠮᡠᠴᡳ"}, adverbial = "ᡝᠮᡤᡝᡵᡳ", multiplier = "ᡝᠮᡠᡵᠰᡠ", distributive = "ᡝᠮᡨᡝ", }

numbers[2] = { cardinal = "ᠵᡠᠸᡝ", ordinal = {"ᠵᠠᡳ", "ᠵᠠᡳᠴᡳ", "ᠵᡠᠸᡝᠴᡳ"}, adverbial = "ᠵᡠᠸᡝᠩᡤᡝᡵᡳ", multiplier = "ᠵᡠᡵᠰᡠ", distributive = "ᠵᡠᠸᡝᡨᡝ", collective = {"ᠵᡠᠸᡝ ᠨᠣᡶᡳ", "ᠵᡠᠸᡝᠨᠣᡶᡳ"}, }

numbers[6] = { cardinal = "ᠨᡳᠩᡤᡠᠨ", ordinal = "ᠨᡳᠩᡤᡠᠴᡳ", adverbial = "ᠨᡳᠩᡤᡠᠩᡤᡝᡵᡳ", multiplier = "ᠨᡳᠩᡤᡠᡵᠰᡠ", distributive = {"ᠨᡳᠩᡤᡠᡨᡝ", "ᠨᡳᠩᡤᡠᡨᠠ"}, collective = "ᠨᡳᠩᡤᡠᠨᠣᡶᡳ", }

-- 1, 2, 6 are written first, they require seperate iterations. See below

numbers[10] = { cardinal = "ᠵᡠᠸᠠᠨ", ordinal = "ᠵᡠᠸᠠᠨᠴᡳ", adverbial = "ᠵᡠᠸᠠᠩᡤᡝᡵᡳ", multiplier = {"ᠵᡠᠸᠠᡵᠰᡠ", "ᠵᡠᠸᠠᠨᡵᠰᡠ"}, distributive = {"ᠵᡠᠸᠠᡨᠠ", "ᠵᡠᠸᠠᠨᡨᠠ"}, collective = "ᠵᡠᠸᠠᠨᠣᡶᡳ", }

numbers[20] = { cardinal = "ᠣᡵᡳᠨ", ordinal = "ᠣᡵᡳᠴᡳ", adverbial = "ᠣᡵᡳᠩᡤᡝᡵᡳ", multiplier = "ᠣᡵᡳᡵᠰᡠ", distributive = {"ᠣᡵᡳᡨᠠ", "ᠣᡵᡳᠨᡨᠠ"}, collective = "ᠣᡵᡳᠨᠣᡶᡳ", }

numbers[30] = { cardinal = "ᡤᡡᠰᡳᠨ", ordinal = "ᡤᡡᠰᡳᠴᡳ", adverbial = "ᡤᡡᠰᡳᠩᡤᡝᡵᡳ", multiplier = "ᡤᡡᠰᡳᡵᠰᡠ", distributive = "ᡤᡡᠰᡳᡨᠠ", collective = "ᡤᡡᠰᡳᠨᠣᡶᡳ", }

local one_ordinal = "ᡝᠮᡠᠴᡳ" local two_ordinal = "ᠵᡠᠸᡝᠴᡳ" local six_distributive = "ᠨᡳᠩᡤᡠᡨᡝ"

-- created *1s, *2s and *6s:

for i= 1, 3 do --i should be expanded to 9 when 30, 40 ... 90 are created, now there are only 10 and 20 numbers[i * 10 + 1] = { cardinal = numbers[i * 10].cardinal .. " " .. numbers[1].cardinal, ordinal = numbers[i * 10].cardinal .. " " .. one_ordinal, adverbial = numbers[i * 10].cardinal .. " " .. numbers[1].adverbial, multiplier = numbers[i * 10].cardinal .. " " .. numbers[1].multiplier, distributive = numbers[i * 10].cardinal .. " " .. numbers[1].distributive } end

for i = 1, 3 do -- same as above numbers[i * 10 + 2] = { cardinal = numbers[i * 10].cardinal .. " " .. numbers[2].cardinal, ordinal = numbers[i * 10].cardinal .. " " .. two_ordinal, adverbial = numbers[i * 10].cardinal .. " " .. numbers[2].adverbial, multiplier = numbers[i * 10].cardinal .. " " .. numbers[2].multiplier, distributive = numbers[i * 10].cardinal .. " " .. numbers[2].distributive } end

for i = 1, 3 do -- same as above numbers[i * 10 + 6] = { cardinal = numbers[i * 10].cardinal .. " " .. numbers[6].cardinal, ordinal = numbers[i * 10].cardinal .. " " .. numbers[6].ordinal, adverbial = numbers[i * 10].cardinal .. " " .. numbers[6].adverbial, multiplier = numbers[i * 10].cardinal .. " " .. numbers[6].multiplier, distributive = numbers[i * 10].cardinal .. " " .. six_distributive } end

numbers[3] = { cardinal = "ᡳᠯᠠᠨ", ordinal = "ᡳᠯᠠᠴᡳ", adverbial = "ᡳᠯᠠᠩᡤᡝᡵᡳ", multiplier = "ᡳᠯᠠᡵᠰᡠ", distributive = "ᡳᠯᠠᡨᠠ", collective = "ᡳᠯᠠᠨᠣᡶᡳ", }

numbers[4] = { cardinal = "ᡩᡠᡳᠨ", ordinal = "ᡩᡠᡳᠴᡳ", adverbial = "ᡩᡠᡳᠩᡤᡝᡵᡳ", multiplier = "ᡩᡠᡳᡵᠰᡠ", distributive = "ᡩᡠᡳᡨᡝ", collective = "ᡩᡠᡳᠨᠣᡶᡳ", }

numbers[5] = { cardinal = "ᠰᡠᠨᠵᠠ", ordinal = "ᠰᡠᠨᠵᠠᠴᡳ", adverbial = "ᠰᡠᠨᠵᠠᠩᡤᡝᡵᡳ", multiplier = "ᠰᡠᠨᠵᠠᡵᠰᡠ", distributive = "ᠰᡠᠨᠵᠠᡨᠠ", collective = "ᠰᡠᠨᠵᠠᠨᠣᡶᡳ", }

numbers[7] = { cardinal = "ᠨᠠᡩᠠᠨ", ordinal = "ᠨᠠᡩᠠᠴᡳ", adverbial = "ᠨᠠᡩᠠᠩᡤᡝᡵᡳ", multiplier = "ᠨᠠᡩᠠᡵᠰᡠ", distributive = "ᠨᠠᡩᠠᡨᠠ", collective = "ᠨᠠᡩᠠᠨᠣᡶᡳ", }

numbers[8] = { cardinal = "ᠵᠠᡴᡡᠨ", ordinal = "ᠵᠠᡴᡡᠴᡳ", adverbial = "ᠵᠠᡴᡡᠩᡤᡝᡵᡳ", multiplier = "ᠵᠠᡴᡡᡵᠰᡠ", distributive = "ᠵᠠᡴᡡᡨᠠ", collective = "ᠵᠠᡴᡡᠨᠣᡶᡳ", }

numbers[9] = { cardinal = "ᡠᠶᡠᠨ", ordinal = "ᡠᠶᡠᠴᡳ", adverbial = "ᡠᠶᡠᠩᡤᡝᡵᡳ", multiplier = "ᡠᠶᡠᡵᠰᡠ", distributive = "ᡠᠶᡠᡨᡝ", collective = "ᡠᠶᡠᠨᠣᡶᡳ", }

for ones = 3, 4 do --1 and two has already been done numbers[10 + ones] = { cardinal = numbers[10].cardinal .. " " .. numbers[ones].cardinal, ordinal = numbers[10].cardinal .. " " .. numbers[ones].ordinal, adverbial = numbers[10].cardinal .. " " .. numbers[ones].adverbial, multiplier = numbers[10].cardinal .. " " .. numbers[ones].multiplier, distributive = numbers[10].cardinal .. " " .. numbers[ones].distributive, } end

numbers[15] = { cardinal = "ᡨᠣᡶᠣᡥᠣᠨ", ordinal = "ᡨᠣᡶᠣᡥᠣᠴᡳ", adverbial = "ᡨᠣᡶᠣᡥᠣᠩᡤᡝᡵᡳ", multiplier = "ᡨᠣᡶᠣᡥᠣᡵᠰᡠ", distributive = "ᡨᠣᡶᠣᡥᠣᡨᠣ", collective = "ᡨᠣᡶᠣᡥᠣᠨᠣᡶᡳ", }

for ones = 7, 9 do -- 3 to 4, 6 to 9, skipped 5 because 15 is different numbers[10 + ones] = { cardinal = numbers[10].cardinal .. " " .. numbers[ones].cardinal, ordinal = numbers[10].cardinal .. " " .. numbers[ones].ordinal, adverbial = numbers[10].cardinal .. " " .. numbers[ones].adverbial, multiplier = numbers[10].cardinal .. " " .. numbers[ones].multiplier, distributive = numbers[10].cardinal .. " " .. numbers[ones].distributive, } end

for ones = 3, 5 do	numbers[20 + ones] = { cardinal = numbers[20].cardinal .. " " .. numbers[ones].cardinal, ordinal = numbers[20].cardinal .. " " .. numbers[ones].ordinal, adverbial = numbers[20].cardinal .. " " .. numbers[ones].adverbial, multiplier = numbers[20].cardinal .. " " .. numbers[ones].multiplier, distributive = numbers[20].cardinal .. " " .. numbers[ones].distributive, } end

for ones = 7, 9 do	numbers[20 + ones] = { cardinal = numbers[20].cardinal .. " " .. numbers[ones].cardinal, ordinal = numbers[20].cardinal .. " " .. numbers[ones].ordinal, adverbial = numbers[20].cardinal .. " " .. numbers[ones].adverbial, multiplier = numbers[20].cardinal .. " " .. numbers[ones].multiplier, distributive = numbers[20].cardinal .. " " .. numbers[ones].distributive, } end

for ones = 3, 5 do	numbers[30 + ones] = { cardinal = numbers[30].cardinal .. " " .. numbers[ones].cardinal, ordinal = numbers[30].cardinal .. " " .. numbers[ones].ordinal, adverbial = numbers[30].cardinal .. " " .. numbers[ones].adverbial, multiplier = numbers[30].cardinal .. " " .. numbers[ones].multiplier, distributive = numbers[30].cardinal .. " " .. numbers[ones].distributive, } end

for ones = 7, 9 do	numbers[30 + ones] = { cardinal = numbers[30].cardinal .. " " .. numbers[ones].cardinal, ordinal = numbers[30].cardinal .. " " .. numbers[ones].ordinal, adverbial = numbers[30].cardinal .. " " .. numbers[ones].adverbial, multiplier = numbers[30].cardinal .. " " .. numbers[ones].multiplier, distributive = numbers[30].cardinal .. " " .. numbers[ones].distributive, } end

numbers[4].cardinal = "ᡩ᠋ᡠ᠋ᡳ᠌ᠨ" numbers[7].cardinal = "ᠨᠠᡩ᠋ᠠᠨ"

return export