interscript-maps 2.5.1 → 3.0.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.
- checksums.yaml +4 -4
- data/README.adoc +76 -5
- data/interscript-maps.gemspec +1 -1
- data/libs/posix.isc +7 -0
- data/libs/unicode.isc +8 -0
- data/libs/var-Cyrl.isc +8 -0
- data/libs/var-kor.isc +14 -0
- data/maps/alalc-ban-Bali-Latn-2025.isc +610 -0
- data/maps/alalc-bod-Tibt-Latn-2015.isc +2249 -0
- data/maps/alalc-btk-Batk-Latn-2012.isc +330 -0
- data/maps/alalc-cjm-Cham-Latn-2015.isc +18189 -0
- data/maps/alalc-ell-Grek-Latn-2010.isc +1 -0
- data/maps/alalc-jav-Java-Latn-2012.isc +3963 -0
- data/maps/alalc-khm-Khmr-Latn-2013.isc +3569 -0
- data/maps/alalc-lao-Laoo-Latn-2012.isc +2176 -0
- data/maps/alalc-lep-Lepc-Latn-2012.isc +10241 -0
- data/maps/alalc-lif-Limb-Latn-2011.isc +267 -0
- data/maps/alalc-mkd-Cyrl-Latn-1997.isc +1 -0
- data/maps/alalc-mkd-Cyrl-Latn-2013.isc +1 -0
- data/maps/alalc-mni-Mtei-Latn-2022.isc +289 -0
- data/maps/alalc-mya-Mymr-Latn-2011.isc +2723 -0
- data/maps/alalc-sat-Olck-Latn-2017.isc +77 -0
- data/maps/alalc-shn-Shan-Latn-2012.isc +906 -0
- data/maps/alalc-srp-Cyrl-Latn-1997.isc +1 -0
- data/maps/alalc-tha-Thai-Latn-2011.isc +1830 -0
- data/maps/bas-rus-Cyrl-Latn-2017-bss.isc +1 -0
- data/maps/bgnpcgn-ady-Cyrl-Latn-2012.isc +333 -0
- data/maps/bgnpcgn-av-Cyrl-Latn-2011.isc +181 -0
- data/maps/bgnpcgn-ava-Cyrl-Latn-2011.isc +264 -0
- data/maps/bgnpcgn-chv-Cyrl-Latn-2011.isc +242 -0
- data/maps/bgnpcgn-cv-Cyrl-Latn-2011.isc +179 -0
- data/maps/bgnpcgn-deu-Latn-Latn-2000.isc +1 -0
- data/maps/bgnpcgn-dzo-Tibt-Latn-2010.isc +523 -0
- data/maps/bgnpcgn-iu-Cans-Latn-2013.isc +280 -0
- data/maps/bgnpcgn-kbd-Cyrl-Latn-2011.isc +295 -0
- data/maps/bgnpcgn-krc-Cyrl-Latn-2008.isc +218 -0
- data/maps/bgnpcgn-kur-Arab-Latn-2007.isc +4 -1
- data/maps/bgnpcgn-mkd-Cyrl-Latn-1981.isc +1 -0
- data/maps/bgnpcgn-mkd-Cyrl-Latn-2013.isc +1 -0
- data/maps/bgnpcgn-os-Cyrl-Latn-2009.isc +187 -0
- data/maps/bgnpcgn-oss-Cyrl-Latn-2009.isc +259 -0
- data/maps/bgnpcgn-sah-Cyrl-Latn-2012.isc +257 -0
- data/maps/bgnpcgn-syc-Syrc-Latn-2011.isc +94 -0
- data/maps/bgnpcgn-syr-Syrc-Latn-2011.isc +118 -0
- data/maps/bgnpcgn-tha-Thai-Latn-2002.isc +595 -0
- data/maps/bgnpcgn-udm-Cyrl-Latn-2011.isc +225 -0
- data/maps/bsi-bel-Cyrl-Latn-1958.isc +148 -0
- data/maps/bsi-bul-Cyrl-Latn-1958.isc +137 -0
- data/maps/bsi-chu-Cyrl-Latn-1958.isc +226 -0
- data/maps/bsi-ell-Grek-Latn-1958.isc +445 -0
- data/maps/bsi-kor-Kore-Latn-6505-1982-t8.isc +2757 -0
- data/maps/bsi-kor-Kore-Latn-6505-1982.isc +11327 -0
- data/maps/bsi-mkd-Cyrl-Latn-1958.isc +140 -0
- data/maps/bsi-ron-Cyrl-Latn-1958.isc +244 -0
- data/maps/bsi-rus-Cyrl-Latn-1958.isc +199 -0
- data/maps/bsi-srp-Cyrl-Latn-1958.isc +134 -0
- data/maps/bsi-ukr-Cyrl-Latn-1958.isc +129 -0
- data/maps/by-bel-Cyrl-Latn-1998.isc +1 -0
- data/maps/din-ab-Cyrl-Latn-1460-2-2011.isc +83 -0
- data/maps/din-abq-Cyrl-Latn-1460-2-2011.isc +66 -0
- data/maps/din-ady-Cyrl-Latn-1460-2-2011.isc +73 -0
- data/maps/din-ara-Arab-Latn-31635-2011.isc +402 -0
- data/maps/din-atv-Cyrl-Latn-1460-2-2011.isc +80 -0
- data/maps/din-av-Cyrl-Latn-1460-2-2011.isc +74 -0
- data/maps/din-az-Cyrl-Latn-1460-2-2011.isc +80 -0
- data/maps/din-ba-Cyrl-Latn-1460-2-2011.isc +82 -0
- data/maps/din-bxr-Cyrl-Latn-1460-2-2011.isc +77 -0
- data/maps/din-ce-Cyrl-Latn-1460-2-2011.isc +81 -0
- data/maps/din-cjs-Cyrl-Latn-1460-2-2011.isc +79 -0
- data/maps/din-ckt-Cyrl-Latn-1460-2-2011.isc +73 -0
- data/maps/din-crh-Cyrl-Latn-1460-2-2011.isc +74 -0
- data/maps/din-cv-Cyrl-Latn-1460-2-2011.isc +87 -0
- data/maps/din-dar-Cyrl-Latn-1460-2-2011.isc +74 -0
- data/maps/din-dng-Cyrl-Latn-1460-2-2011.isc +78 -0
- data/maps/din-ess-Cyrl-Latn-1460-2-2011-s14.isc +79 -0
- data/maps/din-eve-Cyrl-Latn-1460-2-2011.isc +77 -0
- data/maps/din-evn-Cyrl-Latn-1460-2-2011.isc +75 -0
- data/maps/din-fas-Arab-Latn-31635-2011.isc +337 -0
- data/maps/din-gag-Cyrl-Latn-1460-2-2011.isc +78 -0
- data/maps/din-gld-Cyrl-Latn-1460-2-2011.isc +74 -0
- data/maps/din-heb-Hebr-Latn-31636-2018.isc +355 -0
- data/maps/din-hye-Armn-Latn-32706-2010.isc +197 -0
- data/maps/din-inh-Cyrl-Latn-1460-2-2011.isc +74 -0
- data/maps/din-jpn-Hrkt-Latn-32708-2014.isc +1316 -0
- data/maps/din-kaa-Cyrl-Latn-1460-2-2011.isc +81 -0
- data/maps/din-kbd-Cyrl-Latn-1460-2-2011.isc +74 -0
- data/maps/din-kca-Cyrl-Latn-1460-2-2011-s25.isc +78 -0
- data/maps/din-kca-Cyrl-Latn-1460-2-2011-s36.isc +75 -0
- data/maps/din-kca-Cyrl-Latn-1460-2-2011-s48.isc +75 -0
- data/maps/din-kca-Cyrl-Latn-1460-2-2011-s50.isc +81 -0
- data/maps/din-kca-Cyrl-Latn-1460-2-2011-s62.isc +81 -0
- data/maps/din-khk-Cyrl-Latn-1460-2-2011.isc +76 -0
- data/maps/din-kjh-Cyrl-Latn-1460-2-2011.isc +88 -0
- data/maps/din-kk-Cyrl-Latn-1460-2-2011.isc +82 -0
- data/maps/din-koi-Cyrl-Latn-1460-2-2011.isc +78 -0
- data/maps/din-kpy-Cyrl-Latn-1460-2-2011.isc +76 -0
- data/maps/din-krc-Cyrl-Latn-1460-2-2011-s23.isc +83 -0
- data/maps/din-krc-Cyrl-Latn-1460-2-2011-s7.isc +75 -0
- data/maps/din-ku-Cyrl-Latn-1460-2-2011-s32.isc +77 -0
- data/maps/din-kum-Cyrl-Latn-1460-2-2011.isc +78 -0
- data/maps/din-kur-Arab-Latn-31635-2011.isc +196 -0
- data/maps/din-kv-Cyrl-Latn-1460-2-2011.isc +78 -0
- data/maps/din-ky-Cyrl-Latn-1460-2-2011.isc +77 -0
- data/maps/din-lbe-Cyrl-Latn-1460-2-2011.isc +66 -0
- data/maps/din-lez-Cyrl-Latn-1460-2-2011.isc +74 -0
- data/maps/din-mdf-Cyrl-Latn-1460-2-2011.isc +78 -0
- data/maps/din-mhr-Cyrl-Latn-1460-2-2011.isc +79 -0
- data/maps/din-mns-Cyrl-Latn-1460-2-2011.isc +76 -0
- data/maps/din-mrj-Cyrl-Latn-1460-2-2011.isc +79 -0
- data/maps/din-myv-Cyrl-Latn-1460-2-2011.isc +74 -0
- data/maps/din-niv-Cyrl-Latn-1460-2-2011.isc +80 -0
- data/maps/din-nog-Cyrl-Latn-1460-2-2011.isc +74 -0
- data/maps/din-os-Cyrl-Latn-1460-2-2011.isc +89 -0
- data/maps/din-ro-Cyrl-Latn-1460-2-2011-s38.isc +72 -0
- data/maps/din-sah-Cyrl-Latn-1460-2-2011.isc +89 -0
- data/maps/din-sel-Cyrl-Latn-1460-2-2011.isc +80 -0
- data/maps/din-tab-Cyrl-Latn-1460-2-2011.isc +74 -0
- data/maps/din-tg-Cyrl-Latn-1460-2-2011.isc +83 -0
- data/maps/din-tk-Cyrl-Latn-1460-2-2011.isc +78 -0
- data/maps/din-tt-Cyrl-Latn-1460-2-2011.isc +53 -0
- data/maps/din-tyv-Cyrl-Latn-1460-2-2011.isc +77 -0
- data/maps/din-udm-Cyrl-Latn-1460-2-2011.isc +79 -0
- data/maps/din-ug-Cyrl-Latn-1460-2-2011.isc +81 -0
- data/maps/din-urd-Arab-Latn-31635-2011.isc +300 -0
- data/maps/din-uz-Cyrl-Latn-1460-2-2011.isc +76 -0
- data/maps/din-xal-Cyrl-Latn-1460-2-2011.isc +82 -0
- data/maps/din-yid-Hebr-Latn-31636-2018.isc +208 -0
- data/maps/din-yrk-Cyrl-Latn-1460-2-2011.isc +76 -0
- data/maps/gki-bel-Cyrl-Latn-2000.isc +1 -0
- data/maps/gost-rus-Cyrl-Latn-16876-71-1983.isc +1 -0
- data/maps/icao-bel-Cyrl-Latn-9303.isc +41 -4
- data/maps/icao-bul-Cyrl-Latn-9303.isc +36 -5
- data/maps/icao-fas-Arab-Latn-9303.isc +28 -8
- data/maps/icao-heb-Hebr-Latn-9303.isc +5 -0
- data/maps/icao-mkd-Cyrl-Latn-9303.isc +49 -6
- data/maps/icao-mul-Latn-Latn-2015.isc +256 -0
- data/maps/icao-rus-Cyrl-Latn-9303.isc +29 -0
- data/maps/icao-srp-Cyrl-Latn-9303.isc +53 -4
- data/maps/icao-ukr-Cyrl-Latn-9303.isc +53 -7
- data/maps/iso-rus-Cyrl-Latn-9-1995.isc +14 -4
- data/maps/kp-kor-Hang-Latn-2002.isc +1 -0
- data/maps/odni-kor-Hang-Latn-2015.isc +1 -0
- data/maps/odni-kur-Arab-Latn-2011.isc +280 -0
- data/maps/odni-prs-Arab-Latn-2004.isc +0 -1
- data/maps/odni-zho-Hani-Latn-2015.isc +457 -0
- data/maps/royin-tha-Thai-Latn-1999.isc +60 -0
- data/maps/un-amh-Ethi-Latn-2016.isc +3 -0
- data/maps/un-ara-Arab-Latn-1971.isc +2 -0
- data/maps/un-ara-Arab-Latn-1972.isc +4 -0
- data/maps/un-ara-Arab-Latn-2017.isc +129 -15
- data/maps/un-asm-Beng-Latn-1972.isc +9 -1
- data/maps/un-bel-Cyrl-Latn-2007.isc +17 -0
- data/maps/un-ben-Beng-Latn-2016.isc +4422 -128
- data/maps/un-bul-Cyrl-Latn-1977.isc +50 -34
- data/maps/un-ell-Grek-Latn-1987-phonetic.isc +1 -0
- data/maps/un-ell-Grek-Latn-1987-tl.isc +8 -0
- data/maps/un-ell-Grek-Latn-1987-ts.isc +1 -0
- data/maps/un-guj-Gujr-Latn-1972.isc +2 -0
- data/maps/un-hin-Deva-Latn-2016.isc +6 -0
- data/maps/un-kan-Kana-Latn-2016.isc +2 -0
- data/maps/un-mal-Mlym-Latn-1972.isc +8 -2
- data/maps/un-mar-Deva-Latn-2016.isc +10 -9
- data/maps/un-mkd-Cyrl-Latn-1977.isc +12 -0
- data/maps/un-mon-Mong-Latn-general-2013.isc +3 -0
- data/maps/un-mon-Mong-Latn-phonetic-2013.isc +3 -0
- data/maps/un-nep-Deva-Latn-1972.isc +2 -0
- data/maps/un-nep-Deva-Latn-2013.isc +2 -0
- data/maps/un-ori-Orya-Latn-1972.isc +16 -6
- data/maps/un-pan-Guru-Latn-1972.isc +2 -0
- data/maps/un-prs-Arab-Latn-1967.isc +2 -6
- data/maps/un-rus-Cyrl-Latn-1987.isc +8 -4
- data/maps/un-sin-Sinh-Latn-1972.isc +4 -0
- data/maps/un-srp-Cyrl-Latn-1997.isc +9 -1
- data/maps/un-tam-Taml-Latn-1972.isc +2 -0
- data/maps/un-tel-Telu-Latn-1972.isc +2 -0
- data/maps/un-ukr-Cyrl-Latn-1998.isc +2 -0
- data/maps/un-ukr-Cyrl-Latn-2012.isc +7 -1
- data/maps/un-urd-Arab-Latn-1972.isc +9 -3
- data/maps/var-kor-Hang-Latn-mr-1939.isc +3 -3
- metadata +120 -1
|
@@ -0,0 +1,457 @@
|
|
|
1
|
+
system "ODNI:zho-Hani:Latn:2015" {
|
|
2
|
+
|
|
3
|
+
metadata {
|
|
4
|
+
authority_id odni
|
|
5
|
+
id 2015
|
|
6
|
+
language iso-639-2:zho
|
|
7
|
+
source_script Hani
|
|
8
|
+
destination_script Latn
|
|
9
|
+
name ICS-630-01 Romanization of Chinese Personal Names (2015)
|
|
10
|
+
source ICS-630-01 Annex D
|
|
11
|
+
creation_date 2015
|
|
12
|
+
confirmation_date 2015-08
|
|
13
|
+
description { This system applies to personal names rendered in Modern Chinese as
|
|
14
|
+
represented in the Hanyu Pinyin Romanization System. It does not
|
|
15
|
+
apply to names that are represented in other systems or in
|
|
16
|
+
Romanization schemes or practices that are used to represent
|
|
17
|
+
personal names in Chinese dialects.
|
|
18
|
+
|
|
19
|
+
The Intelligence Community (IC) standard for transliterating Chinese
|
|
20
|
+
personal names into English is the Hanyu Pinyin Romanization System
|
|
21
|
+
(or pinyin), officially known as the Scheme of the Chinese Phonetic
|
|
22
|
+
Alphabet (汉语拼音方案), with several modifications as specified in
|
|
23
|
+
this document (e.g., absence of umlauted ü, title case for
|
|
24
|
+
surnames). In 1982 the International Organization for
|
|
25
|
+
Standardization (ISO) codified the Hanyu Pinyin Romanization System
|
|
26
|
+
as ISO 7098, Information and Documentation – Romanization of Chinese
|
|
27
|
+
(Second Edition, 12-15-1991).
|
|
28
|
+
|
|
29
|
+
The primary purpose for designating a singular system is to allow
|
|
30
|
+
for a consistent transcription of names that is specifically
|
|
31
|
+
readable to the English-speaking non-specialist. It is not intended
|
|
32
|
+
to be fully "reversible". Disambiguation should be accomplished by
|
|
33
|
+
providing additional information following best practices of the
|
|
34
|
+
issuing organization: the Unicode-encoded form of the original
|
|
35
|
+
Chinese characters, the original encoding scheme if other than
|
|
36
|
+
Unicode (e.g., Big5 or GB), whether traditional or simplified
|
|
37
|
+
characters were used, and Standard Telegraphic Code (标准电码)
|
|
38
|
+
representations (The Standard Telegraph Codebook, revised edition,
|
|
39
|
+
PRC Ministry of Post and Telecommunications) — e.g., Ma Yingjiu
|
|
40
|
+
(STC: 7456/5391/0036). Use simplified (or short form) characters as
|
|
41
|
+
the default; traditional (or long form) characters may be used for
|
|
42
|
+
non-Mainland persons.
|
|
43
|
+
|
|
44
|
+
Personal names in Chinese should be transliterated into the IC
|
|
45
|
+
Standard in accordance with the following criteria:
|
|
46
|
+
|
|
47
|
+
a. the surname (family name) should appear first, followed by the
|
|
48
|
+
given name
|
|
49
|
+
b. the surname should be separated from the given name and be
|
|
50
|
+
followed by the given name. The initial letter of each name
|
|
51
|
+
should be capitalized, with the rest in lower case letters
|
|
52
|
+
c. commas should not be placed between the surname and given name
|
|
53
|
+
d. syllables should not be separated in the given name
|
|
54
|
+
e. hyphens should not be used between any syllables (except as
|
|
55
|
+
noted in paragraph 12)
|
|
56
|
+
f. apostrophes should not be used between any syllables (see
|
|
57
|
+
paragraph 14 for details)
|
|
58
|
+
g. compound surnames should be capitalized with no space between
|
|
59
|
+
the characters
|
|
60
|
+
|
|
61
|
+
Examples include Zhang Wei, Hu Jintao, Ouyang Xiu, Zhou Youguang,
|
|
62
|
+
and Ouyang Qianqing. If an official spelling of a name differs from
|
|
63
|
+
the IC Standard, it may be used throughout the document, with the
|
|
64
|
+
IC Standard spelling included where capabilities allow.
|
|
65
|
+
|
|
66
|
+
When a married woman uses both her surname and her husband's
|
|
67
|
+
surname, both surnames are capitalized, but a hyphen should be used
|
|
68
|
+
to separate the surnames (e.g., Chen-Li Meiling; the first surname
|
|
69
|
+
is the husband's, the second the wife's maiden name).
|
|
70
|
+
|
|
71
|
+
The umlaut (ü), as in Lü and Nü, should not be used. The standard
|
|
72
|
+
uses u for the ü character: Lu, Nu. No apostrophe (’) should be
|
|
73
|
+
used between syllables; other forensic information (e.g. original
|
|
74
|
+
Chinese characters, STC codes) should be used where necessary to
|
|
75
|
+
disambiguate syllable combinations. Any additional ambiguity should
|
|
76
|
+
be addressed in a Translator's Comment.
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
notes {
|
|
80
|
+
# Encoded transformation
|
|
81
|
+
note "This map encodes the character-level data of the annex: the
|
|
82
|
+
surname characters of Appendix C (List of Common Chinese Surnames,
|
|
83
|
+
116 printed entries over 115 distinct characters), the umlaut fold
|
|
84
|
+
(u for ü), the apostrophe prohibition (criterion f, paragraph 14),
|
|
85
|
+
and word-initial capitalization of each name part (criterion b),
|
|
86
|
+
applied through boundary postrules. The name-formation rules
|
|
87
|
+
(criteria a, c, d, g) operate above the character level and are not
|
|
88
|
+
encoded. Given-name characters have no character mapping: the annex
|
|
89
|
+
provides no general hanzi-to-pinyin character table — its hanzi
|
|
90
|
+
data is the surname list of Appendix C only. Given names must
|
|
91
|
+
already be in pinyin orthography (the standard's stated domain) and
|
|
92
|
+
pass through the orthographic rules unchanged apart from the fold,
|
|
93
|
+
the apostrophe removal and the capitalization."
|
|
94
|
+
# Appendix A — IC Transliteration Table (D-4)
|
|
95
|
+
note "Appendix A is the IC syllable inventory: 411 initial-final
|
|
96
|
+
cells over 39 printed final columns and 25 initial rows (the
|
|
97
|
+
zero-initial row and b c ch d f g h j k l m n p q r s sh t w x y z
|
|
98
|
+
zh). Its cells print the IC syllable forms, title-cased; this map
|
|
99
|
+
realizes them through the word-initial capitalization postrule —
|
|
100
|
+
orthographically the cells are standard pinyin except the umlaut
|
|
101
|
+
columns (lü, lüe, nü, nüe printed as Lu, Lue, Nu, Nue) and the
|
|
102
|
+
anomalies recorded here, all as printed and none silently
|
|
103
|
+
corrected: the header prints two adjacent columns both labeled
|
|
104
|
+
'i' — the cells of the z, c, s and y rows (Zi Ci Si Yi) sit under
|
|
105
|
+
the first and those of the zh, ch, sh and r rows (Zhi Chi Shi Ri)
|
|
106
|
+
under the second, distinguishing the two apical vowel readings of
|
|
107
|
+
the letter i; the w- row carries a 'Wong' cell under the ong column
|
|
108
|
+
alongside 'Weng' under eng — wong is not a standard pinyin syllable
|
|
109
|
+
(the dialectal surname form); the k- row carries 'Kei', which the
|
|
110
|
+
standard orthography does not list; the standard syllables wen
|
|
111
|
+
(present in Appendix B), nun, len and nia are absent from the
|
|
112
|
+
table, as are the interjection syllables (m, n, ng, hm, hng, fiao);
|
|
113
|
+
and the two printed columns 'uen' and 'ueng' carry no cells in any
|
|
114
|
+
row. The complete grid is preserved in
|
|
115
|
+
tools/ics-630-01-annexd.json (cells: initial, final, input syllable,
|
|
116
|
+
IC form)."
|
|
117
|
+
# Appendix B — Conversion Table (D-5..D-18)
|
|
118
|
+
note "Appendix B is a Conversion Table of Common Chinese
|
|
119
|
+
Romanization Systems: 397 rows of IC (Based on Pinyin), Wade-Giles,
|
|
120
|
+
Yale and Mandarin Phonetic (Zhuyin) syllable correspondences. It is
|
|
121
|
+
a cross-romanization reference, outside the scope of a
|
|
122
|
+
Hani-to-Latin character map, and is preserved in full in
|
|
123
|
+
tools/ics-630-01-annexd.json. As printed it contradicts the
|
|
124
|
+
normative umlaut rule: its IC column spells lü, lüe, nü, nüe as
|
|
125
|
+
'lyu', 'lue', 'nyu', 'nue' (Wade-Giles lü, lüeh, nü, nüeh), where
|
|
126
|
+
the main text and Appendix A prescribe Lu, Lue, Nu, Nue — the
|
|
127
|
+
normative forms are encoded here. Its bo row prints the Zhuyin cell
|
|
128
|
+
ㄅㄠㄛ where the standard spelling is ㄅㄛ. It additionally
|
|
129
|
+
contains wen and yai rows absent from Appendix A, and omits the
|
|
130
|
+
Appendix A cells chua, dei, den, dia, ei, eng, kei, lia, lo, me, o,
|
|
131
|
+
rua, shei, tei, wong, zhei and the umlaut spellings lü, lüe, nü,
|
|
132
|
+
nüe."
|
|
133
|
+
# Appendix C — anomalies
|
|
134
|
+
note "Appendix C anomalies, as printed: 范 appears twice, both
|
|
135
|
+
times with STC 5400 and the IC primary Fan (the second entry adds
|
|
136
|
+
the alternate Farn); the list prints the traditional forms 呂 (0712
|
|
137
|
+
Lu), 萬 (5502 Wan) and 葉 (5509 Ye) alongside simplified forms,
|
|
138
|
+
although the main text directs to use simplified characters as the
|
|
139
|
+
default — the characters are mapped exactly as printed; the 柯 cell
|
|
140
|
+
prints 'Ke, Ker, and Quah' with a literal 'and', which is preserved
|
|
141
|
+
in the rule comment. Each rule comment carries the entry's Standard
|
|
142
|
+
Telegraphic Code (标准电码) and the non-IC alternate renditions
|
|
143
|
+
printed after the IC form; the alternates are other common
|
|
144
|
+
renditions, not IC Standard outputs, and do not participate in the
|
|
145
|
+
mapping."
|
|
146
|
+
# Main-text rules outside the character mapping
|
|
147
|
+
note "Main-text rules recorded but not encoded: persons who have
|
|
148
|
+
adopted English names give the English name first (David Dai Ho,
|
|
149
|
+
Elaine L. Chao, Gary F. Locke — IC Standard Luo Jiahui, STC
|
|
150
|
+
7482/1367/6540); variant spellings are retained in parentheses
|
|
151
|
+
(Huang Haoran, also seen as Wong Hoi-yin and Raymond Wong); an
|
|
152
|
+
official spelling may override the IC Standard spelling; residual
|
|
153
|
+
ambiguity (nicknames, former married names) is addressed in a
|
|
154
|
+
Translator's Comment."
|
|
155
|
+
# Parent standard memo (ICS 630-01 cover)
|
|
156
|
+
note "The annex is issued under ICS 630-01, Foreign Language
|
|
157
|
+
Transliteration Standards (Intelligence Community Standard
|
|
158
|
+
630-01): transliteration is standardized within the IC on all
|
|
159
|
+
finished analytical reports and products; FLTS for individual
|
|
160
|
+
languages are developed and reviewed by each IC element's Senior
|
|
161
|
+
Language Authority, promulgated as annexes titled Standards for
|
|
162
|
+
the Transliteration of Personal Names in Written Reports and
|
|
163
|
+
Products, issued by the ADNI through the Foreign Language Program
|
|
164
|
+
Office. The standard is effective 10 August 2015, the date of
|
|
165
|
+
signature (Deana A. Krichter, ADNI for Human Capital)."
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
tests {
|
|
170
|
+
# Appendix C: List of Common Chinese Surnames — one test per printed entry, IC primary form.
|
|
171
|
+
"丁" -> "Ding" # STC 0002
|
|
172
|
+
"于" -> "Yu" # STC 0060
|
|
173
|
+
"方" -> "Fang" # STC 2455
|
|
174
|
+
"孔" -> "Kong" # STC 1313
|
|
175
|
+
"毛" -> "Mao" # STC 3029
|
|
176
|
+
"王" -> "Wang" # STC 3769
|
|
177
|
+
"文" -> "Wen" # STC 2429
|
|
178
|
+
"尹" -> "Yin" # STC 1438
|
|
179
|
+
"白" -> "Bai" # STC 4101
|
|
180
|
+
"石" -> "Shi" # STC 4258
|
|
181
|
+
"史" -> "Shi" # STC 0670
|
|
182
|
+
"田" -> "Tian" # STC 3944
|
|
183
|
+
"池" -> "Chi" # STC 3069
|
|
184
|
+
"江" -> "Jiang" # STC 3068
|
|
185
|
+
"任" -> "Ren" # STC 0117
|
|
186
|
+
"伊" -> "Yi" # STC 0122
|
|
187
|
+
"朱" -> "Zhu" # STC 2612
|
|
188
|
+
"阮" -> "Ruan" # STC 7086
|
|
189
|
+
"杜" -> "Du" # STC 2629
|
|
190
|
+
"何" -> "He" # STC 0149
|
|
191
|
+
"李" -> "Li" # STC 2621
|
|
192
|
+
"呂" -> "Lu" # STC 0712
|
|
193
|
+
"邱" -> "Qiu" # STC 6726
|
|
194
|
+
"邵" -> "Shao" # STC 6730
|
|
195
|
+
"沈" -> "Shen" # STC 3088
|
|
196
|
+
"宋" -> "Song" # STC 1345
|
|
197
|
+
"巫" -> "Wu" # STC 1566
|
|
198
|
+
"吴" -> "Wu" # STC 0702
|
|
199
|
+
"余" -> "Yu" # STC 0151
|
|
200
|
+
"金" -> "Jin" # STC 6855
|
|
201
|
+
"林" -> "Lin" # STC 2651
|
|
202
|
+
"孟" -> "Meng" # STC 1322
|
|
203
|
+
"汪" -> "Wang" # STC 3076
|
|
204
|
+
"易" -> "Yi" # STC 2496
|
|
205
|
+
"周" -> "Zhou" # STC 0719
|
|
206
|
+
"花" -> "Hua" # STC 5363
|
|
207
|
+
"段" -> "Duan" # STC 3008
|
|
208
|
+
"范" -> "Fan" # STC 5400
|
|
209
|
+
"郝" -> "Hao" # STC 6787
|
|
210
|
+
"胡" -> "Hu" # STC 5170
|
|
211
|
+
"侯" -> "Hou" # STC 0186
|
|
212
|
+
"姜" -> "Jiang" # STC 1203
|
|
213
|
+
"马" -> "Ma" # STC 7456
|
|
214
|
+
"姚" -> "Yao" # STC 1202
|
|
215
|
+
"柯" -> "Ke" # STC 2688
|
|
216
|
+
"洪" -> "Hong" # STC 3163
|
|
217
|
+
"陈" -> "Chen" # STC 7115
|
|
218
|
+
"高" -> "Gao" # STC 7559
|
|
219
|
+
"郭" -> "Guo" # STC 6753
|
|
220
|
+
"姬" -> "Ji" # STC 1213
|
|
221
|
+
"康" -> "Kang" # STC 1660
|
|
222
|
+
"陆" -> "Lu" # STC 7120
|
|
223
|
+
"秦" -> "Qin" # STC 4440
|
|
224
|
+
"孙" -> "Sun" # STC 1327
|
|
225
|
+
"唐" -> "Tang" # STC 0781
|
|
226
|
+
"夏" -> "Xia" # STC 1115
|
|
227
|
+
"徐" -> "Xu" # STC 1776
|
|
228
|
+
"袁" -> "Yuan" # STC 5913
|
|
229
|
+
"曹" -> "Cao" # STC 2580
|
|
230
|
+
"常" -> "Chang" # STC 1603
|
|
231
|
+
"崔" -> "Cui" # STC 1508
|
|
232
|
+
"冯" -> "Feng" # STC 7458
|
|
233
|
+
"黄" -> "Huang" # STC 7806
|
|
234
|
+
"梁" -> "Liang" # STC 2733
|
|
235
|
+
"梅" -> "Mei" # STC 2734
|
|
236
|
+
"许" -> "Xu" # STC 6079
|
|
237
|
+
"张" -> "Zhang" # STC 1728
|
|
238
|
+
"程" -> "Cheng" # STC 4453
|
|
239
|
+
"傅" -> "Fu" # STC 0265
|
|
240
|
+
"贺" -> "He" # STC 6320
|
|
241
|
+
"彭" -> "Peng" # STC 1756
|
|
242
|
+
"汤" -> "Tang" # STC 3282
|
|
243
|
+
"萬" -> "Wan" # STC 5502
|
|
244
|
+
"葉" -> "Ye" # STC 5509
|
|
245
|
+
"曾" -> "Zeng" # STC 2582
|
|
246
|
+
"邹" -> "Zou" # STC 6760
|
|
247
|
+
"焦" -> "Jiao" # STC 3542
|
|
248
|
+
"项" -> "Xiang" # STC 7309
|
|
249
|
+
"邓" -> "Deng" # STC 6772
|
|
250
|
+
"董" -> "Dong" # STC 5516
|
|
251
|
+
"贾" -> "Jia" # STC 6328
|
|
252
|
+
"雷" -> "Lei" # STC 7191
|
|
253
|
+
"乔" -> "Qiao" # STC 0829
|
|
254
|
+
"杨" -> "Yang" # STC 2799
|
|
255
|
+
"潘" -> "Pan" # STC 3382
|
|
256
|
+
"熊" -> "Xiong" # STC 3574
|
|
257
|
+
"赵" -> "Zhao" # STC 6392
|
|
258
|
+
"郑" -> "Zheng" # STC 6774
|
|
259
|
+
"蔡" -> "Cai" # STC 5591
|
|
260
|
+
"范" -> "Fan" # STC 5400
|
|
261
|
+
"蒋" -> "Jiang" # STC 5592
|
|
262
|
+
"黎" -> "Li" # STC 7812
|
|
263
|
+
"刘" -> "Liu" # STC 0491
|
|
264
|
+
"骆" -> "Luo" # STC 7482
|
|
265
|
+
"阎" -> "Yan" # STC 7051
|
|
266
|
+
"欧" -> "Ou" # STC 2962
|
|
267
|
+
"赖" -> "Lai" # STC 6351
|
|
268
|
+
"霍" -> "Huo" # STC 7202
|
|
269
|
+
"卢" -> "Lu" # STC 4151
|
|
270
|
+
"钱" -> "Qian" # STC 6929
|
|
271
|
+
"萧" -> "Xiao" # STC 5618
|
|
272
|
+
"韩" -> "Han" # STC 7281
|
|
273
|
+
"龙" -> "Long" # STC 7893
|
|
274
|
+
"魏" -> "Wei" # STC 7614
|
|
275
|
+
"谢" -> "Xie" # STC 6200
|
|
276
|
+
"薛" -> "Xue" # STC 5641
|
|
277
|
+
"戴" -> "Dai" # STC 1601
|
|
278
|
+
"聂" -> "Nie" # STC 5119
|
|
279
|
+
"谭" -> "Tan" # STC 6223
|
|
280
|
+
"罗" -> "Luo" # STC 5012
|
|
281
|
+
"苏" -> "Su" # STC 5685
|
|
282
|
+
"锺" -> "Zhong" # STC 6945
|
|
283
|
+
"关" -> "Guan" # STC 7070
|
|
284
|
+
"顾" -> "Gu" # STC 7357
|
|
285
|
+
"龚" -> "Gong" # STC 7895
|
|
286
|
+
"栾" -> "Luan" # STC 2940
|
|
287
|
+
# Umlaut fold and apostrophe rules (main text; Appendix A).
|
|
288
|
+
"lü" -> "Lu"
|
|
289
|
+
"nü" -> "Nu"
|
|
290
|
+
"lüe" -> "Lue"
|
|
291
|
+
"nüe" -> "Nue"
|
|
292
|
+
"Lü Lin" -> "Lu Lin"
|
|
293
|
+
"xi’an" -> "Xian"
|
|
294
|
+
"xi'an" -> "Xian"
|
|
295
|
+
# Document examples through the orthographic rules (criteria b, e, g): Zhang Wei, Hu Jintao, Ouyang Xiu, Zhou Youguang, Ouyang Qianqing, Ma Yingjiu (STC: 7456/5391/0036), Luo Jiahui [IC Standard: Luo Jiahui, STC: 7482/1367/6540], Huang Haoran (also Wong Hoi-yin), Chen-Li Meiling.
|
|
296
|
+
"zhang wei" -> "Zhang Wei"
|
|
297
|
+
"hu jintao" -> "Hu Jintao"
|
|
298
|
+
"ouyang xiu" -> "Ouyang Xiu"
|
|
299
|
+
"zhou youguang" -> "Zhou Youguang"
|
|
300
|
+
"ouyang qianqing" -> "Ouyang Qianqing"
|
|
301
|
+
"ma yingjiu" -> "Ma Yingjiu"
|
|
302
|
+
"luo jiahui" -> "Luo Jiahui"
|
|
303
|
+
"huang haoran" -> "Huang Haoran"
|
|
304
|
+
"chen-li meiling" -> "Chen-Li Meiling"
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
stage main {
|
|
308
|
+
parallel {
|
|
309
|
+
# APPENDIX C — List of Common Chinese Surnames (D-19..D-22)
|
|
310
|
+
# Each rule: character -> IC transliteration; comment carries the
|
|
311
|
+
# printed STC code and the non-IC alternate renditions.
|
|
312
|
+
sub "丁" "Ding" # STC 0002
|
|
313
|
+
sub "于" "Yu" # STC 0060
|
|
314
|
+
sub "方" "Fang" # STC 2455; as printed: Fang, Fong
|
|
315
|
+
sub "孔" "Kong" # STC 1313; as printed: Kong, Kung, Hung
|
|
316
|
+
sub "毛" "Mao" # STC 3029; as printed: Mao, Mo
|
|
317
|
+
sub "王" "Wang" # STC 3769; as printed: Wang, Wong, Voung, Ong, Heng
|
|
318
|
+
sub "文" "Wen" # STC 2429; as printed: Wen, Man
|
|
319
|
+
sub "尹" "Yin" # STC 1438
|
|
320
|
+
sub "白" "Bai" # STC 4101; as printed: Bai, Ba
|
|
321
|
+
sub "石" "Shi" # STC 4258; as printed: Shi, Shek
|
|
322
|
+
sub "史" "Shi" # STC 0670; as printed: Shi, Zee
|
|
323
|
+
sub "田" "Tian" # STC 3944; as printed: Tian, Tien
|
|
324
|
+
sub "池" "Chi" # STC 3069; as printed: Chi, Chea
|
|
325
|
+
sub "江" "Jiang" # STC 3068; as printed: Jiang, Chiang, Gong, Giang
|
|
326
|
+
sub "任" "Ren" # STC 0117; as printed: Ren, Yum
|
|
327
|
+
sub "伊" "Yi" # STC 0122; as printed: Yi, Yee
|
|
328
|
+
sub "朱" "Zhu" # STC 2612; as printed: Zhu, Chew, Choo, Chu, Gee
|
|
329
|
+
sub "阮" "Ruan" # STC 7086; as printed: Ruan, Yuen, Nguyen
|
|
330
|
+
sub "杜" "Du" # STC 2629; as printed: Du, Tu, Do
|
|
331
|
+
sub "何" "He" # STC 0149; as printed: He, Ho, Ko
|
|
332
|
+
sub "李" "Li" # STC 2621; as printed: Li, Lee
|
|
333
|
+
sub "呂" "Lu" # STC 0712
|
|
334
|
+
sub "邱" "Qiu" # STC 6726; as printed: Qiu, Khu, Kau
|
|
335
|
+
sub "邵" "Shao" # STC 6730; as printed: Shao, Chiu
|
|
336
|
+
sub "沈" "Shen" # STC 3088; as printed: Shen, Sun, Sung
|
|
337
|
+
sub "宋" "Song" # STC 1345; as printed: Song, Sung
|
|
338
|
+
sub "巫" "Wu" # STC 1566; as printed: Wu, Mo
|
|
339
|
+
sub "吴" "Wu" # STC 0702; as printed: Wu, Woo, Ng, Ang, Eng, Ing
|
|
340
|
+
sub "余" "Yu" # STC 0151; as printed: Yu, Yue
|
|
341
|
+
sub "金" "Jin" # STC 6855; as printed: Jin, Ching, King
|
|
342
|
+
sub "林" "Lin" # STC 2651; as printed: Lin, Lim, Lam, Lum
|
|
343
|
+
sub "孟" "Meng" # STC 1322; as printed: Meng, Man
|
|
344
|
+
sub "汪" "Wang" # STC 3076; as printed: Wang, Wong
|
|
345
|
+
sub "易" "Yi" # STC 2496; as printed: Yi, Yee
|
|
346
|
+
sub "周" "Zhou" # STC 0719; as printed: Zhou, Chau, Chow, Chou, Joe
|
|
347
|
+
sub "花" "Hua" # STC 5363; as printed: Hua, Fa, Far
|
|
348
|
+
sub "段" "Duan" # STC 3008
|
|
349
|
+
sub "范" "Fan" # STC 5400; character printed twice in the list (both STC 5400); first entry as printed: Fan, Fang; second entry as printed: Fan, Fang, Farn
|
|
350
|
+
sub "郝" "Hao" # STC 6787
|
|
351
|
+
sub "胡" "Hu" # STC 5170; as printed: Hu, Wu, Woo
|
|
352
|
+
sub "侯" "Hou" # STC 0186
|
|
353
|
+
sub "姜" "Jiang" # STC 1203; as printed: Jiang, Giang
|
|
354
|
+
sub "马" "Ma" # STC 7456; as printed: Ma, Mah, Mar
|
|
355
|
+
sub "姚" "Yao" # STC 1202; as printed: Yao, Yew
|
|
356
|
+
sub "柯" "Ke" # STC 2688; as printed: Ke, Ker, and Quah
|
|
357
|
+
sub "洪" "Hong" # STC 3163; as printed: Hong, Hung
|
|
358
|
+
sub "陈" "Chen" # STC 7115; as printed: Chen, Chan, Tan
|
|
359
|
+
sub "高" "Gao" # STC 7559; as printed: Gao, Kao, Ko
|
|
360
|
+
sub "郭" "Guo" # STC 6753; as printed: Guo, Kuo, Kuok, Kwok
|
|
361
|
+
sub "姬" "Ji" # STC 1213
|
|
362
|
+
sub "康" "Kang" # STC 1660; as printed: Kang, Hong
|
|
363
|
+
sub "陆" "Lu" # STC 7120; as printed: Lu, Loc, Lok
|
|
364
|
+
sub "秦" "Qin" # STC 4440; as printed: Qin, Chin
|
|
365
|
+
sub "孙" "Sun" # STC 1327; as printed: Sun, Suen
|
|
366
|
+
sub "唐" "Tang" # STC 0781; as printed: Tang, Tong
|
|
367
|
+
sub "夏" "Xia" # STC 1115; as printed: Xia, Hsia, Ha
|
|
368
|
+
sub "徐" "Xu" # STC 1776; as printed: Xu, Hsu, Shaw, Seah, Shu
|
|
369
|
+
sub "袁" "Yuan" # STC 5913; as printed: Yuan, Yuen
|
|
370
|
+
sub "曹" "Cao" # STC 2580; as printed: Cao, Tsao, Tso, Cho, Tow
|
|
371
|
+
sub "常" "Chang" # STC 1603
|
|
372
|
+
sub "崔" "Cui" # STC 1508; as printed: Cui, Chui
|
|
373
|
+
sub "冯" "Feng" # STC 7458; as printed: Feng, Fung, Foong
|
|
374
|
+
sub "黄" "Huang" # STC 7806; as printed: Huang, Wong, Hwang, Oei, Ooi
|
|
375
|
+
sub "梁" "Liang" # STC 2733; as printed: Liang, Leong, Leung, Liong, Leon, Loeung
|
|
376
|
+
sub "梅" "Mei" # STC 2734; as printed: Mei, Mai, May, Mey, Mui, Mue
|
|
377
|
+
sub "许" "Xu" # STC 6079; as printed: Xu, Hsu, Hui
|
|
378
|
+
sub "张" "Zhang" # STC 1728; as printed: Zhang, Chang, Cheung, Jung, Cheong, Jong, Teo, Teoh
|
|
379
|
+
sub "程" "Cheng" # STC 4453; as printed: Cheng, Tsen
|
|
380
|
+
sub "傅" "Fu" # STC 0265; as printed: Fu, Foo
|
|
381
|
+
sub "贺" "He" # STC 6320
|
|
382
|
+
sub "彭" "Peng" # STC 1756; as printed: Peng, Pang
|
|
383
|
+
sub "汤" "Tang" # STC 3282; as printed: Tang, Tong
|
|
384
|
+
sub "萬" "Wan" # STC 5502; as printed: Wan, Man, Mon, Won
|
|
385
|
+
sub "葉" "Ye" # STC 5509; as printed: Ye, Yip, Ip, Yap, Yep
|
|
386
|
+
sub "曾" "Zeng" # STC 2582; as printed: Zeng, Tseng, Jeng
|
|
387
|
+
sub "邹" "Zou" # STC 6760; as printed: Zou, Chou
|
|
388
|
+
sub "焦" "Jiao" # STC 3542; as printed: Jiao, Jiu
|
|
389
|
+
sub "项" "Xiang" # STC 7309; as printed: Xiang, Hong
|
|
390
|
+
sub "邓" "Deng" # STC 6772; as printed: Deng, Tang, Teng, Thien, Thean, Thian
|
|
391
|
+
sub "董" "Dong" # STC 5516; as printed: Dong, Tong
|
|
392
|
+
sub "贾" "Jia" # STC 6328; as printed: Jia, Chia
|
|
393
|
+
sub "雷" "Lei" # STC 7191; as printed: Lei, Louie
|
|
394
|
+
sub "乔" "Qiao" # STC 0829; as printed: Qiao, Chiao, Kiu
|
|
395
|
+
sub "杨" "Yang" # STC 2799; as printed: Yang, Young, Yeung, Yeo, Yong
|
|
396
|
+
sub "潘" "Pan" # STC 3382; as printed: Pan, Poon
|
|
397
|
+
sub "熊" "Xiong" # STC 3574; as printed: Xiong, Hong, Hung
|
|
398
|
+
sub "赵" "Zhao" # STC 6392; as printed: Zhao, Chao, Chiu, Chew, Chieu, Chu
|
|
399
|
+
sub "郑" "Zheng" # STC 6774; as printed: Zheng, Cheng, Chung
|
|
400
|
+
sub "蔡" "Cai" # STC 5591; as printed: Cai, Tsai, Choi, Chua, Chai, Chye, Choy
|
|
401
|
+
sub "蒋" "Jiang" # STC 5592; as printed: Jiang, Chiang
|
|
402
|
+
sub "黎" "Li" # STC 7812; as printed: Li, Lai
|
|
403
|
+
sub "刘" "Liu" # STC 0491; as printed: Liu, Lau
|
|
404
|
+
sub "骆" "Luo" # STC 7482
|
|
405
|
+
sub "阎" "Yan" # STC 7051
|
|
406
|
+
sub "欧" "Ou" # STC 2962; as printed: Ou, Au
|
|
407
|
+
sub "赖" "Lai" # STC 6351
|
|
408
|
+
sub "霍" "Huo" # STC 7202; as printed: Huo, Fuo
|
|
409
|
+
sub "卢" "Lu" # STC 4151; as printed: Lu, Loh, Low
|
|
410
|
+
sub "钱" "Qian" # STC 6929; as printed: Qian, Chian, Chin
|
|
411
|
+
sub "萧" "Xiao" # STC 5618; as printed: Xiao, Siu, Siew, Seow, Hsiao
|
|
412
|
+
sub "韩" "Han" # STC 7281; as printed: Han, Hon
|
|
413
|
+
sub "龙" "Long" # STC 7893; as printed: Long, Lung
|
|
414
|
+
sub "魏" "Wei" # STC 7614; as printed: Wei, Ngai
|
|
415
|
+
sub "谢" "Xie" # STC 6200; as printed: Xie, Tsia, Che, She, Tse, Tze, Hsieh
|
|
416
|
+
sub "薛" "Xue" # STC 5641
|
|
417
|
+
sub "戴" "Dai" # STC 1601; as printed: Dai, Tai
|
|
418
|
+
sub "聂" "Nie" # STC 5119; as printed: Nie, Ni, Nye, Ny
|
|
419
|
+
sub "谭" "Tan" # STC 6223; as printed: Tan, Tam
|
|
420
|
+
sub "罗" "Luo" # STC 5012; as printed: Luo, Law
|
|
421
|
+
sub "苏" "Su" # STC 5685; as printed: Su, Soo, So
|
|
422
|
+
sub "锺" "Zhong" # STC 6945; as printed: Zhong, Chong
|
|
423
|
+
sub "关" "Guan" # STC 7070; as printed: Guan, Kwan, Kuan, Kwuan, Quan
|
|
424
|
+
sub "顾" "Gu" # STC 7357; as printed: Gu, Ku
|
|
425
|
+
sub "龚" "Gong" # STC 7895
|
|
426
|
+
sub "栾" "Luan" # STC 2940
|
|
427
|
+
|
|
428
|
+
# The umlaut (ü), as in Lü and Nü, should not be used: the standard
|
|
429
|
+
# uses u for the ü character (main text; Appendix A cells Lu, Lue,
|
|
430
|
+
# Nu, Nue).
|
|
431
|
+
sub "ü" "u"
|
|
432
|
+
# No apostrophe (’) should be used between syllables; other
|
|
433
|
+
# forensic information disambiguates instead (criterion f, para 14).
|
|
434
|
+
sub "’" ""
|
|
435
|
+
sub "'" ""
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
# POSTRULES
|
|
439
|
+
# Capitalize the first letter of each name part (criterion b): the
|
|
440
|
+
# surname and the given-name block are each capitalized, the rest of
|
|
441
|
+
# the letters stay lower case. Word boundaries include the space
|
|
442
|
+
# between surname and given name and the hyphen of the married double
|
|
443
|
+
# surname (both surnames capitalized). The set is spelled out in
|
|
444
|
+
# single characters: only the lower case ASCII letters carry case.
|
|
445
|
+
sub {
|
|
446
|
+
from any("abcdefghijklmnopqrstuvwxyz")
|
|
447
|
+
to upcase
|
|
448
|
+
before boundary
|
|
449
|
+
not_before boundary + any("‘’'")
|
|
450
|
+
}
|
|
451
|
+
sub {
|
|
452
|
+
from any("abcdefghijklmnopqrstuvwxyz")
|
|
453
|
+
to upcase
|
|
454
|
+
before boundary + any("‘’'")
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
system "ROYIN:tha-Thai:Latn:1999" {
|
|
2
|
+
|
|
3
|
+
metadata {
|
|
4
|
+
authority_id royin
|
|
5
|
+
id 1999
|
|
6
|
+
language iso-639-2:tha
|
|
7
|
+
source_script Thai
|
|
8
|
+
destination_script Latn
|
|
9
|
+
name Royal Thai General System of Transcription (1999) — phoneme-to-RTGS stage
|
|
10
|
+
url http://www.royin.go.th/wp-content/uploads/royin-ebook/276/FileUpload/758_6484.pdf
|
|
11
|
+
creation_date 1999
|
|
12
|
+
adoption_date 2002
|
|
13
|
+
description
|
|
14
|
+
|
|
15
|
+
notes {
|
|
16
|
+
"This is the PHONEME-to-RTGS tail stage of the Thai composite: it consumes a syllable-dotted phonemic reading (the output of a trained Thai reading layer, e.g. sequitur/ByT5 over the pythainlp thai-g2p corpus or the tha-phonemic lexicon) and renders the Royal Thai General System of Transcription.
|
|
17
|
+
|
|
18
|
+
Historical: the v1 maps corpus carried this mapping as the post-rules of a seq2seq-dependent map (transcription: sequitur.pythainlp_lexicon); revived here as a standalone stage for the B6 composite (WO67).
|
|
19
|
+
|
|
20
|
+
Tones (˨˩˦˧˥) and the syllable separator (.) are not romanized (the RTGS drops tone; the separator marks syllable bounds)."
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
tests {
|
|
25
|
+
"k a ˨˩ . k aː ˧" -> "kaka"
|
|
26
|
+
"k o ˨˩ . h a n ˩˩˦" -> "kohan"
|
|
27
|
+
"k o k̚ ˨˩ . t͡ɕʰ aː ŋ ˦˥" -> "kokchang"
|
|
28
|
+
"r a ˦˥ . d u ŋ ˧" -> "radung"
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
stage main {
|
|
33
|
+
|
|
34
|
+
# RTGS POST-RULES (revived from maps-staging/royin-tha-Thai-Latn-1999,
|
|
35
|
+
# the seq2seq composite tail; the phoneme inventory is the pythainlp
|
|
36
|
+
# thai-g2p / royalin one)
|
|
37
|
+
parallel {
|
|
38
|
+
sub "t͡ɕʰ" "ch"
|
|
39
|
+
sub "t͡ɕ" "ch"
|
|
40
|
+
sub "ʰ" "h"
|
|
41
|
+
sub "ŋ" "ng"
|
|
42
|
+
sub "j" "i"
|
|
43
|
+
sub "w" "w"
|
|
44
|
+
sub "ɔ" "o"
|
|
45
|
+
sub "ɤ" "oe"
|
|
46
|
+
sub "ɛ" "ae"
|
|
47
|
+
sub "ɯ" "ue"
|
|
48
|
+
sub "ʔ" ""
|
|
49
|
+
sub "̚" ""
|
|
50
|
+
sub "ː" ""
|
|
51
|
+
sub "˨" ""
|
|
52
|
+
sub "˩" ""
|
|
53
|
+
sub "˦" ""
|
|
54
|
+
sub "˧" ""
|
|
55
|
+
sub "˥" ""
|
|
56
|
+
sub "." ""
|
|
57
|
+
sub " " ""
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -41,6 +41,9 @@ metadata {
|
|
|
41
41
|
note " Other systems of romanization.\n The BGN/PCGN 1967 System is practically very close to the system above,\n except for the diacritical marks used with vowels:\n\n UN BGN/PCGN\n 1st order e̠ e\n 1st order a ā (ሀ hā, ሐ hā, ኀ hā, አ ā, ’ā, ዐ ‘ā)\n 3rd order i ī\n 5th order e ē\n 6th order i̠ i\n\n Other differences:\n\n 1. The vowel characters in row 16 should be romanized in the BGN/PCGN\n System ā, u, ī, a, ē, i, and o initially and ’ā, ’u, ’ī, ’a, ’ē, ’i, and ’o\n in all other positions.\n\n 2. The characters in row 20 should be romanized in the BGN/PCGN System ‘ā,\n ‘u, ‘ī, ‘a, ‘ē, ‘ or ‘i, and ‘o.\n\n 3. The syllables gwe̠, hwe̠, kwe̠, k’we̠ of the UN system are treated as\n variations of the syllables go, ho, ko, k’o in the BGN/PCGN system.\n\n 4. For documentation purposes the following consonants may be romanized\n with diacritical marks in the BGN/PCGN system: ḥ (row 3), š (row 5), ḫ (row\n 13), ẖ (row 18), t͟s’ (row 31)."
|
|
42
42
|
|
|
43
43
|
note "(Ref.) Second United Nations Conference on the Standardization of\n Geographical Names. London, 10–31 May 1972. Vol. II. Technical papers, pp.\n 165–168 (Table 2)."
|
|
44
|
+
note "Diffed against the UN Romanization of Amharic for Geographical Names (1967)\n table as published in the WGRS Report on the Current Status of UN Romanization\n Systems for Geographical Names, version 4.0 (eki.ee/wgrs/rom1_am.htm; also\n unstats wgrr4amharic): all 34 series x 7 orders, the labialized (w) and palatal\n (y) combinations and row 34 verified — 323 syllable values, no gaps or\n divergences. The system was approved in 1967 (res. I/17)."
|
|
45
|
+
|
|
46
|
+
note "Design extension, not from the source: the map applies per-word title case\n (the source table prints lowercase syllable values). Footnote A (the sixth-order\n vowel is eliminated in spelling except when pronunciation requires it) is\n encoded as the alternating any([i̠, \"\"]) rows; footnote C's W/Y combinations\n absent from the original 1972 table are taken from BGN/PCGN 1967 per the source\n itself."
|
|
44
47
|
}
|
|
45
48
|
}
|
|
46
49
|
|
|
@@ -57,6 +57,8 @@ metadata {
|
|
|
57
57
|
}
|
|
58
58
|
notes {
|
|
59
59
|
note " ث is t͟h (th with sub marcon)\n خ is k͟h (kh with sub marcon)\n ذ is d͟h (dh with sub marcon)\n ش is s͟h (sh with sub marcon)\n ظ is z͟h (zh with sub marcon)\n غ is g͟h (gh witg sub marcon)\n The previous UN 1972 System had the following differences:\n the character (ظ) was romanized as z̧ instead of d͟h;\n the cedilla (¸) was used instead of sub-macron (_) in all characters with sub-macrons. - |"
|
|
60
|
+
|
|
61
|
+
note "The claimed source, 2nd UNCSGN document E/CONF.61/4/Add.1 (1971, the\n original Beirut system with sub-macron digraph pairs t͟h k͟h d͟h s͟h z͟h g͟h), is not\n in the reference library; the rows encoded here follow the notes above and the\n examples in the tests, and no rows were changed in the WO09 UNGEGN diff. The\n iyā and ta' marbūṭah fixes recorded in un-ara-Arab-Latn-2017 flow through the\n shared stage."
|
|
60
62
|
}
|
|
61
63
|
}
|
|
62
64
|
|
|
@@ -82,6 +82,10 @@ metadata {
|
|
|
82
82
|
}
|
|
83
83
|
notes {
|
|
84
84
|
note " The previous UN 1972 System had the following differences:\n the character (ظ) was romanized as z̧ instead of d͟h;\n ح, ص, ض the cedilla (¸) was used instead of sub-macron (_) in all characters with sub-macrons. - |\n When the definite article al precedes a word beginning with one of the \"sun letters\" (t,\n th, d, dh, r, z, s, sh, ş, ḑ, ţ, z, l, n ̧ ) the l of the definite article is assimilated with the first\n consonant of the word: ash-Sh الشارقة āriqah."
|
|
85
|
+
|
|
86
|
+
note "Diffed against the UN Romanization of Arabic for Geographical Names\n (1972/2017) table as published in the WGRS Report on the Current Status of UN\n Romanization Systems for Geographical Names, version 5.0 (June 2018)\n (eki.ee/wgrs/rom1_ar.htm; also unstats wgrr5arabic), whose 'Other systems'\n section records every row in which the previous UN 1972 system (II/8) differs\n from the current one: (ظ) romanized z̧ instead of d͟h, and the cedilla instead\n of the sub-macron in all sub-macron characters (ح ḩ, ص ş, ض ḑ, ط ţ, ظ z̧).\n Those rows are encoded as overrides over the shared stage; the iyā and\n ta' marbūṭah fixes recorded in un-ara-Arab-Latn-2017 flow through."
|
|
87
|
+
|
|
88
|
+
note "The claimed table (the obsolete EKI path obs_rom_vers/rom1_ar_v4_0.pdf) is\n not in the reference library; the 1972 rows were verified against the 5.0\n comparison section. Reissue note: the current UN system (XI/3, 2017) is\n encoded separately in un-ara-Arab-Latn-2017 and is NOT merged here."
|
|
85
89
|
}
|
|
86
90
|
}
|
|
87
91
|
|