ai-content-maker/.venv/Lib/site-packages/dateparser/data/date_translation_data/ja.py

287 lines
5.3 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

info = {
"name": "ja",
"date_order": "YMD",
"january": [
"1月",
"一月"
],
"february": [
"2月",
"二月"
],
"march": [
"3月",
"三月"
],
"april": [
"4月",
"四月"
],
"may": [
"5月",
"五月"
],
"june": [
"6月",
"六月"
],
"july": [
"7月",
"七月"
],
"august": [
"8月",
"八月"
],
"september": [
"9月",
"九月"
],
"october": [
"10月",
"十月"
],
"november": [
"11月",
"十一月"
],
"december": [
"12月",
"十二月"
],
"monday": [
"",
"月曜日",
"(月)"
],
"tuesday": [
"",
"火曜日",
"(火)"
],
"wednesday": [
"",
"水曜日",
"(水)"
],
"thursday": [
"",
"木曜日",
"(木)"
],
"friday": [
"",
"金曜日",
"(金)"
],
"saturday": [
"",
"土曜日",
"(土)"
],
"sunday": [
"",
"日曜日",
"(日)"
],
"am": [
"午前"
],
"pm": [
"午後"
],
"year": [
""
],
"month": [
"",
"ヶ月",
"カ月",
"か月"
],
"week": [
"",
"週間"
],
"day": [
"",
"日間"
],
"hour": [
"",
"時間"
],
"minute": [
"",
"分間"
],
"second": [
"",
"秒間"
],
"relative-type": {
"0 day ago": [
"今日"
],
"0 hour ago": [
"1 時間以内"
],
"0 minute ago": [
"1 分以内"
],
"0 month ago": [
"今月"
],
"0 second ago": [
"",
"現在"
],
"0 week ago": [
"今週"
],
"0 year ago": [
"今年"
],
"1 day ago": [
"昨日"
],
"1 month ago": [
"先月"
],
"1 week ago": [
"先週"
],
"1 year ago": [
"昨年",
"去年"
],
"in 1 day": [
"明日"
],
"in 1 month": [
"翌月"
],
"in 1 week": [
"翌週"
],
"in 1 year": [
"翌年"
],
"2 day ago": [
"一昨日"
],
"2 week ago": [
"先々週"
],
"in 2 day": [
"明後日"
]
},
"relative-type-regex": {
"\\1 day ago": [
"(\\d+[.,]?\\d*) 日前",
"(\\d+[.,]?\\d*)日前"
],
"\\1 hour ago": [
"(\\d+[.,]?\\d*) 時間前",
"(\\d+[.,]?\\d*)時間前"
],
"\\1 minute ago": [
"(\\d+[.,]?\\d*) 分前",
"(\\d+[.,]?\\d*)分前"
],
"\\1 month ago": [
"(\\d+[.,]?\\d*) か月前",
"(\\d+[.,]?\\d*)か月前"
],
"\\1 second ago": [
"(\\d+[.,]?\\d*) 秒前",
"(\\d+[.,]?\\d*)秒前"
],
"\\1 week ago": [
"(\\d+[.,]?\\d*) 週間前",
"(\\d+[.,]?\\d*)週間前"
],
"\\1 year ago": [
"(\\d+[.,]?\\d*) 年前",
"(\\d+[.,]?\\d*)年前"
],
"in \\1 day": [
"(\\d+[.,]?\\d*) 日後",
"(\\d+[.,]?\\d*)日後"
],
"in \\1 hour": [
"(\\d+[.,]?\\d*) 時間後",
"(\\d+[.,]?\\d*)時間後"
],
"in \\1 minute": [
"(\\d+[.,]?\\d*) 分後",
"(\\d+[.,]?\\d*)分後"
],
"in \\1 month": [
"(\\d+[.,]?\\d*) か月後",
"(\\d+[.,]?\\d*)か月後"
],
"in \\1 second": [
"(\\d+[.,]?\\d*) 秒後",
"(\\d+[.,]?\\d*)秒後"
],
"in \\1 week": [
"(\\d+[.,]?\\d*) 週間後",
"(\\d+[.,]?\\d*)週間後"
],
"in \\1 year": [
"(\\d+[.,]?\\d*) 年後",
"(\\d+[.,]?\\d*)年後"
]
},
"locale_specific": {},
"no_word_spacing": "True",
"sentence_splitter_group": 4,
"skip": [
"",
" ",
"'",
",",
"-",
".",
"/",
";",
"@",
"[",
"]",
"|",
""
],
"pertain": [
""
],
"ago": [
""
],
"in": [
"今から",
""
],
"simplifications": [
{
"(\\d+[.,]?\\d*)年(?:\\s+)?(\\d+[.,]?\\d*)月(?:\\s+)?(\\d+[.,]?\\d*)日": "\\1-\\2-\\3"
},
{
"(\\d+[.,]?\\d*)月(?:\\s+)?(\\d+[.,]?\\d*)日": "\\1-\\2"
},
{
"(\\d+[.,]?\\d*)時(?:\\s+)?(\\d+[.,]?\\d*)分(?:\\s+)?(\\d+[.,]?\\d*)秒": "\\1:\\2:\\3"
},
{
"(\\d+[.,]?\\d*)時(?:\\s+)?(\\d+[.,]?\\d*)分": "\\1:\\2"
},
{
"(\\d+[.,]?\\d*)時$": "\\1:00"
},
{
"正午": "12:00"
}
]
}