Skip to content

Commit cb8ff7b

Browse files
committed
Add translation of the couplet.
1 parent 34333cc commit cb8ff7b

File tree

1 file changed

+19
-15
lines changed

1 file changed

+19
-15
lines changed

samples/Berrysoft.Data.MapSample/Program.vb

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,38 @@
11
Module Program
22
Private dictionary As New MultiMap(Of Char, String)
33
Sub Main(args As String())
4-
dictionary.Add("海"c, "hai")
5-
dictionary.Add("水"c, "shui")
6-
dictionary.Add("朝"c, "chao")
7-
dictionary.Add("朝"c, "zhao")
8-
dictionary.Add("落"c, "luo")
4+
dictionary.Add("海"c, "hǎi")
5+
dictionary.Add("水"c, "shuǐ")
6+
dictionary.Add("朝"c, "cháo")
7+
dictionary.Add("朝"c, "zhāo")
8+
dictionary.Add("落"c, "luò")
99

10-
dictionary.Add("浮"c, "fu")
11-
dictionary.Add("云"c, "yun")
12-
dictionary.Add("长"c, "zhang")
13-
dictionary.Add("长"c, "chang")
14-
dictionary.Add("消"c, "xiao")
10+
dictionary.Add("浮"c, "")
11+
dictionary.Add("云"c, "yún")
12+
dictionary.Add("长"c, "zhǎng")
13+
dictionary.Add("长"c, "cháng")
14+
dictionary.Add("消"c, "xiāo")
1515

16-
dictionary.Add("潮"c, "chao")
17-
dictionary.Add("常"c, "chang")
16+
dictionary.Add("潮"c, "cháo")
17+
dictionary.Add("常"c, "cháng")
1818

1919
'This is a famous Chinese couplet of Temple of Lady Meng Jiangnu in Shanhaiguan.
20-
'The correct pronunciation of it is:
20+
'The correct pronunciation is:
2121
'Hǎi shuǐ cháo zhāo zhāo cháo zhāo cháo zhāo luò
2222
'海 水 朝 / 朝 朝 朝 / 朝 朝 朝 落
2323
'Fú yún zhǎng cháng cháng zhǎng cháng zhǎng cháng xiāo
2424
'浮 云 长 / 长 长 长 / 长 长 长 消
2525

26-
'朝 means "day" when pronounces zhāo and means "tide" when pronounces cháo. Now the latter meaning is usually written as 潮.
26+
'朝 means "day" when pronounces zhāo and means "(rise) tide" when pronounces cháo. Now the latter meaning is usually written as 潮.
2727
'长 means "grow" when pronounces zhǎng and means "always" when pronounces cháng. Now the latter meaning is usually written as 常.
2828

29+
'The literal meaning is:
30+
'The tides rise, everyday rise, everyday rise and set.
31+
'The clouds grow, always grow, always grow and disappear.
32+
2933
'This program means to replace the old multi-tone characters to their commonly used forms for easier understanding.
3034

31-
Dim str = "海水朝朝朝朝朝朝朝落浮云长长长长长长长消".ToArray()
35+
Dim str As Char() = "海水朝朝朝朝朝朝朝落浮云长长长长长长长消"
3236
Console.WriteLine(str)
3337

3438
For i As Integer = 0 To str.Length - 1

0 commit comments

Comments
 (0)