This module contains data on various types of numbers in เชจู.

จำนวน Native isol. Native attr. Sino เชิงอันดับที่ Number of days
1 ᄒᆞ나 (hawna) ᄒᆞᆫ (hawn) (il) 첫체 (cheotche) ᄒᆞ루 (hawru), ᄒᆞ를 (hawreul), ᄒᆞ르 (hawreu)
2 (dul) (du) (i) 둘체 (dulche) 이틀 (iteul)
3 (sit), (suit), (set), 서이 (seoi) (si), (sui), (se), (seok), (seo) ᄉᆞᆷ (sawm), (sam) 싯체 (sitche), 싓체 (suitche) ᄉᆞ을 (saweul), ᄉᆞ흘 (sawheul), 사을 (sa'eul), 사흘 (saheul)
4 (nit), (nuit), (net), 너이 (neoi) (ni), (nui), (ne) ᄉᆞ (saw) 닛체 (nitche), 늿체 (nuitche) 나을 (na'eul), 나흘 (naheul)
5 다ᄉᆞᆺ (dasawt), 다섯 (daseot), 다슷 (daseut) 다ᄉᆞᆺ (dasawt), 다섯 (daseot), 다슷 (daseut) (o) 다ᄉᆞᆺ체 (dasawtche) 닷쉐 (datswe), 닷세 (datse)
6 ᄋᆢᄉᆞᆺ (yawsawt), 여섯 (yeoseot) ᄋᆢᄉᆞᆺ (yawsawt), 여섯 (yeoseot) (yuk) ᄋᆢᄉᆞᆺ체 (yawsawtche) ᄋᆢᆺ쉐 (yawtswe), 엿쉐 (yeotswe)
7 일곱 (ilgop) 일곱 (ilgop) (chil) 일곱체 (ilgopche) 일뤠 (illwe)
8 ᄋᆢᄃᆞᆸ (yawdawp), ᄋᆢ답 (yawdap), ᄋᆢᄃᆞᆯ (yawdawl) ᄋᆢᄃᆞᆸ (yawdawp), ᄋᆢ답 (yawdap), ᄋᆢᄃᆞᆯ (yawdawl) (pal) ᄋᆢᄃᆞᆸ체 (yawdawpche) ᄋᆢ드레 (yawdeure), 여드레 (yeodeure)
9 아옵 (aop), 아홉 (ahop) 아옵 (aop), 아홉 (ahop) (gu) 아옵체 (aopche) 아흐레 (aheure), 아으레 (a'eure)
10 (yeol) (yeol) (sip) 열체 (yeolche) 열흘 (yeolheul)
11 열ᄒᆞ나 (yeolhawna) 열ᄒᆞᆫ (yeolhawn) 십일 (sibil)
12 열둘 (yeoldul) 열두 (yeoldu) 십이 (sibi)
13 열싯 (yeolsit), 열싓 (yeolsuit) 열시 (yeolsi), 열싀 (yeolsui) 십ᄉᆞᆷ (sipsawm)
14 열닛 (yeollit), 열늿 (yeolluit) 열니 (yeolli), 열늬 (yeollui) 십ᄉᆞ (sipsaw)
15 열다ᄉᆞᆺ (yeoldasawt) 열다ᄉᆞᆺ (yeoldasawt) 십오 (sibo) 보름 (boreum), 보롬 (borom)
16 열ᄋᆢᄉᆞᆺ (yeoryawsawt), 열여섯 (yeoryeoseot) 열ᄋᆢᄉᆞᆺ (yeoryawsawt), 열여섯 (yeoryeoseot) 십육 (sibyuk)
17 열일곱 (yeorilgop) 열일곱 (yeorilgop) 십칠 (sipchil)
18 열ᄋᆢᄃᆞᆸ (yeoryawdawp) 열ᄋᆢᄃᆞᆸ (yeoryawdawp) 십팔 (sippal)
19 열아옵 (yeoraop) 열아옵 (yeoraop) 십구 (sipgu)
20 스물 (seumul), 수물 (sumul), 싀물 (suimul), 쑤물 (ssumul) 스무 (seumu), 수무 (sumu) 이십 (isip)
30 서른 (seoreun), 설른 (seolleun), 설흔 (seolheun) 서른 (seoreun), 설른 (seolleun), 설흔 (seolheun) ᄉᆞᆷ십 (sawmsip)
40 마은 (ma'eun), 마흔 (maheun) 마은 (ma'eun), 마흔 (maheun) ᄉᆞ십 (sawsip)
50 (swin) (swin) 오십 (osip)
60 예쉰 (yeswin), 예순 (yesun) 예쉰 (yeswin), 예순 (yesun) 육십 (yuksip)
70 이른 (ireun), 일른 (illeun), 일흔 (ilheun), 일은 (ireun) 이른 (ireun), 일른 (illeun), 일흔 (ilheun), 일은 (ireun) 칠십 (chilsip)
80 ᄋᆢ든 (yawdeun), 여든 (yeodeun) ᄋᆢ든 (yawdeun), 여든 (yeodeun) 팔십 (palsip)
90 아은 (a'eun), 아흔 (aheun) 아은 (a'eun), 아흔 (aheun) 구십 (gusip)
100 (bek)
1,000 (cheon)
10,000 (man)

local export = {}

export.additional_number_types = {
	{ key = "isol", display = "Native [[isolation|isol.]]", before = "ordinal" },
	{ key = "attr", display = " Native [[attributive|attr.]]", before = "ordinal" },
	{ key = "sino", display = "[[Sino-|Sino]]", before = "ordinal" },
	{ key = "days", display = "Number of days", after = "ordinal" },
}

local numbers = {}
export.numbers = numbers

local ordinal_suffix = "체"
local tens_native = "열"
local tens_sino = "십"

-- Delete any number types that don't apply.

numbers[1] = {
	isol = "ᄒᆞ나",
	attr = "ᄒᆞᆫ",
	sino = "일",
	ordinal = "첫체",
	days = {"ᄒᆞ루", "ᄒᆞ를", "ᄒᆞ르"},
}

numbers[2] = {
	isol = "둘", 
	attr = "두",
	sino = "이",
	days = "이틀",
	ordinal = "둘체",
}

numbers[3] = {
	isol = {"싯", "싓", "셋", "서이"},
	attr = {"시", "싀", "세", "석", "서"},
	sino = {"ᄉᆞᆷ", "삼"},
	days = {"ᄉᆞ을", "ᄉᆞ흘", "사을", "사흘"},
}

numbers[4] = {
	isol = {"닛", "늿", "넷", "너이"},
	attr = {"니", "늬",  "네"},
	sino = "ᄉᆞ",
	days = {"나을", "나흘"},
}

numbers[5] = {
	isol = {"다ᄉᆞᆺ", "다섯", "다슷"},
	attr = {"다ᄉᆞᆺ", "다섯", "다슷"},
	sino = "오",
	days = {"닷쉐", "닷세"},
	ordinal = "다ᄉᆞᆺ체",
}

numbers[6] = {
	isol = {"ᄋᆢᄉᆞᆺ", "여섯"},
	attr = {"ᄋᆢᄉᆞᆺ", "여섯"},
	sino = "육",
	days = {"ᄋᆢᆺ쉐", "엿쉐"},
}

numbers[7] = {
	isol = "일곱",
	attr = "일곱",
	sino = "칠",
	days = "일뤠",
	ordinal = "일곱체",
}

numbers[8] = {
	isol = {"ᄋᆢᄃᆞᆸ", "ᄋᆢ답", "ᄋᆢᄃᆞᆯ"},
	attr = {"ᄋᆢᄃᆞᆸ", "ᄋᆢ답", "ᄋᆢᄃᆞᆯ"},
	sino = "팔",
	days = {"ᄋᆢ드레", "여드레"},
}

numbers[9] = {
	isol = {"아옵", "아홉"},
	attr = {"아옵", "아홉"},
	sino = "구",
	days = {"아흐레", "아으레"},
}

numbers[10] = {
	isol = "열",
	attr = "열",
	sino = "십",
	ordinal = "열체",
	days = "열흘",
}

numbers[15] = {
	days = {"보름", "보롬"},
}

numbers[20] = {
	isol = { "스물", "수물", "싀물", "쑤물"},
	attr = {"스무", "수무"}
}

numbers[30] = {
	isol = {"서른", "설른", "설흔"},
	attr = {"서른", "설른", "설흔"},
}

numbers[40] = {
	isol = {"마은", "마흔"},
	attr = {"마은", "마흔"},
}

numbers[50] = {
	isol = "쉰",
	attr = "쉰",
}

numbers[60] = {
	isol = {"예쉰", "예순"},
	attr = {"예쉰", "예순"},
}

numbers[70] = {
	isol = {"이른", "일른", "일흔", "일은"},
	attr = {"이른", "일른", "일흔", "일은"},
}

numbers[80] = {
	isol = {"ᄋᆢ든", "여든"},
	attr = {"ᄋᆢ든", "여든"},
}

numbers[90] = {
	isol = {"아은","아흔"},
	attr = {"아은","아흔"},
}

for number = 3, 4 do
	numbers[number].ordinal = {numbers[number].isol[1] .. ordinal_suffix, numbers[number].isol[2] .. ordinal_suffix}
end

for number = 6, 6 do
	numbers[number].ordinal = numbers[number].isol[1] .. ordinal_suffix
end

for number = 8, 9 do
	numbers[number].ordinal = numbers[number].isol[1] .. ordinal_suffix
end

for number = 11, 12 do
	base_num = number - 10
	numbers[number] = {
		isol = tens_native .. numbers[base_num].isol, 
		attr = tens_native .. numbers[base_num].attr,
		sino = tens_sino .. numbers[base_num].sino,
	}
end

for number = 13, 13 do
	base_num = number - 10
	numbers[number] = {
		isol = {tens_native .. numbers[base_num].isol[1], tens_native .. numbers[base_num].isol[2]},
		attr = {tens_native .. numbers[base_num].attr[1], tens_native .. numbers[base_num].attr[2]},
		sino = tens_sino .. numbers[base_num].sino[1],
	}
end

for number = 14, 14 do
	base_num = number - 10
	numbers[number] = {
		isol = {tens_native .. numbers[base_num].isol[1], tens_native .. numbers[base_num].isol[2]},
		attr = {tens_native .. numbers[base_num].attr[1], tens_native .. numbers[base_num].attr[2]},
		sino = tens_sino .. numbers[base_num].sino,
	}
end

for number = 15, 15 do 
	base_num = number - 10
	numbers[number].isol = tens_native .. numbers[base_num].isol[1]
	numbers[number].attr = tens_native .. numbers[base_num].attr[1]
	numbers[number].sino = tens_sino .. numbers[base_num].sino
end

for number = 16, 16 do
	base_num = number - 10
	numbers[number] = {
		isol = {tens_native .. numbers[base_num].isol[1], tens_native .. numbers[base_num].isol[2]},
		attr = {tens_native .. numbers[base_num].attr[1], tens_native .. numbers[base_num].attr[2]},
		sino = tens_sino .. numbers[base_num].sino,
	}
end

for number = 17, 17 do 
	base_num = number - 10
	numbers[number] = {
		isol = tens_native .. numbers[base_num].isol,
		attr = tens_native .. numbers[base_num].attr,
		sino = tens_sino .. numbers[base_num].sino,
	}
end

for number = 18, 19 do 
	base_num = number - 10
	numbers[number] = {
		isol = tens_native .. numbers[base_num].isol[1],
		attr = tens_native .. numbers[base_num].attr[1],
		sino = tens_sino .. numbers[base_num].sino,
	}
end

for number = 2, 9  do
	num = number * 10
	if number ~= 3 then
		numbers[num].sino = numbers[number].sino .. tens_sino
	else 
		numbers[num].sino = numbers[number].sino[1] .. tens_sino
	end
end

numbers[100] = {
	sino = "벡",
}

numbers[1000] = {
	sino = "천",
}

numbers[10000] = {
	sino = "만",
}

return export