Module:number list/data/ja
Jump to navigation
Jump to search
- The following documentation is generated by Module:documentation. [edit]
- Useful links: root page • root page’s subpages • links • transclusions • testcases • sandbox
This module contains data on various types of numbers in Japanese.
(edit)
local additional_number_types = {
{ key = "sj", display = "[[Sino-Japanese]]", before = "ordinal" },
{ key = "ja", display = "Native Japanese", before = "ordinal" },
{ key = "kanji", before = "ordinal" },
}
local numbers = {}
numbers[0] = {
sj = 'れい',
kanji = '零',
}
numbers[1] = {
sj = 'いち',
ja = 'ひと',
kanji = '一',
}
numbers[2] = {
sj = 'に',
ja = 'ふた',
kanji = '二',
}
numbers[3] = {
sj = 'さん',
ja = 'み',
kanji = '三',
}
numbers[4] = {
sj = 'し',
ja = 'よ',
kanji = '四',
}
numbers[5] = {
sj = 'ご',
ja = 'いつ',
kanji = '五',
}
numbers[6] = {
sj = 'ろく',
ja = 'む',
kanji = '六',
}
numbers[7] = {
sj = 'しち',
ja = 'なな',
kanji = '七',
}
numbers[8] = {
sj = 'はち',
ja = 'や',
kanji = '八',
}
numbers[9] = {
sj = 'きゅう',
ja = 'ここの',
kanji = '九',
}
numbers[10] = {
sj = 'じゅう',
ja = 'とお',
kanji = '十',
}
for i = 2, 9 do
numbers[i * 10] = {
sj = numbers[i].sj .. 'じゅう',
ja = numbers[i].ja .. 'そ',
kanji = numbers[i].kanji .. '十',
}
for j = 1, 9 do
numbers[i * 10 + j] = {
sj = numbers[i].sj .. 'じゅう' .. numbers[j].sj,
kanji = numbers[i].kanji .. '十' .. numbers[j].kanji,
}
end
numbers[i * 10 + 4].sj = {
numbers[i].sj .. 'じゅうよん',
numbers[i].sj .. 'じゅうし',
}
numbers[i * 10 + 7].sj = {
numbers[i].sj .. 'じゅうなな',
numbers[i].sj .. 'じゅうしち',
}
numbers[i * 10 + 9].sj = {
numbers[i].sj .. 'じゅうきゅう',
numbers[i].sj .. 'じゅうく',
}
end
numbers[40].sj = {'よんじゅう', 'しじゅう'}
numbers[70].sj = {'ななじゅう', 'しちじゅう'}
numbers[20].ja = 'はた'
numbers[50].ja = 'いそ'
for i = 1, 9 do
numbers[i + 10] = {
sj = 'じゅう' .. numbers[i].sj,
kanji = '十' .. numbers[i].kanji,
}
numbers[i + 40].sj = {
'よんじゅう' .. numbers[i].sj,
'しじゅう' .. numbers[i].sj,
}
numbers[i + 70].sj = {
'ななじゅう' .. numbers[i].sj,
'しちじゅう' .. numbers[i].sj,
}
end
numbers[14].sj = {'じゅうよん', 'じゅうし'}
numbers[17].sj = {'じゅうなな', 'じゅうしち'}
numbers[19].sj = {'じゅうきゅう', 'じゅうく'}
numbers[44].sj = {'よんじゅうよん', 'しじゅうし'}
numbers[47].sj = {'よんじゅうなな', 'よんじゅうしち', 'しじゅうしち'}
numbers[49].sj = {'よんじゅうきゅう', 'よんじゅうく', 'しじゅうきゅう', 'しじゅうく'}
numbers[74].sj = {'ななじゅうよん', 'ななじゅうし', 'しちじゅうし'}
numbers[77].sj = {'ななじゅうなな', 'しちじゅうしち'}
numbers[79].sj = {'ななじゅうきゅう', 'ななじゅうく', 'しちじゅうきゅう', 'しちじゅうく'}
numbers[100] = {
sj = 'ひゃく',
ja = 'もも',
kanji = '百',
}
for i = 2, 9 do
numbers[i * 100] = {
sj = numbers[i].sj .. 'ひゃく',
ja = numbers[i].ja .. 'お',
kanji = numbers[i].kanji .. '百',
}
end
numbers[300].sj = 'さんぴゃく'
numbers[400].sj = 'よんひゃく'
numbers[600].sj = 'ろっぴゃく'
numbers[700].sj = 'ななひゃく'
numbers[800].sj = 'はっぴゃく'
numbers[200].ja = 'ふたもも'
numbers[500].ja = 'いお'
numbers[1000] = {
sj = 'せん',
ja = 'ち',
kanji = '千',
}
numbers[10000] = {
sj = 'まん',
ja = 'よろず',
kanji = '万',
}
numbers[100000] = {
sj = 'じゅうまん',
kanji = '十万',
}
numbers[1000000] = {
sj = 'ひゃくまん',
kanji = '百万',
}
numbers[10000000] = {
sj = 'せんまん',
kanji = '千万',
}
numbers[100000000] = {
sj = 'おく',
kanji = '億',
}
numbers[1000000000000] = {
sj = 'ちょう',
kanji = '兆',
}
return {
numbers = numbers,
additional_number_types = additional_number_types,
}