interscript-maps 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,502 @@
1
+ system "ALA-LC:zho-Latn:Latn:2012" {
2
+
3
+ metadata {
4
+ authority_id alalc
5
+ id 2012
6
+ language iso-639-2:zho
7
+ source_script Latn
8
+ destination_script Latn
9
+ name "Correspondence of Wade-Giles to Pinyin (2012)"
10
+ url https://www.loc.gov/catdir/cpso/romanization/chinese.pdf
11
+ creation_date 2012
12
+ adoption_date
13
+ description { The Correspondence of Wade-Giles to Pinyin table from
14
+ the ALA-LC Chinese Romanization Table, 2012 version (pages 9-21).
15
+ The document presents the table "as a device to show the usual
16
+ relationship between Wade-Giles and Pinyin romanizations", drawing
17
+ the Wade-Giles syllabic readings from Di ming Han zi yi yin biao
18
+ 地名漢字譯音表 (1971) and the ALA-LC romanization tables (1997),
19
+ and the Pinyin equivalents from Xian dai Han yu ci dian 现代汉语词典
20
+ (1983). The list is printed as not exhaustive; every printed row is
21
+ transcribed here in order. Transcribed from the loc.gov document's
22
+ complete text layer. }
23
+
24
+ notes {
25
+ note "Scope: this is a cross-romanization correspondence device for
26
+ syllables 'likely to be found in older cataloging records', not a
27
+ general Wade-Giles grammar; the document prints the Pinyin side as
28
+ likewise 'not limited to those contained in this list'. Each row is
29
+ encoded exactly as printed, including identity rows (a a, fa fa)
30
+ and the rows where both systems coincide in spelling."
31
+ note "As printed, the Wade-Giles aspiration mark is the left single
32
+ quotation mark (U+2018, e.g. ch‘a). For convenience of input the
33
+ map also accepts U+2019 and U+0027 as the same aspiration mark;
34
+ these are encoding folds of the same printed glyph, not additional
35
+ transcriptions. The umlaut rows (chü, hsü, lü, nü, yü series) are
36
+ encoded with U+00FC exactly as printed."
37
+ note "Printed quirks preserved without correction: both ssu and szu
38
+ correspond to si; erh corresponds to er; o corresponds to e; the
39
+ unusual Wade-Giles forms no (nuo), so (suo) and yai (yai) appear as
40
+ printed. The companion map alalc-zho-Hani-Latn-2012 encodes the
41
+ character-level romanization rules of the same document."
42
+ note "The table has no tone information: the 2012 rules of
43
+ application do not indicate tone marks (Rules of Application 1)."
44
+ }
45
+ }
46
+
47
+ tests {
48
+ # Document examples of the correspondence device (rows of the table).
49
+ "chih" -> "zhi"
50
+ "ch‘ih" -> "chi"
51
+ "ssu" -> "si"
52
+ "szu" -> "si"
53
+ "tzu" -> "zi"
54
+ "tz‘u" -> "ci"
55
+ "erh" -> "er"
56
+ "o" -> "e"
57
+ "kung" -> "gong"
58
+ "k‘ung" -> "kong"
59
+ "chung" -> "zhong"
60
+ "ch‘ung" -> "chong"
61
+ "ju" -> "ru"
62
+ "chü" -> "ju"
63
+ "ch‘ü" -> "qu"
64
+ "hsü" -> "xu"
65
+ "lü" -> "lü"
66
+ "nü" -> "nü"
67
+ "lüeh" -> "lüe"
68
+ "nüeh" -> "nüe"
69
+ "yü" -> "yu"
70
+ "yüeh" -> "yue"
71
+ "no" -> "nuo"
72
+ "so" -> "suo"
73
+ "yai" -> "yai"
74
+ "chi" -> "ji"
75
+ "ch‘i" -> "qi"
76
+ "hsiao" -> "xiao"
77
+ "chien" -> "jian"
78
+ "ch‘ien" -> "qian"
79
+ "cha" -> "zha"
80
+ "ch‘a" -> "cha"
81
+ "ts‘ang" -> "cang"
82
+ "tsang" -> "zang"
83
+ # Aspiration-mark input folds (U+2019 and U+0027 stand for the
84
+ # printed U+2018).
85
+ "ch'a" -> "cha"
86
+ "ch’a" -> "cha"
87
+ "k'ung" -> "kong"
88
+ "tz'u" -> "ci"
89
+ }
90
+
91
+ stage main {
92
+ # Aspiration-mark input folds run as their own pass before the table:
93
+ # the printed form is U+2018; U+2019 and U+0027 stand for the same
94
+ # printed glyph (see notes).
95
+ parallel {
96
+ sub "’" "‘"
97
+ sub "'" "‘"
98
+ }
99
+
100
+ parallel {
101
+ # Wade-Giles -> Pinyin correspondence table, every printed row in
102
+ # document order.
103
+ sub "a" "a"
104
+ sub "ai" "ai"
105
+ sub "an" "an"
106
+ sub "ang" "ang"
107
+ sub "ao" "ao"
108
+ sub "cha" "zha"
109
+ sub "ch‘a" "cha"
110
+ sub "chai" "zhai"
111
+ sub "ch‘ai" "chai"
112
+ sub "chan" "zhan"
113
+ sub "ch‘an" "chan"
114
+ sub "chang" "zhang"
115
+ sub "ch‘ang" "chang"
116
+ sub "chao" "zhao"
117
+ sub "ch‘ao" "chao"
118
+ sub "che" "zhe"
119
+ sub "ch‘e" "che"
120
+ sub "chen" "zhen"
121
+ sub "ch‘en" "chen"
122
+ sub "cheng" "zheng"
123
+ sub "ch‘eng" "cheng"
124
+ sub "chi" "ji"
125
+ sub "ch‘i" "qi"
126
+ sub "chia" "jia"
127
+ sub "ch‘ia" "qia"
128
+ sub "chiang" "jiang"
129
+ sub "ch‘iang" "qiang"
130
+ sub "chiao" "jiao"
131
+ sub "ch‘iao" "qiao"
132
+ sub "chieh" "jie"
133
+ sub "ch‘ieh" "qie"
134
+ sub "chien" "jian"
135
+ sub "ch‘ien" "qian"
136
+ sub "chih" "zhi"
137
+ sub "ch‘ih" "chi"
138
+ sub "chin" "jin"
139
+ sub "ch‘in" "qin"
140
+ sub "ching" "jing"
141
+ sub "ch‘ing" "qing"
142
+ sub "chiu" "jiu"
143
+ sub "ch‘iu" "qiu"
144
+ sub "chiung" "jiong"
145
+ sub "ch‘iung" "qiong"
146
+ sub "cho" "zhuo"
147
+ sub "ch‘o" "chuo"
148
+ sub "chou" "zhou"
149
+ sub "ch‘ou" "chou"
150
+ sub "chu" "zhu"
151
+ sub "ch‘u" "chu"
152
+ sub "chua" "zhua"
153
+ sub "chuai" "zhuai"
154
+ sub "ch‘uai" "chuai"
155
+ sub "chuan" "zhuan"
156
+ sub "ch‘uan" "chuan"
157
+ sub "chuang" "zhuang"
158
+ sub "ch‘uang" "chuang"
159
+ sub "chui" "zhui"
160
+ sub "ch‘ui" "chui"
161
+ sub "chun" "zhun"
162
+ sub "ch‘un" "chun"
163
+ sub "chung" "zhong"
164
+ sub "ch‘ung" "chong"
165
+ sub "chü" "ju"
166
+ sub "ch‘ü" "qu"
167
+ sub "chüan" "juan"
168
+ sub "ch‘üan" "quan"
169
+ sub "chüeh" "jue"
170
+ sub "ch‘üeh" "que"
171
+ sub "chün" "jun"
172
+ sub "ch‘ün" "qun"
173
+ sub "en" "en"
174
+ sub "erh" "er"
175
+ sub "fa" "fa"
176
+ sub "fan" "fan"
177
+ sub "fang" "fang"
178
+ sub "fei" "fei"
179
+ sub "fen" "fen"
180
+ sub "feng" "feng"
181
+ sub "fo" "fo"
182
+ sub "fou" "fou"
183
+ sub "fu" "fu"
184
+ sub "ha" "ha"
185
+ sub "hai" "hai"
186
+ sub "han" "han"
187
+ sub "hang" "hang"
188
+ sub "hao" "hao"
189
+ sub "hei" "hei"
190
+ sub "hen" "hen"
191
+ sub "heng" "heng"
192
+ sub "ho" "he"
193
+ sub "hou" "hou"
194
+ sub "hsi" "xi"
195
+ sub "hsia" "xia"
196
+ sub "hsiang" "xiang"
197
+ sub "hsiao" "xiao"
198
+ sub "hsieh" "xie"
199
+ sub "hsien" "xian"
200
+ sub "hsin" "xin"
201
+ sub "hsing" "xing"
202
+ sub "hsiu" "xiu"
203
+ sub "hsiung" "xiong"
204
+ sub "hsü" "xu"
205
+ sub "hsüan" "xuan"
206
+ sub "hsüeh" "xue"
207
+ sub "hsün" "xun"
208
+ sub "hu" "hu"
209
+ sub "hua" "hua"
210
+ sub "huai" "huai"
211
+ sub "huan" "huan"
212
+ sub "huang" "huang"
213
+ sub "hui" "hui"
214
+ sub "hun" "hun"
215
+ sub "hung" "hong"
216
+ sub "huo" "huo"
217
+ sub "i" "yi"
218
+ sub "jan" "ran"
219
+ sub "jang" "rang"
220
+ sub "jao" "rao"
221
+ sub "je" "re"
222
+ sub "jen" "ren"
223
+ sub "jeng" "reng"
224
+ sub "jih" "ri"
225
+ sub "jo" "ruo"
226
+ sub "jou" "rou"
227
+ sub "ju" "ru"
228
+ sub "juan" "ruan"
229
+ sub "jui" "rui"
230
+ sub "jun" "run"
231
+ sub "jung" "rong"
232
+ sub "ka" "ga"
233
+ sub "k‘a" "ka"
234
+ sub "kai" "gai"
235
+ sub "k‘ai" "kai"
236
+ sub "kan" "gan"
237
+ sub "k‘an" "kan"
238
+ sub "kang" "gang"
239
+ sub "k‘ang" "kang"
240
+ sub "kao" "gao"
241
+ sub "k‘ao" "kao"
242
+ sub "kei" "gei"
243
+ sub "ken" "gen"
244
+ sub "k‘en" "ken"
245
+ sub "keng" "geng"
246
+ sub "k‘eng" "keng"
247
+ sub "ko" "ge"
248
+ sub "k‘o" "ke"
249
+ sub "kou" "gou"
250
+ sub "k‘ou" "kou"
251
+ sub "ku" "gu"
252
+ sub "k‘u" "ku"
253
+ sub "kua" "gua"
254
+ sub "k‘ua" "kua"
255
+ sub "kuai" "guai"
256
+ sub "k‘uai" "kuai"
257
+ sub "kuan" "guan"
258
+ sub "k‘uan" "kuan"
259
+ sub "kuang" "guang"
260
+ sub "k‘uang" "kuang"
261
+ sub "kuei" "gui"
262
+ sub "k‘uei" "kui"
263
+ sub "kun" "gun"
264
+ sub "k‘un" "kun"
265
+ sub "kung" "gong"
266
+ sub "k‘ung" "kong"
267
+ sub "kuo" "guo"
268
+ sub "k‘uo" "kuo"
269
+ sub "la" "la"
270
+ sub "lai" "lai"
271
+ sub "lan" "lan"
272
+ sub "lang" "lang"
273
+ sub "lao" "lao"
274
+ sub "le" "le"
275
+ sub "lei" "lei"
276
+ sub "leng" "leng"
277
+ sub "li" "li"
278
+ sub "liang" "liang"
279
+ sub "liao" "liao"
280
+ sub "lieh" "lie"
281
+ sub "lien" "lian"
282
+ sub "lin" "lin"
283
+ sub "ling" "ling"
284
+ sub "liu" "liu"
285
+ sub "lo" "luo"
286
+ sub "lou" "lou"
287
+ sub "lu" "lu"
288
+ sub "luan" "luan"
289
+ sub "lun" "lun"
290
+ sub "lung" "long"
291
+ sub "lü" "lü"
292
+ sub "lüan" "luan"
293
+ sub "lüeh" "lüe"
294
+ sub "ma" "ma"
295
+ sub "mai" "mai"
296
+ sub "man" "man"
297
+ sub "mang" "mang"
298
+ sub "mao" "mao"
299
+ sub "mei" "mei"
300
+ sub "men" "men"
301
+ sub "meng" "meng"
302
+ sub "mi" "mi"
303
+ sub "miao" "miao"
304
+ sub "mieh" "mie"
305
+ sub "mien" "mian"
306
+ sub "min" "min"
307
+ sub "ming" "ming"
308
+ sub "miu" "miu"
309
+ sub "mo" "mo"
310
+ sub "mou" "mou"
311
+ sub "mu" "mu"
312
+ sub "na" "na"
313
+ sub "nai" "nai"
314
+ sub "nan" "nan"
315
+ sub "nang" "nang"
316
+ sub "nao" "nao"
317
+ sub "nei" "nei"
318
+ sub "nen" "nen"
319
+ sub "neng" "neng"
320
+ sub "ni" "ni"
321
+ sub "niang" "niang"
322
+ sub "niao" "niao"
323
+ sub "nieh" "nie"
324
+ sub "nien" "nian"
325
+ sub "nin" "nin"
326
+ sub "ning" "ning"
327
+ sub "niu" "niu"
328
+ sub "no" "nuo"
329
+ sub "nu" "nu"
330
+ sub "nuan" "nuan"
331
+ sub "nung" "nong"
332
+ sub "nü" "nü"
333
+ sub "nüeh" "nüe"
334
+ sub "o" "e"
335
+ sub "ou" "ou"
336
+ sub "pa" "ba"
337
+ sub "p‘a" "pa"
338
+ sub "pai" "bai"
339
+ sub "p‘ai" "pai"
340
+ sub "pan" "ban"
341
+ sub "p‘an" "pan"
342
+ sub "pang" "bang"
343
+ sub "p‘ang" "pang"
344
+ sub "pao" "bao"
345
+ sub "p‘ao" "pao"
346
+ sub "pei" "bei"
347
+ sub "p‘ei" "pei"
348
+ sub "pen" "ben"
349
+ sub "p‘en" "pen"
350
+ sub "peng" "beng"
351
+ sub "p‘eng" "peng"
352
+ sub "pi" "bi"
353
+ sub "p‘i" "pi"
354
+ sub "piao" "biao"
355
+ sub "p‘iao" "piao"
356
+ sub "pieh" "bie"
357
+ sub "p‘ieh" "pie"
358
+ sub "pien" "bian"
359
+ sub "p‘ien" "pian"
360
+ sub "pin" "bin"
361
+ sub "p‘in" "pin"
362
+ sub "ping" "bing"
363
+ sub "p‘ing" "ping"
364
+ sub "po" "bo"
365
+ sub "p‘o" "po"
366
+ sub "pou" "bou"
367
+ sub "pu" "bu"
368
+ sub "p‘u" "pu"
369
+ sub "sa" "sa"
370
+ sub "sai" "sai"
371
+ sub "san" "san"
372
+ sub "sang" "sang"
373
+ sub "sao" "sao"
374
+ sub "se" "se"
375
+ sub "sen" "sen"
376
+ sub "seng" "seng"
377
+ sub "sha" "sha"
378
+ sub "shai" "shai"
379
+ sub "shan" "shan"
380
+ sub "shang" "shang"
381
+ sub "shao" "shao"
382
+ sub "she" "she"
383
+ sub "shen" "shen"
384
+ sub "sheng" "sheng"
385
+ sub "shih" "shi"
386
+ sub "shou" "shou"
387
+ sub "shu" "shu"
388
+ sub "shua" "shua"
389
+ sub "shuai" "shuai"
390
+ sub "shuan" "shuan"
391
+ sub "shuang" "shuang"
392
+ sub "shui" "shui"
393
+ sub "shun" "shun"
394
+ sub "shuo" "shuo"
395
+ sub "so" "suo"
396
+ sub "sou" "sou"
397
+ sub "ssu" "si"
398
+ sub "su" "su"
399
+ sub "suan" "suan"
400
+ sub "sui" "sui"
401
+ sub "sun" "sun"
402
+ sub "sung" "song"
403
+ sub "szu" "si"
404
+ sub "ta" "da"
405
+ sub "t‘a" "ta"
406
+ sub "tai" "dai"
407
+ sub "t‘ai" "tai"
408
+ sub "tan" "dan"
409
+ sub "t‘an" "tan"
410
+ sub "tang" "dang"
411
+ sub "t‘ang" "tang"
412
+ sub "tao" "dao"
413
+ sub "t‘ao" "tao"
414
+ sub "te" "de"
415
+ sub "t‘e" "te"
416
+ sub "teng" "deng"
417
+ sub "t‘eng" "teng"
418
+ sub "ti" "di"
419
+ sub "t‘i" "ti"
420
+ sub "tiao" "diao"
421
+ sub "t‘iao" "tiao"
422
+ sub "tieh" "die"
423
+ sub "t‘ieh" "tie"
424
+ sub "tien" "dian"
425
+ sub "t‘ien" "tian"
426
+ sub "ting" "ding"
427
+ sub "t‘ing" "ting"
428
+ sub "tiu" "diu"
429
+ sub "to" "duo"
430
+ sub "t‘o" "tuo"
431
+ sub "tou" "dou"
432
+ sub "t‘ou" "tou"
433
+ sub "tu" "du"
434
+ sub "t‘u" "tu"
435
+ sub "tuan" "duan"
436
+ sub "t‘uan" "tuan"
437
+ sub "tui" "dui"
438
+ sub "t‘ui" "tui"
439
+ sub "tun" "dun"
440
+ sub "t‘un" "tun"
441
+ sub "tung" "dong"
442
+ sub "t‘ung" "tong"
443
+ sub "tzu" "zi"
444
+ sub "tz‘u" "ci"
445
+ sub "tsa" "za"
446
+ sub "ts‘a" "ca"
447
+ sub "tsai" "zai"
448
+ sub "ts‘ai" "cai"
449
+ sub "tsan" "zan"
450
+ sub "ts‘an" "can"
451
+ sub "tsang" "zang"
452
+ sub "ts‘ang" "cang"
453
+ sub "tsao" "zao"
454
+ sub "ts‘ao" "cao"
455
+ sub "tse" "ze"
456
+ sub "ts‘e" "ce"
457
+ sub "tsei" "zei"
458
+ sub "tsen" "zen"
459
+ sub "ts‘en" "cen"
460
+ sub "tseng" "zeng"
461
+ sub "ts‘eng" "ceng"
462
+ sub "tso" "zuo"
463
+ sub "ts‘o" "cuo"
464
+ sub "tsou" "zou"
465
+ sub "ts‘ou" "cou"
466
+ sub "tsu" "zu"
467
+ sub "ts‘u" "cu"
468
+ sub "tsuan" "zuan"
469
+ sub "ts‘uan" "cuan"
470
+ sub "tsui" "zui"
471
+ sub "ts‘ui" "cui"
472
+ sub "tsun" "zun"
473
+ sub "ts‘un" "cun"
474
+ sub "tsung" "zong"
475
+ sub "ts‘ung" "cong"
476
+ sub "wa" "wa"
477
+ sub "wai" "wai"
478
+ sub "wan" "wan"
479
+ sub "wang" "wang"
480
+ sub "wei" "wei"
481
+ sub "wen" "wen"
482
+ sub "weng" "weng"
483
+ sub "wo" "wo"
484
+ sub "wu" "wu"
485
+ sub "ya" "ya"
486
+ sub "yai" "yai"
487
+ sub "yang" "yang"
488
+ sub "yao" "yao"
489
+ sub "yeh" "ye"
490
+ sub "yen" "yan"
491
+ sub "yin" "yin"
492
+ sub "ying" "ying"
493
+ sub "yo" "yo"
494
+ sub "yu" "you"
495
+ sub "yung" "yong"
496
+ sub "yü" "yu"
497
+ sub "yüan" "yuan"
498
+ sub "yüeh" "yue"
499
+ sub "yün" "yun"
500
+ }
501
+ }
502
+ }