မဝ်ဂျူ:number list/data/jje
မံက်ပြာကတ်
Documentation for this module may be created at မဝ်ဂျူ:number list/data/jje/doc
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 = "일뤠",
}
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, 7 do
numbers[number].ordinal = numbers[number].isol .. 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, 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