Module:number list/data/anrdg: Difference between revisions

From Linguifex
Jump to navigation Jump to search
(Created page with "local export = {numbers = {}} local numbers = export.numbers -- Delete any number types that don't apply. numbers[0] = { cardinal = "niki", ordinal = "nih", } numbers[1] = { cardinal = "aki", ordinal = "akan", } numbers[2] = { cardinal = "de", ordinal = "dune", } numbers[3] = { cardinal = "ra", ordinal = "lene", } numbers[4] = { cardinal = "ko", ordinal = "kenen", } numbers[5] = { cardinal = "ming", ordinal = "miná", } numbers[6] = { cardinal = "rok...")
 
No edit summary
Line 139: Line 139:
local ones_cardinal = numbers[ones].cardinal
local ones_cardinal = numbers[ones].cardinal
local ones_ordinal = numbers[ones].ordinal
local ones_ordinal = numbers[ones].ordinal
number.ordinal = tens_ordinal .. ones_ordinal
numbers[tens + ones] = {
number.cardinal = tens_cardinal .. ones_cardinal
ordinal = tens_ordinal .. ones_ordinal,
cardinal = tens_cardinal .. ones_cardinal
}
end
end
end
end

Revision as of 05:05, 22 November 2023

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

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


local export = {numbers = {}}

local numbers = export.numbers

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

numbers[1] = {
	cardinal = "aki",
	ordinal = "akan",
}

numbers[2] = {
	cardinal = "de",
	ordinal = "dune",
}

numbers[3] = {
	cardinal = "ra",
	ordinal = "lene",
}

numbers[4] = {
	cardinal = "ko",
	ordinal = "kenen",
}

numbers[5] = {
	cardinal = "ming",
	ordinal = "miná",
}

numbers[6] = {
	cardinal = "roka",
	ordinal = "rikun",
}

numbers[7] = {
	cardinal = "pita",
	ordinal = "péngga",
}

numbers[8] = {
	cardinal = "hari",
	ordinal = "bari",
}

numbers[9] = {
	cardinal = "nyan",
	ordinal = "nani",
}

numbers[10] = {
	cardinal = "kani",
	ordinal = "kanih",
}

numbers[11] = {
	cardinal = "kero",
	ordinal = "tana",
}

numbers[12] = {
	cardinal = "kedre",
	ordinal = "kedi",
}

numbers[13] = {
	cardinal = "akira",
	ordinal = "malene",
}

numbers[14] = {
	cardinal = "akiko",
	ordinal = "makenen",
}

numbers[15] = {
	cardinal = "akiming",
	ordinal = "maminá",
}

numbers[16] = {
	cardinal = "akiroka",
	ordinal = "marikun",
}

numbers[17] = {
	cardinal = "akipita",
	ordinal = "mapéngga",
}

numbers[18] = {
	cardinal = "akihari",
	ordinal = "mabari",
}

numbers[19] = {
	cardinal = "akinyan",
	ordinal = "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",
		ordinal = tens_ordinal .. "ih"
	}
	local elevens = tens + 1
	numbers[elevens] = {
		cardinal = tens_cardinal .. "aki",
		ordinal = tens_ordinal
	}
	for ones = 2, 9 do
		local ones_cardinal = numbers[ones].cardinal
		local ones_ordinal = numbers[ones].ordinal
		numbers[tens + ones] = {
			ordinal = tens_ordinal .. ones_ordinal,
			cardinal = tens_cardinal .. ones_cardinal
		}
	end
end

numbers[100] = {
	cardinal = "gung",
	ordinal = "gung",
}

numbers[200] = {
	cardinal = "degung",
	ordinal = "dugung",
}

numbers[300] = {
	cardinal = "ragung",
	ordinal = "legung",
}

numbers[400] = {
	cardinal = "kogung",
	ordinal = "kegung",
}

numbers[500] = {
	cardinal = "minggung",
	ordinal = "migung",
}

numbers[600] = {
	cardinal = "rokagung",
	ordinal = "rigung",
}

numbers[700] = {
	cardinal = "pitagung",
	ordinal = "pégung",
}

numbers[800] = {
	cardinal = "harigung",
	ordinal = "bagung",
}

numbers[900] = {
	cardinal = "nyanggung",
	ordinal = "nagung",
}

numbers[1000] = {
	cardinal = "rong",
	ordinal = "rong",
}

numbers[2000] = {
	cardinal = "derong",
	ordinal = "durong",
}

numbers[3000] = {
	cardinal = "rarong",
	ordinal = "lerong",
}

numbers[4000] = {
	cardinal = "korong",
	ordinal = "kerong",
}

numbers[5000] = {
	cardinal = "mingrong",
	ordinal = "mirong",
}

numbers[6000] = {
	cardinal = "rokarong",
	ordinal = "rilong",
}

numbers[7000] = {
	cardinal = "pitarong",
	ordinal = "pérong",
}

numbers[8000] = {
	cardinal = "harirong",
	ordinal = "barong",
}

numbers[9000] = {
	cardinal = "nyanrong",
	ordinal = "narong",
}

numbers[10000] = {
	cardinal = "móku",
	ordinal = "móku",
}

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

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

return export