Jump to content

Module:number list/data/haw

From Wiktionary, the free dictionary

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

Number Base form Cardinal Ordinal Distributive Fractional
0 ʻole ʻole
1 kahi hoʻokahi, ʻekahi mua pākahi
2 lua ʻelua lua pālua hapalua
3 kolu ʻekolu kolu pākolu hapakolu
4 ʻehā, (traditional) kāuna pāhā hapahā
5 lima ʻelima lima pālima hapalima
6 ono ʻeono ono pāono hapaono
7 hiku ʻehiku hiku pāhiku hapahiku
8 walu ʻewalu walu pāwalu hapawalu
9 iwa ʻeiwa iwa pāiwa hapaiwa
10 ʻumi ʻumi ʻumi pāʻumi hapaʻumi
11 ʻumikūmākahi
12 ʻumikūmālua
13 ʻumikūmākolu
14 ʻumikūmāhā
15 ʻumikūmālima
16 ʻumikūmāono
17 ʻumikūmāhiku
18 ʻumikūmāwalu
19 ʻumikūmāiwa
20 iwakālua pāiwakālua
21 iwakāluakūmākahi
22 iwakāluakūmālua
23 iwakāluakūmākolu
24 iwakāluakūmāhā
25 iwakāluakūmālima
26 iwakāluakūmāono
27 iwakāluakūmāhiku
28 iwakāluakūmāwalu
29 iwakāluakūmāiwa
30 kanakolu pākanakolu
31 kanakolukūmākahi
32 kanakolukūmālua
33 kanakolukūmākolu
34 kanakolukūmāhā
35 kanakolukūmālima
36 kanakolukūmāono
37 kanakolukūmāhiku
38 kanakolukūmāwalu
39 kanakolukūmāiwa
40 kanahā, (traditional) kaʻau pākanahā
41 kanahākūmākahi
42 kanahākūmālua
43 kanahākūmākolu
44 kanahākūmāhā
45 kanahākūmālima
46 kanahākūmāono
47 kanahākūmāhiku
48 kanahākūmāwalu
49 kanahākūmāiwa
50 kanalima pākanalima
51 kanalimakūmākahi
52 kanalimakūmālua
53 kanalimakūmākolu
54 kanalimakūmāhā
55 kanalimakūmālima
56 kanalimakūmāono
57 kanalimakūmāhiku
58 kanalimakūmāwalu
59 kanalimakūmāiwa
60 kanaono pākanaono
61 kanaonokūmākahi
62 kanaonokūmālua
63 kanaonokūmākolu
64 kanaonokūmāhā
65 kanaonokūmālima
66 kanaonokūmāono
67 kanaonokūmāhiku
68 kanaonokūmāwalu
69 kanaonokūmāiwa
70 kanahiku pākanahiku
71 kanahikukūmākahi
72 kanahikukūmālua
73 kanahikukūmākolu
74 kanahikukūmāhā
75 kanahikukūmālima
76 kanahikukūmāono
77 kanahikukūmāhiku
78 kanahikukūmāwalu
79 kanahikukūmāiwa
80 kanawalu pākanawalu
81 kanawalukūmākahi
82 kanawalukūmālua
83 kanawalukūmākolu
84 kanawalukūmāhā
85 kanawalukūmālima
86 kanawalukūmāono
87 kanawalukūmāhiku
88 kanawalukūmāwalu
89 kanawalukūmāiwa
90 kanaiwa pākanaiwa
91 kanaiwakūmākahi
92 kanaiwakūmālua
93 kanaiwakūmākolu
94 kanaiwakūmāhā
95 kanaiwakūmālima
96 kanaiwakūmāono
97 kanaiwakūmāhiku
98 kanaiwakūmāwalu
99 kanaiwakūmāiwa
100 hoʻokahi haneli, (used in compounds) haneli pāhaneli
400 ʻehā haneli, (traditional) lau
1,000 hoʻokahi kaukani, (used in compounds) kaukani pākaukani
4,000 ʻehā kaukani, (traditional) mano
40,000 kanahā kaukani, (traditional) kini
400,000 ʻehā haneli kaukani, (traditional, disputed) lehulehu
1,000,000 (106) miliona pāmiliona
1,000,000,000 (109) piliona pāpiliona
1012 kiliona pākiliona

