kim368882 commited on
Commit
3c2b9f5
โ€ข
1 Parent(s): 77f7db7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -1
app.py CHANGED
@@ -164,8 +164,24 @@ def get_famous_people(lunIljin):
164
  "์„๋ฌ˜": "๋ฌธ๊ทผ์˜, ๊ธฐ์šฐ์Œค, ํ™”์‚ฌ, ์—ผํ˜œ๋ž€, ๊ทœ์ง„[์—”๋ฏน์Šค], ํšจ์ •, ์žฅ๊ธฐ์šฉ, ์ง€์„ฑ, ์ด๊ทผ, ์กฐ์šฉํ•„, ๋ฆฌ์Œ, ๋ฃจํ•œ, ํƒ€์นดํ•˜์‹œ ๋ฃจ๋ฏธ์ฝ”[์ด๋ˆ„์•ผ์ƒค]",
165
  "๋ณ‘์ธ": "์žฅํ˜„์Šน, ์†์„๊ตฌ, ๋ฐ•์ง€์›[ํ”„๋ฏธ๋‚˜], ๋ผ๋“œ๋ฎค์ง€์—„, ๊น€ํ•˜์˜จ, ์ดํ™๊ธฐ, ๋ฒ„๋ฒŒ์ง„ํŠธ, ํ˜œ๋ฆฌ, ์˜ค์€์˜, ๊ฐ•ํ˜•์šฑ, ๋ฐฑ์ข…์›, ์•„๋ผํ‚ค ํžˆ๋กœํžˆ์ฝ”[์ฃ ์ฃ ์˜ ๊ธฐ๋ฌ˜ํ•œ ๋ชจํ—˜], ๋ ˆ์˜ค์ œ์ด[์œ ํŠœ๋ฒ„], ํžˆํ‹€๋Ÿฌ",
166
  "๋ณ‘์ž": "์‹ ์„ธํœ˜, ํ™์Šน์—ฐ[๋ฃจํŠธ,๋Œ„์„œ], ์ฃผ์šฐ์žฌ, ํ•„๋ฆญ์Šค[์Šคํ‚ค์ฆˆ], ์ง€ํ˜ธ, ๋ฐฑ์ง€์˜, ๊น€๋ณ‘๋งŒ, ์ด๋…ธ์šฐ์— ๋‹ค์ผ€ํžˆ์ฝ”[์Šฌ๋žจ๋ฉํฌ], ํ™ฉ์˜์กฐ, ํ’์ž",
167
- "๋ฌด์‹ ": "ํ•œ์†Œํฌ, ์ด์›์ •[์šฐ์˜์šฐ9ํšŒ], ๊ธ€๋ Œ ํฌ์›ฐ[๋ฐฐ์šฐ], ์žฅ๋„์—ฐ, ๋ฐ•๋ณด์˜, ์ œ์‹œ์นด, ์˜จ์œ , ์•ˆ์ง€์˜, ํ•˜์—ฐ์ˆ˜, ๋ฐ•์ง€๋ฏผ, ๋ฆด๋ณด์ด, ์ผ„์ง€[์ž‘๊ณก๊ฐ€], ์ด๋ฏธ๋„[๋ฐฐ์šฐ], ์…ฐ์ต์Šคํ”ผ์–ด",
168
  "๋ณ‘์‹ ": "์‹œ์€[์Šคํ…Œ์ด์”จ], ๊ณ ์ฐฌ๋นˆ[๋ฐฐ์šฐ], ํ‚ค, ์—๋‹จ ์ฝ”์—”, ๊ฐ•๋™์›, ํƒ€๋ธ”๋กœ, ์ด๋ฏผ์šฐ, ์œค๋‚จ๊ธฐ[๋Œ์‹ฑ๊ธ€์ฆˆ2], ํ•œ์„œํฌ, ํ—ˆ๊ฒฝ์˜, ๊น€๊ฑดํฌ, ๋‚จํƒœํ˜„, ํ† ๋ฆฌ์•ผ๋งˆ ์•„ํ‚ค๋ผ[๋“œ๋ž˜๊ณค๋ณผ], ์•„์ธ์Šˆํƒ€์ธ, ๊ณ ํ",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
169
  }
170
  print(lunIljin)
