|
1 | 1 | Module Program
|
2 | 2 | Private dictionary As New MultiMap(Of Char, String)
|
3 | 3 | 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ò") |
9 | 9 |
|
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, "fú") |
| 11 | + dictionary.Add("云"c, "yún") |
| 12 | + dictionary.Add("长"c, "zhǎng") |
| 13 | + dictionary.Add("长"c, "cháng") |
| 14 | + dictionary.Add("消"c, "xiāo") |
15 | 15 |
|
16 |
| - dictionary.Add("潮"c, "chao") |
17 |
| - dictionary.Add("常"c, "chang") |
| 16 | + dictionary.Add("潮"c, "cháo") |
| 17 | + dictionary.Add("常"c, "cháng") |
18 | 18 |
|
19 | 19 | '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: |
21 | 21 | 'Hǎi shuǐ cháo zhāo zhāo cháo zhāo cháo zhāo luò
|
22 | 22 | '海 水 朝 / 朝 朝 朝 / 朝 朝 朝 落
|
23 | 23 | 'Fú yún zhǎng cháng cháng zhǎng cháng zhǎng cháng xiāo
|
24 | 24 | '浮 云 长 / 长 长 长 / 长 长 长 消
|
25 | 25 |
|
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 潮. |
27 | 27 | '长 means "grow" when pronounces zhǎng and means "always" when pronounces cháng. Now the latter meaning is usually written as 常.
|
28 | 28 |
|
| 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 | + |
29 | 33 | 'This program means to replace the old multi-tone characters to their commonly used forms for easier understanding.
|
30 | 34 |
|
31 |
| - Dim str = "海水朝朝朝朝朝朝朝落浮云长长长长长长长消".ToArray() |
| 35 | + Dim str As Char() = "海水朝朝朝朝朝朝朝落浮云长长长长长长长消" |
32 | 36 | Console.WriteLine(str)
|
33 | 37 |
|
34 | 38 | For i As Integer = 0 To str.Length - 1
|
|
0 commit comments