Skip to content

Commit

Permalink
Add texts for brandt ch16
Browse files Browse the repository at this point in the history
  • Loading branch information
justinsilvestre committed Mar 1, 2024
1 parent 83116f1 commit 0d54e4c
Show file tree
Hide file tree
Showing 7 changed files with 74 additions and 5 deletions.
6 changes: 4 additions & 2 deletions src/app/texts/Passage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,10 @@ export function parsePassageVocabList(
}

export function parsePassage(passageFileContents: string) {
const [frontmatterText, body, notesText] =
passageFileContents.split(/\s*\n\s*---+\s*\n\s*/);
const sections = passageFileContents.split(/\s*\n\s*---+\s*\n\s*/);
if (sections.length < 2)
throw new Error("Invalid passage file " + passageFileContents);
const [frontmatterText, body, notesText] = sections;
const lines = body.split(/\n\n+/).map((line) => {
const [chinese, english, gloss] = line.split("\n");
return {
Expand Down
2 changes: 1 addition & 1 deletion texts/brandt-ch16-1.passage.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Introduction to Literary Chinese - Lesson XX, Text XX
#Introduction to Literary Chinese - Lesson 16, Text 1

<center>Adapted from the 1927 book by J. Brandt</center>

Expand Down
30 changes: 30 additions & 0 deletions texts/brandt-ch16-1.vocab.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Traditional Hanyu Pinyin Jyutping Korean Vietnamese English
zhì zi³ chí
jìn zam³ tắm
zǎn cyun⁴
geoi³ 구?, 귀? câu
méng mang⁴ manh
jiàn zim⁶ tiệm
é ngo⁴
jip⁶ 섭?, 엽? diệp
fu⁴ phù
shū so¹
shū suk¹
huā faa¹ hoa
shuò sek⁶ thạc
fuk¹ phức
léi leoi⁴
zhāi zaak⁶ trích
qǐng king² khoảnh
dīng ding¹ đinh
liáng loeng⁴ 량?, 양? lương
ceoi⁴ chờ
biào biu²
sai³ tới
baa²
záo zok⁶ tạc
fèn fan⁵ phẫn
hèn han⁶ hận
zik¹ tích
jyu⁴
càn caan³
2 changes: 1 addition & 1 deletion texts/brandt-ch16-2.passage.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Introduction to Literary Chinese - Lesson XX, Text XX
# Introduction to Literary Chinese - Lesson 16, Text 2

<center>Adapted from the 1927 book by J. Brandt</center>

Expand Down
15 changes: 15 additions & 0 deletions texts/brandt-ch16-2.vocab.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Traditional Hanyu Pinyin Jyutping Korean Vietnamese English
sūn syun¹ tôn
jiè gaai³
fu² phủ
chí ci⁴ trì
shì sik¹ thức
zhēn zeon¹
fo³ khoá
pei⁴
ruì jeoi⁶ nối
biàn bin⁶
bok³ bác
daap³ đáp
zhēng zing¹ chinh
shōu sau¹ thu
6 changes: 5 additions & 1 deletion texts/brandt-ch16-3.passage.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Introduction to Literary Chinese - Lesson XX, Text XX
# Introduction to Literary Chinese - Lesson 16, Text 3

<center>Adapted from the 1927 book by J. Brandt</center>

Expand All @@ -14,6 +14,8 @@ When 因 is put at the beginning of a sentence, 而 or 故 in the principal clau

## Examples of using the causal particles:

---

① 因何不可照舊辦理
Why can one not deal with it according to the old (plan)?

Expand Down Expand Up @@ -76,3 +78,5 @@ Birds die for the sake of food, men perish for the sake of wealth.

㉑ 爲不順於父母。如窮人無所歸。
Because he was not in accord with his parents, he like a a poor man had no place to which to turn.

---
18 changes: 18 additions & 0 deletions texts/brandt-ch16-3.vocab.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Traditional Hanyu Pinyin Jyutping Korean Vietnamese English
chāi caak³ sách
gaak³
jiǎo gaau² giảo
nuǎn nyun⁵
mat⁶ mật
mián min⁴
qīng hing¹ khinh
shū so¹ sớ
liáng loeng⁴ 량?, 양? lương
mei⁴
làn laan⁶ 난?, 란? lạn
cài coi³
gēng gang¹
zhé zip³ dập
què kok³ xác
duó dyut⁶ đoạt
cái coi⁴ tài

0 comments on commit 0d54e4c

Please sign in to comment.