From 1118bda30f89e0953981ac2c32f7c4b64b7377ff Mon Sep 17 00:00:00 2001 From: polv Date: Fri, 28 Aug 2026 13:09:57 +0700 Subject: [PATCH] add example sentences for numbers --- .../.vitepress/vite-plugins/mp3-downloader.ts | 20 +- docs/howtostudykorean/unit-1/10-numbers.md | 174 ++++++++++++++++++ docs/howtostudykorean/unit-1/11-time.md | 84 +++++++++ 3 files changed, 271 insertions(+), 7 deletions(-) diff --git a/docs/.vitepress/vite-plugins/mp3-downloader.ts b/docs/.vitepress/vite-plugins/mp3-downloader.ts index 08ab23d..db1f706 100644 --- a/docs/.vitepress/vite-plugins/mp3-downloader.ts +++ b/docs/.vitepress/vite-plugins/mp3-downloader.ts @@ -41,6 +41,8 @@ export function mp3DownloaderPlugin(): Plugin { END; `); + let tokenizer: Tokenizer | null = null; + // Vite dev server middlewares are connect-style: (req, res, next) server.middlewares.use(async (req, res, next) => { const reqUrl = req.url; @@ -50,7 +52,11 @@ export function mp3DownloaderPlugin(): Plugin { if (!url.pathname.endsWith(".mp3")) return next(); try { - await mp3Downloader(db, await Tokenizer.init(), url, res, next); + // if (!tokenizer) { + // tokenizer = await Tokenizer.init(); + // } + + await mp3Downloader(db, tokenizer, url, res, next); } catch (e) { console.error(e, reqUrl); next(); @@ -71,12 +77,12 @@ async function mp3Downloader( `https://www.howtostudykorean.com/wp-content${url.pathname}`, ); - const text = url.searchParams.get("text"); - if (text) { - db.prepare( - "INSERT OR IGNORE INTO sentence ([url], ko, original) VALUES (?, ?, ?)", - ).run(downloadURL.href, tokenizer.normalize(text), text); - } + // const text = url.searchParams.get("text"); + // if (text) { + // db.prepare( + // "INSERT OR IGNORE INTO sentence ([url], ko, original) VALUES (?, ?, ?)", + // ).run(downloadURL.href, tokenizer.normalize(text), text); + // } const segs = url.pathname.slice(1).split("/"); const filename = segs.pop()!; diff --git a/docs/howtostudykorean/unit-1/10-numbers.md b/docs/howtostudykorean/unit-1/10-numbers.md index be90efc..79ad9fe 100644 --- a/docs/howtostudykorean/unit-1/10-numbers.md +++ b/docs/howtostudykorean/unit-1/10-numbers.md @@ -4,119 +4,293 @@ vocabulary: - ko: 하나 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v1.mp3 en: one + examples: + - ko: 저는 사과 **한** 개를 샀어요 + en: I bought **one** apple - ko: 둘 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v2.mp3 en: two + examples: + - ko: 아저씨! 맥주 두 **잔** 주세요! + en: Sir! Two **glasses** of beer, please! + - ko: 우리 **둘째** 아들은 고등학생이에요 + audio: https://www.howtostudykorean.com/wp-content/uploads/2015/02/Lesson10-Feb-10-18.mp3 + en: Our **second** son is a high school student - ko: 셋 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v3.mp3 en: three + examples: + - ko: 우리 **셋째** 아이는 야구를 좋아해요 + audio: https://www.howtostudykorean.com/wp-content/uploads/2015/02/Lesson10-Feb-10-19.mp3 + en: Our **third** child likes baseball + - ko: 저는 어제 학교에 **세** 번 갔어요 + audio: https://www.howtostudykorean.com/wp-content/uploads/2017/03/Lesson10-18.mp3 + en: I went to school **three** times yesterday - ko: 넷 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v4.mp3 en: four + examples: + - ko: 나는 펜 **네** 개를 샀어 + audio: https://www.howtostudykorean.com/wp-content/uploads/2015/02/Lesson10-Feb-10-1.mp3 + en: I bought **four** pens + - ko: 그 사람은 차 **네** 대가 있어요 + audio: https://www.howtostudykorean.com/wp-content/uploads/2015/02/Lesson10-Feb-10-4.mp3 + en: That person has **four** cars - ko: 다섯 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v5.mp3 en: five + examples: + - ko: 저는 그 영화를 **다섯** 번 봤어요 + audio: https://www.howtostudykorean.com/wp-content/uploads/2017/03/Lesson10-19.mp3 + en: I saw that movie **five** times + - ko: 나는 어제 **다섯** 명의 친구를 만났어 + audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson-10-1.mp3 + en: I met **five** friends yesterday - ko: 여섯 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v6.mp3 en: six + examples: + - ko: 저의 여자 친구는 스물**여섯** 살이에요 + audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson-10-s3.mp3 + en: My girlfriend is twenty **six** years old - ko: 일곱 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v7.mp3 en: seven + examples: + - ko: "**일곱** 시? - **일곱** 시 반입니다." + en: "**7** pm? - It'll start at **7**:30 pm." + notes: Weverse - ko: 여덟 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v8.mp3 en: eight + examples: + - ko: 저는 열**여덟** 살이에요 + en: I am 1**8** years old - ko: 아홉 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v9.mp3 en: nine + examples: + - ko: "**아홉** 살짜리가 열**아홉** 살짜리를 깨워야 해?" + en: Do you expect a **9**-year-old to wake up a 1**9**-year-old? + notes: Weverse - ko: 열 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v10.mp3 en: ten + examples: + - ko: 저는 **열** 번째로 도착한 사람이었어요 + en: I was the **10**th person to arrive + - ko: 저는 **열**여덟 살이에요 + en: I am **1**8 years old - ko: 스물 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v11.mp3 en: twenty + examples: + - ko: 저의 여자 친구는 **스물**여섯 살이에요 + audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson-10-s3.mp3 + en: My girlfriend is **twenty** six years old + - ko: "**스무** 살이지? **스무** 살... 현빈이랑 헷갈렸어." + en: You're **twenty**, right? **Twenty**... I got it mixed up with Hyunbin's age. + notes: Weverse - ko: 서른 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v12.mp3 en: thirty + examples: + - ko: "**서른** 넘어야 그렇게 알았다." + en: I finally realized when I was over **30**. + notes: Weverse - ko: 마흔 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v13.mp3 en: forty + examples: + - ko: 서른 **마흔**에는 어떻게 찌개로 되는 겁니까? + en: Will you be like a stew when you're in your 30s and **40**s? + notes: Weverse - ko: 쉰 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v14.mp3 en: fifty + examples: + - ko: "**쉰** 세 살 김식사 씨네 시내 스시식당..." + en: at a sushi diner of **5**3-year-old Kim. + notes: Weverse - ko: 공 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v29.mp3 en: zero (nothing) + examples: + - ko: "**공**이 몇 개야..??" + en: How many **zeros** are there...?? + notes: Weverse + - ko: "**공, 공**, 칠, 빵! - 으악! - **공, 공**, 칠, 빵!" + en: "**00**7 bang. - Ugh. - **00**7 bang!" + notes: Weverse chinese_num: - ko: 일 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v15.mp3 en: one (1) + examples: + - ko: "**일** 더하기 **일**은 **일**이죠. 그렇죠?" + en: "**One** plus **one** is **one**. Right?" + notes: Weverse + - ko: "**일**인분이에요." + en: It's for **one** person. + notes: Weverse - ko: 이 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v16.mp3 en: two (2) + examples: + - ko: 일, **이**, 삼... + en: One, **two**, three... + notes: Weverse + - ko: "**이** 딱 두마디." + en: These **two** sentences. + notes: Weverse - ko: 삼 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v17.mp3 en: three (3) + examples: + - ko: 그러니까... **삼** 일! 딱 **삼** 일 동안만... + en: So... **Three** days! Just for **three** days... + notes: Weverse + - ko: 와~ **삼**! 쌈(?) 아~ **삼**! + en: Wow! I got **three**! + notes: Weverse - ko: 사 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v18.mp3 en: four (4) + examples: + - ko: 한국에는 **사** 계절이 뚜렷해요 + en: The **four** seasons are distinct in Korea + notes: Gemini + - ko: "**사** 월에 벚꽃이 펴요" + en: Cherry blossoms bloom in **April** + notes: Gemini - ko: 오 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v19.mp3 en: five (5) + examples: + - ko: 수업이 **오** 분 뒤에 끝나요 + en: Classes end in **five** minutes + notes: Gemini + - ko: "**오** 월은 가정의 달이에요" + en: "**May** is the month of family" + notes: Gemini - ko: 육 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v20.mp3 en: six (6) + examples: + - ko: 올해 **육** 월에 졸업해요 + en: I graduate in **June** of this year + notes: Gemini + - ko: 한국어 공부를 **육** 개월 동안 했어요 + en: I studied Korean for **six** months + notes: Gemini - ko: 칠 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v21.mp3 en: seven (7) + examples: + - ko: 여름 방학은 **칠** 월에 시작해요 + en: Summer vacation starts in **July** + notes: Gemini + - ko: 숙제를 **칠** 일 동안 했어요 + en: I did homework for **seven** days + notes: Gemini - ko: 팔 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v22.mp3 en: eight (8) + examples: + - ko: "**팔** 월 날씨가 가장 더워요" + en: The weather in **August** is the hottest + notes: Gemini + - ko: 우리 사무실은 **팔** 층에 있어요 + en: Our office is on the **eighth** floor + notes: Gemini - ko: 구 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v23.mp3 en: nine (9) + examples: + - ko: 새 학기가 **구** 월에 시작돼요 + en: The new semester starts in **September** + notes: Gemini + - ko: 버스 **구** 번을 타야 해요 + en: I have to take bus **number nine** + notes: Gemini - ko: 십 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v24.mp3 en: ten (10) + examples: + - ko: 김치냉장고를 산 지 **십** 년이 되었어요 + en: It has been **ten** years since I bought the kimchi refrigerator + notes: Gemini + - ko: "**십** 분만 기다려 주세요" + en: Please wait for just **ten** minutes + notes: Gemini - ko: 백 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v25.mp3 en: one hundred (100) + examples: + - ko: 시험에서 **백** 점을 맞았어요 + en: I got **a hundred** points on the test + notes: Gemini + - ko: 이 사과는 **백** 원이에요 + en: This apple costs **one hundred** won + notes: Gemini - ko: 천 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v26.mp3 en: one thousand (1000) + examples: + - ko: 이 볼펜은 **천** 원이에요 + en: This ballpoint pen costs **one thousand** won + notes: Gemini + - ko: "**천** 명의 관객이 모였어요" + en: "**One thousand** spectators gathered" + notes: Gemini - ko: 만 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v27.mp3 en: ten thousand (10000) + examples: + - ko: 신발이 **만** 원이에요 + en: These shoes cost **ten thousand** won + notes: Gemini + - ko: 이 옷은 삼**만** 원이에요 + en: This clothes cost **thirty thousand** won + notes: Gemini - ko: 영 audio: https://www.howtostudykorean.com/wp-content/uploads/2015/11/Lesson10v28.mp3 en: zero (0) + examples: + - ko: 오늘 기온이 **영**하 칠 도예요 + en: Today's temperature is seven degrees below **zero** + notes: Gemini + - ko: 시험 점수가 **영** 점이에요 + en: The test score is **zero** points + notes: Gemini ordinal: - ko: 처음 diff --git a/docs/howtostudykorean/unit-1/11-time.md b/docs/howtostudykorean/unit-1/11-time.md index cf1af0a..c65690b 100644 --- a/docs/howtostudykorean/unit-1/11-time.md +++ b/docs/howtostudykorean/unit-1/11-time.md @@ -4,52 +4,136 @@ vocabulary: - audio: https://www.howtostudykorean.com/wp-content/uploads/2014/12/1Jan.mp3 ko: 일월 en: January + examples: + - ko: "**1월**은 새해가 시작되는 달이에요" + en: "**January** is the month when the new year begins" + notes: Gemini + - ko: "**1월**에 날씨가 가장 추워요" + en: The weather is coldest in **January** + notes: Gemini - audio: https://www.howtostudykorean.com/wp-content/uploads/2014/12/2Feb.mp3 ko: 이월 en: February + examples: + - ko: "**2월**은 일 년 중 가장 짧아요" + en: "**February** is the shortest month of the year" + notes: Gemini + - ko: 제 생일은 **2월**이에요 + en: My birthday is in **February** + notes: Gemini - audio: https://www.howtostudykorean.com/wp-content/uploads/2014/12/3Mar.mp3 ko: 삼월 en: March + examples: + - ko: "**3월**에 새로운 학기가 시작돼요" + en: A new semester starts in **March** + notes: Gemini + - ko: "**3월**이 되면 날씨가 풀려요" + en: The weather warms up when **March** arrives + notes: Gemini - audio: https://www.howtostudykorean.com/wp-content/uploads/2014/12/4Apr.mp3 ko: 사월 en: April + examples: + - ko: "**4월**에 아름다운 벚꽃이 펴요" + en: Beautiful cherry blossoms bloom in **April** + notes: Gemini + - ko: 한국에는 **4월**에 봄이 깊어져요 + en: Spring deepens in Korea in **April** + notes: Gemini - audio: https://www.howtostudykorean.com/wp-content/uploads/2014/12/5May.mp3 ko: 오월 en: May + examples: + - ko: "**5월**은 가정의 달로 불려요" + en: "**May** is called the month of family" + notes: Gemini + - ko: "**5월** 5일은 어린이날이에요" + en: "**May** 5th is Children's Day" + notes: Gemini - audio: https://www.howtostudykorean.com/wp-content/uploads/2014/12/6June.mp3 ko: 유월 en: June notes: June (6월/유월) and October (10월/시월) should actually be 육월 and 십월 but, written like that, they are difficult to pronounce. Because of this, their correct pronunciations are 유월 and 시월 NOT 육월 and 십월. + examples: + - ko: "**6월**부터 초여름 날씨가 시작돼요" + en: Early summer weather begins from **June** + notes: Gemini + - ko: 저는 올해 **6월**에 대학을 졸업해요 + en: I graduate from university in **June** of this year + notes: Gemini - audio: https://www.howtostudykorean.com/wp-content/uploads/2014/12/7July.mp3 ko: 칠월 en: July + examples: + - ko: "**7월**이 되면 본격적인 더위가 시작돼요" + en: Full-scale heat begins when **July** arrives + notes: Gemini + - ko: 학교들이 **7월** 말에 여름 방학을 해요 + en: Schools go on summer vacation at the end of **July** + notes: Gemini - audio: https://www.howtostudykorean.com/wp-content/uploads/2014/12/8Aug.mp3 ko: 팔월 en: August + examples: + - ko: "**8월**은 여름 휴가를 많이 가는 달이에요" + en: "**August** is the month when many people go on summer vacation" + notes: Gemini + - ko: "**8월**의 날씨는 아주 덥고 습해요" + en: The weather in **August** is very hot and humid + notes: Gemini - audio: https://www.howtostudykorean.com/wp-content/uploads/2014/12/9Sep.mp3 ko: 구월 en: September + examples: + - ko: "**9월**에는 선선한 가을 바람이 불어요" + en: Cool autumn breezes blow in **September** + notes: Gemini + - ko: "**9월**에 추석 연휴가 있는 경우가 많아요" + en: There are often Chuseok holidays in **September** + notes: Gemini - audio: https://www.howtostudykorean.com/wp-content/uploads/2014/12/10Oct.mp3 ko: 시월 en: October notes: June (6월/유월) and October (10월/시월) should actually be 육월 and 십월 but, written like that, they are difficult to pronounce. Because of this, their correct pronunciations are 유월 and 시월 NOT 육월 and 십월. + examples: + - ko: "**10월**에 단풍이 예쁘게 물들어요" + en: Fall foliage colors beautifully in **October** + notes: Gemini + - ko: "**10월** 9일은 한글날이에요" + en: "**October** 9th is Hangeul Day" + notes: Gemini - audio: https://www.howtostudykorean.com/wp-content/uploads/2014/12/11Nov.mp3 ko: 십일월 en: November + examples: + - ko: "**11월**이 되면 날씨가 꽤 쌀쌀해져요" + en: The weather gets quite chilly when **November** arrives + notes: Gemini + - ko: "**11월**에 대학수학능력시험을 봐요" + en: Students take the CSAT exam in **November** + notes: Gemini - audio: https://www.howtostudykorean.com/wp-content/uploads/2014/12/12Dec.mp3 ko: 십이월 en: December + examples: + - ko: "**12월** 25일은 크리스마스예요" + en: "**December** 25th is Christmas" + notes: Gemini + - ko: "**12월**을 끝으로 한 해가 마무리돼요" + en: The year wraps up at the end of **December** + notes: Gemini nouns: - ko: 기회