local export = {numbers = {}}

local numbers = export.numbers

export.additional_number_types = {
	{ key = "base", display = "Base form", before = "cardinal" },
}

local card_pre = "ʻe"
local dist_pre = "pā"
local frac_pre = "hapa"
local plus = "kūmā"
local ten_pre = "kana"

numbers[0] = {
	base = "ʻole",
	cardinal = "ʻole",
}
numbers[1] = {
	base = "kahi",
}

numbers[2] = {
	base = "lua",
}

numbers[3] = {
	base = "kolu",
}

numbers[4] = {
	base = "hā",
}

numbers[5] = {
	base = "lima",
}

numbers[6] = {
	base = "ono",
}

numbers[7] = {
	base = "hiku",
}

numbers[8] = {
	base = "walu",
}

numbers[9] = {
	base = "iwa",
}

-- Create cardinal + ordinal for 1-9
for number = 1, 9 do 
	numbers[number].cardinal = card_pre .. numbers[number].base 
	if number ~= 1 then
		numbers[number].ordinal = numbers[number].base
	else 
		numbers[number].ordinal = "mua"
	end
end

numbers[10] = {
	base = "ʻumi",
	cardinal = "ʻumi",
	ordinal = "ʻumi",
}

-- Create distributives + fractionals
for number = 1, 10 do
	numbers[number].distributive = dist_pre .. numbers[number].base 
	if number ~= 1 then
		numbers[number].fractional = frac_pre .. numbers[number].base 
	end
end 

-- Create teens
for number = 11, 19 do
	base_num = number - 10
	ten = numbers[10].cardinal 
	numbers[number] = {
		cardinal = ten .. plus .. numbers[base_num].base
	}
end

numbers[20] = {
	cardinal = "iwakālua",
	distributive = "pāiwakālua",
}

-- Create twenties
for number = 21, 29 do
	base_num = number - 20
	twenty = numbers[20].cardinal 
	numbers[number] = {
		cardinal = twenty .. plus .. numbers[base_num].base
	}
end

-- Create tens + in-betweens
for number = 3, 9 do
	tens = number * 10
	numbers[tens] = {
		cardinal = ten_pre .. numbers[number].base
	}
	tens_card = numbers[tens].cardinal
	numbers[tens].distributive = dist_pre .. tens_card
	for ones = 1,9 do
		numbers[tens + ones] = {
			cardinal = tens_card .. plus .. numbers[ones].base
		}
	end
end

numbers[100] = {
	cardinal = {"hoʻokahi haneli","haneli<q:used in compounds>"},
	distributive = "pāhaneli",
}

numbers[1000] = {
	cardinal = {"hoʻokahi kaukani","kaukani<q:used in compounds>"},
	distributive = "pākaukani",
}

numbers[1000000] = {
	cardinal = "miliona",
	distributive = "pāmiliona",
}

numbers[1000000000] = {
	cardinal = "piliona",
	distributive = "pāpiliona",
}

numbers[1000000000000] = {
	cardinal = "kiliona",
	distributive = "pākiliona",
}

-- Update "1" cardinal
numbers[1].cardinal = {"hoʻokahi", numbers[1].cardinal}

-- Add base-4 numerals
numbers[4].cardinal = {numbers[4].cardinal, "kāuna<q:traditional>"}
numbers[40].cardinal = {numbers[40].cardinal, "kaʻau<q:traditional>"}
numbers[400] = {
	cardinal = {"[[ʻehā]] [[haneli]]", "lau<q:traditional>"}
}
numbers[4000] = {
	cardinal = {"[[ʻehā]] [[kaukani]]", "mano<q:traditional>"}
}
numbers[40000] = {
	cardinal = {"[[kanahā]] [[kaukani]]", "kini<q:traditional>"}
}
numbers[400000] = {
	cardinal = {"[[ʻehā]] [[haneli]] [[kaukani]]", "lehulehu<q:traditional, disputed>"}
}

return export