171
  return famous_people.get(lunIljin[:2], "ํ•ด๋‹น ์ผ์ฃผ์— ๋Œ€ํ•œ ์œ ๋ช…์ธ ์ •๋ณด๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค.")
 
164
  "์„๋ฌ˜": "๋ฌธ๊ทผ์˜, ๊ธฐ์šฐ์Œค, ํ™”์‚ฌ, ์—ผํ˜œ๋ž€, ๊ทœ์ง„[์—”๋ฏน์Šค], ํšจ์ •, ์žฅ๊ธฐ์šฉ, ์ง€์„ฑ, ์ด๊ทผ, ์กฐ์šฉํ•„, ๋ฆฌ์Œ, ๋ฃจํ•œ, ํƒ€์นดํ•˜์‹œ ๋ฃจ๋ฏธ์ฝ”[์ด๋ˆ„์•ผ์ƒค]",
165
  "๋ณ‘์ธ": "์žฅํ˜„์Šน, ์†์„๊ตฌ, ๋ฐ•์ง€์›[ํ”„๋ฏธ๋‚˜], ๋ผ๋“œ๋ฎค์ง€์—„, ๊น€ํ•˜์˜จ, ์ดํ™๊ธฐ, ๋ฒ„๋ฒŒ์ง„ํŠธ, ํ˜œ๋ฆฌ, ์˜ค์€์˜, ๊ฐ•ํ˜•์šฑ, ๋ฐฑ์ข…์›, ์•„๋ผํ‚ค ํžˆ๋กœํžˆ์ฝ”[์ฃ ์ฃ ์˜ ๊ธฐ๋ฌ˜ํ•œ ๋ชจํ—˜], ๋ ˆ์˜ค์ œ์ด[์œ ํŠœ๋ฒ„], ํžˆํ‹€๋Ÿฌ",
166
  "๋ณ‘์ž": "์‹ ์„ธํœ˜, ํ™์Šน์—ฐ[๋ฃจํŠธ,๋Œ„์„œ], ์ฃผ์šฐ์žฌ, ํ•„๋ฆญ์Šค[์Šคํ‚ค์ฆˆ], ์ง€ํ˜ธ, ๋ฐฑ์ง€์˜, ๊น€๋ณ‘๋งŒ, ์ด๋…ธ์šฐ์— ๋‹ค์ผ€ํžˆ์ฝ”[์Šฌ๋žจ๋ฉํฌ], ํ™ฉ์˜์กฐ, ํ’์ž",
167
+ "๋ณ‘์ˆ ": "๋ฏผ์ง€[๋‰ด์ง„์Šค], ์ด์„œ[์•„์ด๋ธŒ], ๋งˆํฌ[NCT], ๊ทธ๋ ˆ์ด, ์กฐ์•ค๋กค๋ง[ํ•ด๋ฆฌํฌํ„ฐ ์ž‘๊ฐ€], ๋ฆฝ์ œ์ด[์Šค์šฐํŒŒ], ๊ณ ํ˜„์ •, ์ •ํ•ด์ธ, ๊น€๊ธฐ์ˆ˜, ํ‘ธํ‹ด",
168
  "๋ณ‘์‹ ": "์‹œ์€[์Šคํ…Œ์ด์”จ], ๊ณ ์ฐฌ๋นˆ[๋ฐฐ์šฐ], ํ‚ค, ์—๋‹จ ์ฝ”์—”, ๊ฐ•๋™์›, ํƒ€๋ธ”๋กœ, ์ด๋ฏผ์šฐ, ์œค๋‚จ๊ธฐ[๋Œ์‹ฑ๊ธ€์ฆˆ2], ํ•œ์„œํฌ, ํ—ˆ๊ฒฝ์˜, ๊น€๊ฑดํฌ, ๋‚จํƒœํ˜„, ํ† ๋ฆฌ์•ผ๋งˆ ์•„ํ‚ค๋ผ[๋“œ๋ž˜๊ณค๋ณผ], ์•„์ธ์Šˆํƒ€์ธ, ๊ณ ํ",
