Module:number list/data/anrdg

< Module:number list
Revision as of 19:51, 22 November 2023 by Astaryuu (talk | contribs)

This module contains data on various types of numbers in Rokadong.

Number Cardinal Ordinal
0 iNiK (niki) nih (nih)
1 AiK (aki) AKN (akan)
2 eD (de) DueN (dune)
3 R (ra) eLeN (lene)
4 Ko (ko) eKeNn (kenen)
5 iM] (ming) iMNA (miná)
6 RoK (roka) iRKun (rikun)
7 pita (pita) péngga (péngga)
8 hari (hari) bari (bari)
9 nyan (nyan) nani (nani)
10 kani (kani) kanih (kanih)
11 kero (kero) tana (tana)
12 kedre (kedre) kedi (kedi)
13 akira (akira) malene (malene)
14 akiko (akiko) makenen (makenen)
15 akiming (akiming) maminá (maminá)
16 akiroka (akiroka) marikun (marikun)
17 akipita (akipita) mapéngga (mapéngga)
18 akihari (akihari) mabari (mabari)
19 akinyan (akinyan) manani (manani)
20 dekani (dekani) dukanih (dukanih)
21 dekanaki (dekanaki) dukan (dukan)
22 [[Contionary:dekande<<tr:dekande<>#|dekande<<tr:dekande<>]] dukandun (dukandun)
23 [[Contionary:dekanra<<tr:dekanra<>#|dekanra<<tr:dekanra<>]] dukanlen (dukanlen)
24 [[Contionary:dekanko<<tr:dekanko<>#|dekanko<<tr:dekanko<>]] dukanken (dukanken)
25 [[Contionary:dekanming<<tr:dekanming<>#|dekanming<<tr:dekanming<>]] [[Contionary:dukanminá<<tr:dukanminá<>#|dukanminá<<tr:dukanminá<>]]
26 [[Contionary:dekanroka<<tr:dekanroka<>#|dekanroka<<tr:dekanroka<>]] dukanrikun (dukanrikun)
27 [[Contionary:dekanpita<<tr:dekanpita<>#|dekanpita<<tr:dekanpita<>]] dukanpéngg (dukanpéngg)
28 [[Contionary:dekanhari<<tr:dekanhari<>#|dekanhari<<tr:dekanhari<>]] [[Contionary:dukanbari<<tr:dukanbari<>#|dukanbari<<tr:dukanbari<>]]
29 [[Contionary:dekannyan<<tr:dekannyan<>#|dekannyan<<tr:dekannyan<>]] [[Contionary:dukannani<<tr:dukannani<>#|dukannani<<tr:dukannani<>]]
30 rakani (rakani) lekanih (lekanih)
31 rakanaki (rakanaki) lekan (lekan)
32 [[Contionary:rakande<<tr:rakande<>#|rakande<<tr:rakande<>]] lekandun (lekandun)
33 [[Contionary:rakanra<<tr:rakanra<>#|rakanra<<tr:rakanra<>]] lekanlen (lekanlen)
34 [[Contionary:rakanko<<tr:rakanko<>#|rakanko<<tr:rakanko<>]] lekanken (lekanken)
35 [[Contionary:rakanming<<tr:rakanming<>#|rakanming<<tr:rakanming<>]] [[Contionary:lekanminá<<tr:lekanminá<>#|lekanminá<<tr:lekanminá<>]]
36 [[Contionary:rakanroka<<tr:rakanroka<>#|rakanroka<<tr:rakanroka<>]] lekanrikun (lekanrikun)
37 [[Contionary:rakanpita<<tr:rakanpita<>#|rakanpita<<tr:rakanpita<>]] lekanpéngg (lekanpéngg)
38 [[Contionary:rakanhari<<tr:rakanhari<>#|rakanhari<<tr:rakanhari<>]] [[Contionary:lekanbari<<tr:lekanbari<>#|lekanbari<<tr:lekanbari<>]]
39 [[Contionary:rakannyan<<tr:rakannyan<>#|rakannyan<<tr:rakannyan<>]] [[Contionary:lekannani<<tr:lekannani<>#|lekannani<<tr:lekannani<>]]
40 kokani (kokani) kekanih (kekanih)
41 kokanaki (kokanaki) kekan (kekan)
42 [[Contionary:kokande<<tr:kokande<>#|kokande<<tr:kokande<>]] kekandun (kekandun)
43 [[Contionary:kokanra<<tr:kokanra<>#|kokanra<<tr:kokanra<>]] kekanlen (kekanlen)
44 [[Contionary:kokanko<<tr:kokanko<>#|kokanko<<tr:kokanko<>]] kekanken (kekanken)
45 [[Contionary:kokanming<<tr:kokanming<>#|kokanming<<tr:kokanming<>]] [[Contionary:kekanminá<<tr:kekanminá<>#|kekanminá<<tr:kekanminá<>]]
46 [[Contionary:kokanroka<<tr:kokanroka<>#|kokanroka<<tr:kokanroka<>]] kekanrikun (kekanrikun)
47 [[Contionary:kokanpita<<tr:kokanpita<>#|kokanpita<<tr:kokanpita<>]] kekanpéngg (kekanpéngg)
48 [[Contionary:kokanhari<<tr:kokanhari<>#|kokanhari<<tr:kokanhari<>]] [[Contionary:kekanbari<<tr:kekanbari<>#|kekanbari<<tr:kekanbari<>]]
49 [[Contionary:kokannyan<<tr:kokannyan<>#|kokannyan<<tr:kokannyan<>]] [[Contionary:kekannani<<tr:kekannani<>#|kekannani<<tr:kekannani<>]]
50 mingkani (mingkani) mikanih (mikanih)
51 mingkanaki (mingkanaki) mikan (mikan)
52 [[Contionary:mingkande<<tr:mingkande<>#|mingkande<<tr:mingkande<>]] mikandun (mikandun)
53 [[Contionary:mingkanra<<tr:mingkanra<>#|mingkanra<<tr:mingkanra<>]] mikanlen (mikanlen)
54 [[Contionary:mingkanko<<tr:mingkanko<>#|mingkanko<<tr:mingkanko<>]] mikanken (mikanken)
55 [[Contionary:mingkanming<<tr:mingkanming<>#|mingkanming<<tr:mingkanming<>]] [[Contionary:mikanminá<<tr:mikanminá<>#|mikanminá<<tr:mikanminá<>]]
56 [[Contionary:mingkanroka<<tr:mingkanroka<>#|mingkanroka<<tr:mingkanroka<>]] mikanrikun (mikanrikun)
57 [[Contionary:mingkanpita<<tr:mingkanpita<>#|mingkanpita<<tr:mingkanpita<>]] mikanpéngg (mikanpéngg)
58 [[Contionary:mingkanhari<<tr:mingkanhari<>#|mingkanhari<<tr:mingkanhari<>]] [[Contionary:mikanbari<<tr:mikanbari<>#|mikanbari<<tr:mikanbari<>]]
59 [[Contionary:mingkannyan<<tr:mingkannyan<>#|mingkannyan<<tr:mingkannyan<>]] [[Contionary:mikannani<<tr:mikannani<>#|mikannani<<tr:mikannani<>]]
60 rokakani (rokakani) rikanih (rikanih)
61 rokakanaki (rokakanaki) rikan (rikan)
62 [[Contionary:rokakande<<tr:rokakande<>#|rokakande<<tr:rokakande<>]] rikandun (rikandun)
63 [[Contionary:rokakanra<<tr:rokakanra<>#|rokakanra<<tr:rokakanra<>]] rikanlen (rikanlen)
64 [[Contionary:rokakanko<<tr:rokakanko<>#|rokakanko<<tr:rokakanko<>]] rikanken (rikanken)
65 [[Contionary:rokakanming<<tr:rokakanming<>#|rokakanming<<tr:rokakanming<>]] [[Contionary:rikanminá<<tr:rikanminá<>#|rikanminá<<tr:rikanminá<>]]
66 [[Contionary:rokakanroka<<tr:rokakanroka<>#|rokakanroka<<tr:rokakanroka<>]] rikanrikun (rikanrikun)
67 [[Contionary:rokakanpita<<tr:rokakanpita<>#|rokakanpita<<tr:rokakanpita<>]] rikanpéngg (rikanpéngg)
68 [[Contionary:rokakanhari<<tr:rokakanhari<>#|rokakanhari<<tr:rokakanhari<>]] [[Contionary:rikanbari<<tr:rikanbari<>#|rikanbari<<tr:rikanbari<>]]
69 [[Contionary:rokakannyan<<tr:rokakannyan<>#|rokakannyan<<tr:rokakannyan<>]] [[Contionary:rikannani<<tr:rikannani<>#|rikannani<<tr:rikannani<>]]
70 pitakani (pitakani) pékanih (pékanih)
71 pitakanaki (pitakanaki) pékan (pékan)
72 [[Contionary:pitakande<<tr:pitakande<>#|pitakande<<tr:pitakande<>]] pékandun (pékandun)
73 [[Contionary:pitakanra<<tr:pitakanra<>#|pitakanra<<tr:pitakanra<>]] pékanlen (pékanlen)
74 [[Contionary:pitakanko<<tr:pitakanko<>#|pitakanko<<tr:pitakanko<>]] pékanken (pékanken)
75 [[Contionary:pitakanming<<tr:pitakanming<>#|pitakanming<<tr:pitakanming<>]] [[Contionary:pékanminá<<tr:pékanminá<>#|pékanminá<<tr:pékanminá<>]]
76 [[Contionary:pitakanroka<<tr:pitakanroka<>#|pitakanroka<<tr:pitakanroka<>]] pékanrikun (pékanrikun)
77 [[Contionary:pitakanpita<<tr:pitakanpita<>#|pitakanpita<<tr:pitakanpita<>]] pékanpéngg (pékanpéngg)
78 [[Contionary:pitakanhari<<tr:pitakanhari<>#|pitakanhari<<tr:pitakanhari<>]] [[Contionary:pékanbari<<tr:pékanbari<>#|pékanbari<<tr:pékanbari<>]]
79 [[Contionary:pitakannyan<<tr:pitakannyan<>#|pitakannyan<<tr:pitakannyan<>]] [[Contionary:pékannani<<tr:pékannani<>#|pékannani<<tr:pékannani<>]]
80 harikani (harikani) bakanih (bakanih)
81 harikanaki (harikanaki) bakan (bakan)
82 [[Contionary:harikande<<tr:harikande<>#|harikande<<tr:harikande<>]] bakandun (bakandun)
83 [[Contionary:harikanra<<tr:harikanra<>#|harikanra<<tr:harikanra<>]] bakanlen (bakanlen)
84 [[Contionary:harikanko<<tr:harikanko<>#|harikanko<<tr:harikanko<>]] bakanken (bakanken)
85 [[Contionary:harikanming<<tr:harikanming<>#|harikanming<<tr:harikanming<>]] [[Contionary:bakanminá<<tr:bakanminá<>#|bakanminá<<tr:bakanminá<>]]
86 [[Contionary:harikanroka<<tr:harikanroka<>#|harikanroka<<tr:harikanroka<>]] bakanrikun (bakanrikun)
87 [[Contionary:harikanpita<<tr:harikanpita<>#|harikanpita<<tr:harikanpita<>]] bakanpéngg (bakanpéngg)
88 [[Contionary:harikanhari<<tr:harikanhari<>#|harikanhari<<tr:harikanhari<>]] [[Contionary:bakanbari<<tr:bakanbari<>#|bakanbari<<tr:bakanbari<>]]
89 [[Contionary:harikannyan<<tr:harikannyan<>#|harikannyan<<tr:harikannyan<>]] [[Contionary:bakannani<<tr:bakannani<>#|bakannani<<tr:bakannani<>]]
90 nanikani (nanikani) nakanih (nakanih)
91 nanikanaki (nanikanaki) nakan (nakan)
92 [[Contionary:nanikande<<tr:nanikande<>#|nanikande<<tr:nanikande<>]] nakandun (nakandun)
93 [[Contionary:nanikanra<<tr:nanikanra<>#|nanikanra<<tr:nanikanra<>]] nakanlen (nakanlen)
94 [[Contionary:nanikanko<<tr:nanikanko<>#|nanikanko<<tr:nanikanko<>]] nakanken (nakanken)
95 [[Contionary:nanikanming<<tr:nanikanming<>#|nanikanming<<tr:nanikanming<>]] [[Contionary:nakanminá<<tr:nakanminá<>#|nakanminá<<tr:nakanminá<>]]
96 [[Contionary:nanikanroka<<tr:nanikanroka<>#|nanikanroka<<tr:nanikanroka<>]] nakanrikun (nakanrikun)
97 [[Contionary:nanikanpita<<tr:nanikanpita<>#|nanikanpita<<tr:nanikanpita<>]] nakanpéngg (nakanpéngg)
98 [[Contionary:nanikanhari<<tr:nanikanhari<>#|nanikanhari<<tr:nanikanhari<>]] [[Contionary:nakanbari<<tr:nakanbari<>#|nakanbari<<tr:nakanbari<>]]
99 [[Contionary:nanikannyan<<tr:nanikannyan<>#|nanikannyan<<tr:nanikannyan<>]] [[Contionary:nakannani<<tr:nakannani<>#|nakannani<<tr:nakannani<>]]
100 gung (gung) gung (gung)
200 degung (degung) dugung (dugung)
300 ragung (ragung) legung (legung)
400 kogung (kogung) kegung (kegung)
500 minggung (minggung) migung (migung)
600 rokagung (rokagung) rigung (rigung)
700 pitagung (pitagung) pégung (pégung)
800 harigung (harigung) bagung (bagung)
900 nyanggung (nyanggung) nagung (nagung)
1,000 rong (rong) rong (rong)
2,000 derong (derong) durong (durong)
3,000 rarong (rarong) lerong (lerong)
4,000 korong (korong) kerong (kerong)
5,000 mingrong (mingrong) mirong (mirong)
6,000 rokarong (rokarong) rilong (rilong)
7,000 pitarong (pitarong) pérong (pérong)
8,000 harirong (harirong) barong (barong)
9,000 nyanrong (nyanrong) narong (narong)
10,000 móku (móku) móku (móku)


local export = {numbers = {}}

local numbers = export.numbers

-- Delete any number types that don't apply.
numbers[0] = {
	cardinal = "niki<tr:niki><alt:iNiK>",
	ordinal = "nih<tr:nih>",
}

numbers[1] = {
	cardinal = "aki<tr:aki><alt:AiK>",
	ordinal = "akan<tr:akan><alt:AKN>",
}

numbers[2] = {
	cardinal = "de<tr:de><alt:eD>",
	ordinal = "dune<tr:dune><alt:DueN>",
}

numbers[3] = {
	cardinal = "ra<tr:ra><alt:R>",
	ordinal = "lene<tr:lene><alt:eLeN>",
}

numbers[4] = {
	cardinal = "ko<tr:ko><alt:Ko>",
	ordinal = "kenen<tr:kenen><alt:eKeNn>",
}

numbers[5] = {
	cardinal = "ming<tr:ming><alt:iM]>",
	ordinal = "miná<tr:miná><alt:iMNA>",
}

numbers[6] = {
	cardinal = "roka<tr:roka><alt:RoK>",
	ordinal = "rikun<tr:rikun><alt:iRKun>",
}

numbers[7] = {
	cardinal = "pita<tr:pita>",
	ordinal = "péngga<tr:péngga>",
}

numbers[8] = {
	cardinal = "hari<tr:hari>",
	ordinal = "bari<tr:bari>",
}

numbers[9] = {
	cardinal = "nyan<tr:nyan>",
	ordinal = "nani<tr:nani>",
}

numbers[10] = {
	cardinal = "kani<tr:kani>",
	ordinal = "kanih<tr:kanih>",
}

numbers[11] = {
	cardinal = "kero<tr:kero>",
	ordinal = "tana<tr:tana>",
}

numbers[12] = {
	cardinal = "kedre<tr:kedre>",
	ordinal = "kedi<tr:kedi>",
}

numbers[13] = {
	cardinal = "akira<tr:akira>",
	ordinal = "malene<tr:malene>",
}

numbers[14] = {
	cardinal = "akiko<tr:akiko>",
	ordinal = "makenen<tr:makenen>",
}

numbers[15] = {
	cardinal = "akiming<tr:akiming>",
	ordinal = "maminá<tr:maminá>",
}

numbers[16] = {
	cardinal = "akiroka<tr:akiroka>",
	ordinal = "marikun<tr:marikun>",
}

numbers[17] = {
	cardinal = "akipita<tr:akipita>",
	ordinal = "mapéngga<tr:mapéngga>",
}

numbers[18] = {
	cardinal = "akihari<tr:akihari>",
	ordinal = "mabari<tr:mabari>",
}

numbers[19] = {
	cardinal = "akinyan<tr:akinyan>",
	ordinal = "manani<tr:manani>",
}

local compose, decompose = mw.ustring.toNFC, mw.ustring.toNFD

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, tens_ordinal in unpack_ipairs {
	{ "dekan", "dukan" },
	{ "rakan", "lekan" },
	{ "kokan", "kekan" },
	{ "mingkan", "mikan" },
	{ "rokakan", "rikan" },
	{ "pitakan", "pékan" },
	{ "harikan", "bakan" },
	{ "nanikan", "nakan" },
} do
	local tens = (i + 1) * 10
	numbers[tens] = {
		cardinal = tens_cardinal .. "i<tr:" .. tens_cardinal .. "i>",
		ordinal = tens_ordinal .. "ih<tr:" .. tens_ordinal .. "ih>"
	}
	local elevens = tens + 1
	numbers[elevens] = {
		cardinal = tens_cardinal .. "aki<tr:" .. tens_cardinal .. "aki>",
		ordinal = tens_ordinal .. "<tr:" .. tens_ordinal .. ">"
	}
	for ones = 2, 9 do
		local ones_cardinal = mw.ustring.sub(numbers[ones].cardinal,0,mw.ustring.find(numbers[ones].cardinal,'<'))
		local ones_ordinal = mw.ustring.sub(numbers[ones].ordinal,0,mw.ustring.find(numbers[ones].cardinal,'<'))
		numbers[tens + ones] = {
			ordinal = tens_ordinal .. ones_ordinal .. "<tr:" .. tens_ordinal .. ones_ordinal .. ">",
			cardinal = tens_cardinal .. ones_cardinal .. "<tr:" .. tens_cardinal .. ones_cardinal .. ">"
		}
	end
end

numbers[100] = {
	cardinal = "gung<tr:gung>",
	ordinal = "gung<tr:gung>",
}

numbers[200] = {
	cardinal = "degung<tr:degung>",
	ordinal = "dugung<tr:dugung>",
}

numbers[300] = {
	cardinal = "ragung<tr:ragung>",
	ordinal = "legung<tr:legung>",
}

numbers[400] = {
	cardinal = "kogung<tr:kogung>",
	ordinal = "kegung<tr:kegung>",
}

numbers[500] = {
	cardinal = "minggung<tr:minggung>",
	ordinal = "migung<tr:migung>",
}

numbers[600] = {
	cardinal = "rokagung<tr:rokagung>",
	ordinal = "rigung<tr:rigung>",
}

numbers[700] = {
	cardinal = "pitagung<tr:pitagung>",
	ordinal = "pégung<tr:pégung>",
}

numbers[800] = {
	cardinal = "harigung<tr:harigung>",
	ordinal = "bagung<tr:bagung>",
}

numbers[900] = {
	cardinal = "nyanggung<tr:nyanggung>",
	ordinal = "nagung<tr:nagung>",
}

numbers[1000] = {
	cardinal = "rong<tr:rong>",
	ordinal = "rong<tr:rong>",
}

numbers[2000] = {
	cardinal = "derong<tr:derong>",
	ordinal = "durong<tr:durong>",
}

numbers[3000] = {
	cardinal = "rarong<tr:rarong>",
	ordinal = "lerong<tr:lerong>",
}

numbers[4000] = {
	cardinal = "korong<tr:korong>",
	ordinal = "kerong<tr:kerong>",
}

numbers[5000] = {
	cardinal = "mingrong<tr:mingrong>",
	ordinal = "mirong<tr:mirong>",
}

numbers[6000] = {
	cardinal = "rokarong<tr:rokarong>",
	ordinal = "rilong<tr:rilong>",
}

numbers[7000] = {
	cardinal = "pitarong<tr:pitarong>",
	ordinal = "pérong<tr:pérong>",
}

numbers[8000] = {
	cardinal = "harirong<tr:harirong>",
	ordinal = "barong<tr:barong>",
}

numbers[9000] = {
	cardinal = "nyanrong<tr:nyanrong>",
	ordinal = "narong<tr:narong>",
}

numbers[10000] = {
	cardinal = "móku<tr:móku>",
	ordinal = "móku<tr:móku>",
}

--[[
numbers[] = {
	cardinal = "",
	ordinal = "",
	fractional = "",
}

numbers[] = {
	cardinal = "",
	ordinal = "",
	fractional = "",
}
--]]

return export