မဝ်ဂျူ:number list/data/ko
မံက်ပြာကတ်
Documentation for this module may be created at မဝ်ဂျူ:number list/data/ko/doc
local export = {}
export.additional_number_types = {
{ key = "native", display = "[[Korean|Native]]", before = "ordinal" },
{ key = "sino", display = "[[Sino-Korean|Sino-Korean]]", before = "ordinal" },
{ key = "hanja", display = "[[hanja|Hanja]]", before = "ordinal" },
{ key = "days", display = "Number of days", after = "ordinal" },
}
local numbers = {}
export.numbers = numbers
local ordinal_suffix = "째"
local tens_native = "열"
local tens_sino = "십"
local tens_hanja = "十"
-- Delete any number types that don't apply.
numbers[0] = {
sino = {"공", "영", "령"},
hanja = {"空", "零"},
}
numbers[1] = {
native = {"하나", "한"},
sino = "일",
hanja = "一",
ordinal = "첫째",
days = "하루",
}
numbers[2] = {
native = {"둘", "두"},
sino = "이",
hanja = "二",
days = "이틀",
}
numbers[3] = {
native = {"셋", "세", "석", "서"},
sino = "삼",
hanja = "三",
days = "사흘",
}
numbers[4] = {
native = {"넷", "네", "넉", "너"},
sino = "사",
hanja = "四",
days = "나흘",
}
numbers[5] = {
native = "다섯",
sino = "오",
hanja = "五",
days = "닷새",
}
numbers[6] = {
native = "여섯",
sino = {"육", "륙"},
hanja = "六",
days = "엿새",
}
numbers[7] = {
native = "일곱",
sino = "칠",
hanja = "七",
days = "이레",
}
numbers[8] = {
native = "여덟",
sino = "팔",
hanja = "八",
days = "여드레",
}
numbers[9] = {
native = "아홉",
sino = "구",
hanja = "九",
days = "아흐레",
}
numbers[10] = {
native = "열",
sino = "십",
hanja = "十",
days = "열흘",
fractional = {"분", "푼"},
}
numbers[15] = {
days = "보름",
}
numbers[20] = {
native = {"스물", "스무"},
}
numbers[30] = {
native = "서른",
}
numbers[40] = {
native = "마흔",
}
numbers[50] = {
native = "쉰",
}
numbers[60] = {
native = "예순",
}
numbers[70] = {
native = "일흔",
}
numbers[80] = {
native = "여든",
}
numbers[90] = {
native = "아흔",
}
for number = 2, 4 do
numbers[number].ordinal = numbers[number].native[1] .. ordinal_suffix
end
for number = 5, 10 do
numbers[number].ordinal = numbers[number].native .. ordinal_suffix
end
for number = 11, 14 do
base_num = number - 10
numbers[number] = {
native = {tens_native .. numbers[base_num].native[1], tens_native .. numbers[base_num].native[2]},
sino = tens_sino .. numbers[base_num].sino,
hanja = tens_hanja .. numbers[base_num].hanja,
}
end
for number = 15, 15 do
base_num = number - 10
numbers[number].native = tens_native .. numbers[base_num].native
numbers[number].sino = tens_sino .. numbers[base_num].sino
numbers[number].hanja = tens_hanja .. numbers[base_num].hanja
end
for number = 16, 16 do
base_num = number - 10
numbers[number] = {
native = tens_native .. numbers[base_num].native,
sino = {tens_sino .. numbers[base_num].sino[1], tens_sino .. numbers[base_num].sino[2]},
hanja = tens_hanja .. numbers[base_num].hanja,
}
end
for number = 17, 19 do
base_num = number - 10
numbers[number] = {
native = tens_native .. numbers[base_num].native,
sino = tens_sino .. numbers[base_num].sino,
hanja = tens_hanja .. numbers[base_num].hanja,
}
end
for number = 2, 9 do
num = number * 10
if number ~= 6 then
numbers[num].sino = numbers[number].sino .. tens_sino
else
numbers[num].sino = {numbers[number].sino[1] .. tens_sino, numbers[number].sino[2] .. tens_sino}
end
numbers[num].hanja = numbers[number].hanja .. tens_hanja
end
numbers[100] = {
sino = "백",
hanja = "百",
fractional = "이",
}
numbers[1000] = {
sino = "천",
hanja = "千",
fractional = {"모", "호"},
}
numbers[10000] = {
sino = "만",
hanja = "萬",
fractional = "사",
}
numbers[10^5] = {
fractional = "홀"
}
numbers[10^6] = {
fractional = "미"
}
numbers[10^7] = {
fractional = "섬"
}
local ten_thousand_sino = "만"
local ten_thousand_hanja = "萬"
for number = 1, 3 do
num = 10 ^ number
numbers[10000 * num].sino = numbers[num].sino .. ten_thousand_sino
numbers[10000 * num].hanja = numbers[num].hanja .. ten_thousand_hanja
end
numbers[10^8] = {
sino = "억",
hanja = "億",
fractional = "사",
}
numbers[10^9] = {
fractional = "진",
}
numbers[10^10] = {
fractional = "애",
}
numbers[10^11] = {
fractional = "묘",
}
local eok_sino = "억"
local eok_hanja = "億"
for number = 1, 3 do
num = 10 ^ number
base = 10 ^ 8
numbers[base * num].sino = numbers[num].sino .. eok_sino
numbers[base * num].hanja = numbers[num].hanja .. eok_hanja
end
numbers[10^12] = {
sino = "조",
hanja = "兆",
fractional = "막",
}
numbers[10^13] = {
fractional = "모호",
}
numbers[10^14] = {
fractional = "준수",
}
numbers[10^15] = {
fractional = "수유",
}
local jo_sino = "조"
local jo_hanja = "兆"
for number = 1, 3 do
num = 10 ^ number
base = 10 ^ 12
numbers[base * num].sino = numbers[num].sino .. jo_sino
numbers[base * num].hanja = numbers[num].hanja .. jo_hanja
end
numbers[10^16] = {
sino = "경",
hanja = "京",
fractional = "순식",
}
numbers[10^17] = {
fractional = "탄지",
}
numbers[10^18] = {
fractional = "찰나",
}
numbers[10^19] = {
fractional = "육덕",
}
local gyeong_sino = "경"
local gyeong_hanja = "京"
for number = 1, 3 do
num = 10 ^ number
base = 10 ^ 16
numbers[base * num].sino = numbers[num].sino .. gyeong_sino
numbers[base * num].hanja = numbers[num].hanja .. gyeong_hanja
end
numbers[10^20] = {
sino = "해",
hanja = "垓",
fractional = "허공",
}
numbers[10^21] = {
sino = "십해",
hanja = "十垓",
fractional = "청정",
}
numbers[10^24] = {
sino = "자",
hanja = "秭",
}
numbers[10^28] = {
sino = "양",
hanja = "穰",
}
numbers[10^32] = {
sino = "구",
hanja = "溝",
}
numbers[10^36] = {
sino = "간",
hanja = "澗",
}
numbers[10^40] = {
sino = "정",
hanja = "正",
}
numbers[10^44] = {
sino = "재",
hanja = "載",
}
numbers[10^48] = {
sino = "극",
hanja = "極",
}
numbers[10^52] = {
sino = "항하사",
hanja = "恒河沙",
}
numbers[10^56] = {
sino = "아승기",
hanja = "阿僧祇",
}
numbers[10^60] = {
sino = "나유타",
hanja = "那由他",
}
numbers[10^64] = {
sino = "불가사의",
hanja = "不可思議",
}
numbers[10^68] = {
sino = {"무량대수", "무량수"},
hanja = {"無量大數", "無量數"},
}
return export