169
+ "๋ณ‘์˜ค": "๊น€ํ˜œ์ž[๋ฐฐ์šฐ], ๊ณต๋„์œ [๋ชจ๋ธ], ์ฃผ๋™์šฐ[๋ฐฐ์šฐ], ์ด์น˜์นด์™€ ๋ฏธ์นด์ฝ”[๋ฐฐ์šฐ], ์‹ ์Šนํ˜ธ, ์•ˆ์„ฑ๊ธฐ, ์ •์„ฑ์ผ, ์ •์œ ๋ฏธ, ์ด์ค€ํ˜, ์œค๋™์ฃผ ์‹œ์ธ, ์ˆ˜์˜, ๋น…๋‚˜ํ‹ฐ, ํ˜œ๋ฏผ์Šค๋‹˜, ์ „์ •๊ตญ, ๊น€๊ณ„๋ž€[์ธํ”Œ๋ฃจ์–ธ์„œ], ๊น€๋‹ค๋ฏธ[์ง„์งœ๋ถ€๋ถ€ ์ง„์งœํŒฅ]",
170
+ "๋ณ‘์ง„": "๋””์นดํ”„๋ฆฌ์˜ค, ํ[๋”๋ณด์ด์ฆˆ], ์œ ๋‚˜[ITZY], ์˜ค์˜์ˆ˜, ํ•œ์„๊ทœ, ์ด์ˆ˜ํ˜„, ํ† ๊ฐ€์‹œ ์š”์‹œํžˆ๋กœ[ํ—Œํ„ฐXํ—Œํ„ฐ], ๆ•… ์Šคํ‹ฐ๋ธŒ์žก์Šค",
171
+ "์ •๋ฌ˜": "์†๋‚˜์€, ๊ณต์ฐฌ[๋น„ํฌ], ์Šฌ๊ธฐ[๋ ˆ๋“œ๋ฒจ๋ฒณ], ๋กœ๋ชฌ[์ง€์šฐํ•™], ์ง€์šฐ[์—”๋ฏน์Šค], ์”จ์—˜, ์ง€ํ˜„์šฐ, ๋น„์™€์ด, ๊ฒฝ์ข…, ์ด์ฐฝ์„ญ, ์–‘๋‹ค์ผ, ๋ผ๋น„, ํŠธ๋กœ์ด์‹œ๋ฐ˜, ํ†ฐ ํ–‰ํฌ์Šค",
172
+ "์ •์ถ•": "๊ณ ๋ฏผ์‹œ, ์ง€๋ฏผ[BTS], ๊น€์šฐ๋นˆ, ๊น€ํžˆ์–ด๋ผ, ์•ˆ์œ ์ง„, ๋‹ˆํ‚ค[์—”ํ•˜์ดํ”ˆ], ๊น€์œ ์ •, ์ดํšจ๋ฆฌ, ์ด์ข…์„, ํ•˜๋‹ˆ, ๋น„๋น„, ์ €์Šค๋””์Šค, ์ตœ์„œ์€[์†”๋กœ์ง€์˜ฅ2], ์ •์ฑ„์—ฐ, ํ˜„์ง„[์Šคํ‚ค์ฆˆ], ์กฐ ๋ฐ”์ด๋“ , ์—๋””์Šจ",
173
+ "์ •ํ•ด": "๊น€๋ฆฌ์˜ˆ[๋ชจ๋ธ], ๊ฐ•ํ˜œ์ •, ์„ฑ์ข…[์ธํ”ผ๋‹ˆํŠธ], ์ œ์ดํฌ[์—”ํ•˜์ดํ”ˆ], ์žฌํ˜„[NCT], ๊น€์ฐฝ์˜ฅ[๊ฐ•์‚ฌ], ์ด์ฐฝ๋™, ์ •์†Œ๋ฏผ, ์ด์‹œ์–ธ, ์ด์ˆ˜๊ทผ, ์ •์œ ๋ฏธ, ๋‹ค์†œ, ๋‚˜๋‚˜, ์—ฐ์ •[์šฐ์ฃผ์†Œ๋…€], ๋ณผ๋กœ๋””๋ฏธ๋ฅด ์ ค๋ Œ์Šคํ‚ค, ์นด๋ฆฌ์•ผ ํ…Œ์ธ [๋ง›์˜ ๋‹ฌ์ธ]",
174
+ "์ •์œ ": "๊น€์„œํ˜•, ์›์Šˆํƒ€์ธ, ๋ชจ๋‹ˆ์นด[์Šค์šฐํŒŒ], ์ˆ˜๋นˆ[ํˆฌ๋ฐ”ํˆฌ], ์ •์šฐ,์ฟค[NCT], ์ดํ˜ธ์›[ํ˜ธ์•ผ], ์•ˆ์˜ˆ์€, ์— ๋ฒ„[fx], ๋ฅ˜ํ˜œ์˜, ์žฅ๋™๊ฑด, ํ•œ๊ณ ์€, ๋‚˜์˜์„, ์žฅ๋ฒ”์ค€, ์ฏ”์œ„, ๊น€์„ธ์ •, ์•ˆ์˜ˆ์€, ์˜ค์„ธํ›ˆ, ์‹œ์ง„ํ•‘, ํŒ๋น™๋น™, ์„œํ˜„์ง„, ์ฏ”์–‘[์œ ํŠœ๋ฒ„], ์ด์„ ํฌ, ์ฃผ๊ฒฐ๊ฒฝ",
175
+ "์ •๋ฏธ": "ํƒ•์›จ์ด, ๊ณ ๊ฒฝํ‘œ, ์ฐฌ์—ด, ์กฐ์ธ์„ฑ, ๊ฐ•์Šน์œค, ๊ณตํšจ์ง„, ๊ณ ์•„๋ผ, ์ด์„ ๊ท , ์ด์„ฑ๊ฒฝ, ์ฐฌ์„ฑ[ํˆฌํ”ผ์— ], ์œ„ํ•˜์ค€, ์ฃผํ˜ธ๋ฏผ, ๊ตฌํ˜œ์„ , ์˜ค๋‹ค ์—์ด์น˜๋กœ[์›ํ”ผ์Šค], ๋ฐ์ฆˆ์นด ์˜ค์‚ฌ๋ฌด[์ฒ ์™„ ์•„ํ†ฐ], ๋ฐ”ํ, ์ •์•ฝ์šฉ",
176
+ "์ •์‚ฌ": "๋ฏผํฌ์ง„, ์ฐจ์ค€ํ™˜, ํƒ‘, ๋ฐ•๋ด„, ๊ฐœ๋ฆฌ, ์ฐฝ๋ชจ, ํŒ”๋กœ์•Œํ† , ๊ฐ•ํ•˜๋Š˜, ์ž„์˜์›…, ์•„์ด์œ , ์ด๋‚˜์€, ์ดํ•ด์ง„[๋„ค์ด๋ฒ„], ์œ ํ˜œ๋””[์œ ํŠœ๋ฒ„]",
177
+ "๋ฌด์ง„": "๊ฐ•ํ•ด๋ฆผ, ํƒ€์ผ€๋‚˜์นด ์œ ๋ฉ”ํ‚ค[๋Œ„์„œ], ๋„์˜[NCT], ์„ ์šฐ[์—”ํ•˜์ดํ”ˆ], ์ด์ด๊ฒฝ, ์ด์ฑ„์—ฐ, ๋ฐ•๋ณด๊ฒ€, ํƒœ์—ฐ, ์„ธํ›ˆ[์—‘์†Œ], ์ตœ์—ฐ์ค€[ํˆฌ๋ฐ”ํˆฌ], ๋ฆฌ์‚ฌ, ๋”์ฝฐ์ด์—‡, ๋”ฅํ”Œ๋กœ์šฐ, ์—ฌ์ง„[์Šค์šฐํŒŒ], ํ˜ธ๋ฆฌ์ฝ”์‹œ ์ฝ”ํ—ค์ด[๋‚˜์˜ํžˆ์–ด๋กœ์•„์นด๋ฐ๋ฏธ์•„], ๊ณตํ˜์ค€, ๆ•… ์šฐ์Šค์ด ์š”์‹œํ† [ํฌ๋ ˆ์šฉ ์‹ ์งฑ], ๋‹ˆ์ฒด, ์ง•๊ธฐ์Šค์นธ",
178
+ "๋ฌด์ธ": "์ด์˜ฅ์„ญ, ์•ˆํšจ์„ญ, ์šฐ๊ธฐ, ๊ณต์œ , ์„ ๋ฏธ, ์žฅ๊ทผ์„, ์›ฌ๋””[๋ ˆ๋“œ๋ฒจ๋ฒณ], ๋ฐฉ์ฐฌ[์Šคํ‚ค์ฆˆ], ํœ˜์ธ, ๋กญ ๋งˆ์ƒฌ[๊ฐ๋…], ๋ž„๋ž„[์œ ํŠœ๋ฒ„], ๋ชฝ์ˆœ์ž„๋‹น, ๋ฐ•๊ทผํ˜œ, ์กฐ์ฃผ๋นˆ, ์˜์กฐ",
179
+ "๋ฌด์ž": "์•„์˜ค์ด ์œ ์šฐ, ๋ฆฌ์ •[์Šค์šฐํŒŒ], ๋ฏผํ˜[๋ชฌ์—‘], ์—˜[์ธํ”ผ๋‹ˆํŠธ], ๋ฐ•์„ฑํ›ˆ, ๊ฐ€๋น„[์Šค์šฐํŒŒ], ๊ทœํ˜„, ์ด๋™์šฑ, ์ •์šฐ์„ฑ, ๊น€ํ˜œ์ˆ˜, ์˜ˆ๋ฆฐ, ์˜น์„ฑ์šฐ, ์•ˆ์žฌ์šฑ, ๋…ธ์—˜, ํ–‰์ฃผ",
180
+ "๋ฌด์ˆ ": "์ตœํ˜„์šฑ, ๋ฐ์ด๋จผ์Šค์ด์–ด, ํ™์ข…ํ˜„, ๋ฏผ๋‹ˆ, ๋ฐ•์ฐฌ์šฑ, ์•„์ด๋ฆฐ, ๋‹‰์ฟค, ์ด์ƒ์ˆœ, ์ตœ์ˆœ์‹ค, ์ตœํ˜„์„[์…ฐํ”„], ๊น€๋„์™„[๋ฐฐ์šฐ], ์œŒ์Šค๋ฏธ์Šค[๋ฐฐ์šฐ]",
181
+ "๋ฌด์‹ ": "ํ•œ์†Œํฌ, ์ด์›์ •[์šฐ์˜์šฐ9ํšŒ], ๊ธ€๋ Œ ํฌ์›ฐ[๋ฐฐ์šฐ], ์žฅ๋„์—ฐ, ๋ฐ•๋ณด์˜, ์ œ์‹œ์นด, ์˜จ์œ , ์•ˆ์ง€์˜, ํ•˜์—ฐ์ˆ˜, ๋ฐ•์ง€๋ฏผ, ๋ฆด๋ณด์ด, ์ผ„์ง€[์ž‘๊ณก๊ฐ€], ์ด๋ฏธ๋„[๋ฐฐ์šฐ], ์…ฐ์ต์Šคํ”ผ์–ด",
182
+ "๋ฌด์˜ค": "ํ•˜๋‹ˆ[๋‰ด์ง„์Šค], ๋กœ์‹œ, ๋ฆฌ์•„ํ‚ด, ์„ธ์€[์Šคํ…Œ์ด์”จ], ๊ฐ•ํ˜œ์›, ์กฐ์œ ๋ฆฌ, ์œค์ฐฌ์˜, ๊น€์„ฑ๊ทœ, ํ˜„์žฌ[๋”๋ณด์ด์ฆˆ], ์ •์›,์ œ์ด[์—”ํ•˜์ดํ”ˆ], ๋ฆด๋ฆฌ[์—”๋ฏน์Šค], ์ตœ๋ณ‘์ฐฌ[๋น…ํ†ค], ์ด๋˜, ์•Œ๋ฆฌ, ์ฐจ์Šน์›, ๊น€๋™์šฑ, ์†Œ์œ , ๊น€์šฐ์ค‘, ์–‘๋ต[์œ ํŠœ๋ฒ„], ์„ ๋ฐ”",
183
+
184
+
185
  }
186
  print(lunIljin)
187
  return famous_people.get(lunIljin[:2], "ํ•ด๋‹น ์ผ์ฃผ์— ๋Œ€ํ•œ ์œ ๋ช…์ธ ์ •๋ณด๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค.")