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,147 @@
1
+ system "ALA-LC:uig-Arab:Latn:2015" {
2
+
3
+ metadata {
4
+ authority_id alalc
5
+ id 2015
6
+ language iso-639-2:uig
7
+ source_script Arab
8
+ destination_script Latn
9
+ name "Romanization Table -- Uighur (2015)"
10
+ url http://catdir.loc.gov/catdir/cpso/romanization/uighur.pdf
11
+ creation_date 2015
12
+ confirmation_date 2015
13
+ description { ALA-LC Romanization table for Uighur, 2015 version (earlier versions: 2011, 1997)
14
+ }
15
+
16
+ notes {
17
+ note "Letters of the Alphabet: alif ا, word-initial ئا a; he ه, word-initial ئه ă; ب b; پ p; ت t; ج j; چ ch; خ kh; د d; ر r; ز z; ژ zh; س s; ش sh; غ gh; ف f; ق q; ك k; گ g; ڭ ng; ل l; م m; ن n; teh marbuta ة h; و, word-initial ئو o; ۇ, word-initial ئۇ u; ۆ, word-initial ئۆ ö; ۈ, word-initial ئۈ ü; ۋ v; ې, word-initial ئې e; ی ى, word-initial ئ i; ي y. Each vowel letter is unambiguous; the dotted yad ي is the consonant y and the undotted ی/ى are the vowel i."
18
+
19
+ note "Rule 1. Use the single prime (ʹ) to separate two letters representing two distinct consonantal sounds when the combination might be read as a digraph: uzʹhal ئۇزهال. The prime placement is syntactic and is not implemented."
20
+
21
+ note "Rule 2. Romanize foreign words that occur in a Uighur context and are written in Uighur letters according to these rules for romanizing Uighur: Vena (not Vienna) ۋېنا, jughrapi (not geography) جۇغراپى, stăyn (not stein) ستهین."
22
+
23
+ note "Rule 3. When hamzah is initial it is not represented in romanization; when medial it is romanized ʼ (alif): ayroport ئايروپورت [initial], qarghaʼi قارغائی [medial]. This map renders word-initial ئ as empty and other ئ as ʼ; the hamzah-carrier readings of the word-initial vowel spellings (ئا ئه ئو ئۇ ئۆ ئۈ ئې ئ) fall out of the initial rule."
24
+
25
+ note "Rule 4. Follow the rules for the capitalization of English. This map leaves case untouched; the proper-noun capital of the Vena example is lexical."
26
+
27
+ note "NOTE: The following examples from the old Uighur romanization table are romanized differently in the new table: ay ئاي, bilishinggă بىلىشىڭگه, jănggă جەڭگه, shojanggă شوجاڭگه, bayiliq بايىلىق, băytulla بهيتۇللا, păyishănbă پەيىشەنبه, dăyfu دهیفو. The values shown are the new-table readings and are encoded."
28
+
29
+ note "The he ه is listed both in the ă row and (with teh marbuta ة) in the h row. This map defaults ه to ă (the schwa reading exercised by the note examples) and ة to h; the h reading of ه (as in uzʹhal) is lexical, like the vowel points of the Kazakh he."
30
+
31
+ note "The source document's text layer renders the letters in Unicode presentation forms (joining shapes); these carry no letter-identity information in Uighur and are normalized to base codepoints before this map applies."
32
+ }
33
+ }
34
+
35
+ tests {
36
+ # Letters of the Alphabet
37
+ "ا" -> "a"
38
+ "ئا" -> "a"
39
+ "ه" -> "ă"
40
+ "ئه" -> "ă"
41
+ "ب" -> "b"
42
+ "پ" -> "p"
43
+ "ت" -> "t"
44
+ "ج" -> "j"
45
+ "چ" -> "ch"
46
+ "خ" -> "kh"
47
+ "د" -> "d"
48
+ "ر" -> "r"
49
+ "ز" -> "z"
50
+ "ژ" -> "zh"
51
+ "س" -> "s"
52
+ "ش" -> "sh"
53
+ "غ" -> "gh"
54
+ "ف" -> "f"
55
+ "ق" -> "q"
56
+ "ك" -> "k"
57
+ "گ" -> "g"
58
+ "ڭ" -> "ng"
59
+ "ل" -> "l"
60
+ "م" -> "m"
61
+ "ن" -> "n"
62
+ "ة" -> "h"
63
+ "و" -> "o"
64
+ "ئو" -> "o"
65
+ "ۇ" -> "u"
66
+ "ئۇ" -> "u"
67
+ "ۆ" -> "ö"
68
+ "ئۆ" -> "ö"
69
+ "ۈ" -> "ü"
70
+ "ئۈ" -> "ü"
71
+ "ۋ" -> "v"
72
+ "ې" -> "e"
73
+ "ئې" -> "e"
74
+ "ی" -> "i"
75
+ "ى" -> "i"
76
+ "ئ" -> "" # rule 3: initial hamzah not represented
77
+ "ي" -> "y"
78
+ # Rule 1 (the prime is syntactic; the h reading of he is lexical)
79
+ # - source: ئۇزهال, expected: uzʹhal (mechanical: uzăal)
80
+ # Rule 2 examples
81
+ "جۇغراپى" -> "jughrapi"
82
+ "ستهين" -> "stăyn"
83
+ # - source: ۋېنا, expected: Vena (proper-noun capital)
84
+ # Rule 3 examples
85
+ "ئايروپورت" -> "ayroport"
86
+ "قارغائی" -> "qarghaʼi"
87
+ # NOTE examples (old-table words, new-table readings)
88
+ "ئاي" -> "ay"
89
+ "بىلىشىڭگه" -> "bilishinggă"
90
+ "جهڭگه" -> "jănggă"
91
+ "شوجاڭگه" -> "shojanggă"
92
+ "بايىلىق" -> "bayiliq"
93
+ "بهيتۇللا" -> "băytulla"
94
+ "پهيىشهنبه" -> "păyishănbă"
95
+ # - source: دهيفو (text-layer final glyph و), expected: dăyfu (the romanization
96
+ # requires final ۇ; the source glyph is ambiguous و/ۇ)
97
+ }
98
+
99
+ stage main {
100
+ parallel {
101
+ # Rule 3 - hamzah: word-initial carrier not represented, medial ʼ
102
+ sub {
103
+ from boundary + "ئ"
104
+ to ""
105
+ }
106
+ sub "ئ" "ʼ"
107
+
108
+ # Letters of the Alphabet
109
+ sub "ه" "ă"
110
+ sub "ة" "h"
111
+ sub "ا" "a"
112
+ sub "ب" "b"
113
+ sub "پ" "p"
114
+ sub "ت" "t"
115
+ sub "ج" "j"
116
+ sub "چ" "ch"
117
+ sub "خ" "kh"
118
+ sub "د" "d"
119
+ sub "ر" "r"
120
+ sub "ز" "z"
121
+ sub "ژ" "zh"
122
+ sub "س" "s"
123
+ sub "ش" "sh"
124
+ sub "غ" "gh"
125
+ sub "ف" "f"
126
+ sub "ق" "q"
127
+ sub "ك" "k"
128
+ sub "گ" "g"
129
+ sub "ڭ" "ng"
130
+ sub "ل" "l"
131
+ sub "م" "m"
132
+ sub "ن" "n"
133
+ sub "و" "o"
134
+ sub "ۇ" "u"
135
+ sub "ۆ" "ö"
136
+ sub "ۈ" "ü"
137
+ sub "ۋ" "v"
138
+ sub "ې" "e"
139
+ sub "ی" "i"
140
+ sub "ى" "i"
141
+ sub "ي" "y"
142
+ sub "ـ" ""
143
+ }
144
+
145
+ }
146
+
147
+ }
@@ -0,0 +1,203 @@
1
+ system "ALA-LC:und-Dsrt:Latn:2016" {
2
+
3
+ metadata {
4
+ authority_id alalc
5
+ id 2016
6
+ language iso-639-2:und
7
+ source_script Dsrt
8
+ destination_script Latn
9
+ name "Deseret Romanization Table (2016)"
10
+ url https://www.loc.gov/catdir/cpso/romanization/deseret.pdf
11
+ creation_date 2016
12
+ adoption_date
13
+ description { ALA-LC Deseret Romanization Table, 2016 version (no earlier
14
+ versions). The table is scoped to the Deseret script (the Deseret
15
+ alphabet), not to any one language, so the language field carries
16
+ the undetermined code; the alphabet was devised in the 1850s for
17
+ English. Forty letters (six vowels and thirty-four consonants and
18
+ vowel-length and diphthong forms), each mapping one-to-one; the
19
+ letter values follow the printed table. The source document's
20
+ text layer doubles every letter glyph in the vernacular column; a
21
+ visual check of the rendered pages confirms a single letter per
22
+ row, and the codepoints below are the Unicode Deseret block values
23
+ corresponding to the table's letter order.
24
+ }
25
+
26
+ notes {
27
+ note "Vowel-length letters: Ē (𐐀/𐐨), Ī (𐐌/𐐴), Ō (𐐄/𐐬), Ū (𐐅/𐐭),
28
+ Ā (𐐁/𐐩) are the long-vowel letters; Ä (𐐂/𐐪), Ô (𐐉/𐐱), Ü (𐐋/𐐳)
29
+ the broad-vowel letters. The digraph values Dh Zh Th Sh Ch and the
30
+ diphthong values Aw Oy and the letter Yū (𐐧/𐑏) are single letters
31
+ in the script."
32
+ }
33
+ }
34
+
35
+ tests {
36
+ "𐐀" -> "Ē"
37
+ "𐐨" -> "ē"
38
+ "𐐄" -> "Ō"
39
+ "𐐬" -> "ō"
40
+ "𐐈" -> "A"
41
+ "𐐰" -> "a"
42
+ "𐐌" -> "Ī"
43
+ "𐐴" -> "ī"
44
+ "𐐐" -> "H"
45
+ "𐐸" -> "h"
46
+ "𐐔" -> "D"
47
+ "𐐼" -> "d"
48
+ "𐐘" -> "G"
49
+ "𐑀" -> "g"
50
+ "𐐜" -> "Dh"
51
+ "𐑄" -> "dh"
52
+ "𐐠" -> "Zh"
53
+ "𐑈" -> "zh"
54
+ "𐐤" -> "N"
55
+ "𐑌" -> "n"
56
+ "𐐁" -> "Ā"
57
+ "𐐩" -> "ā"
58
+ "𐐅" -> "Ū"
59
+ "𐐭" -> "ū"
60
+ "𐐉" -> "Ô"
61
+ "𐐱" -> "ô"
62
+ "𐐍" -> "Aw"
63
+ "𐐵" -> "aw"
64
+ "𐐑" -> "P"
65
+ "𐐹" -> "p"
66
+ "𐐕" -> "Ch"
67
+ "𐐽" -> "ch"
68
+ "𐐙" -> "F"
69
+ "𐑁" -> "f"
70
+ "𐐝" -> "S"
71
+ "𐑅" -> "s"
72
+ "𐐡" -> "R"
73
+ "𐑉" -> "r"
74
+ "𐐥" -> "Ng"
75
+ "𐑍" -> "ng"
76
+ "𐐂" -> "Ä"
77
+ "𐐪" -> "ä"
78
+ "𐐆" -> "I"
79
+ "𐐮" -> "i"
80
+ "𐐊" -> "U"
81
+ "𐐲" -> "u"
82
+ "𐐎" -> "W"
83
+ "𐐶" -> "w"
84
+ "𐐒" -> "B"
85
+ "𐐺" -> "b"
86
+ "𐐖" -> "J"
87
+ "𐐾" -> "j"
88
+ "𐐚" -> "V"
89
+ "𐑂" -> "v"
90
+ "𐐞" -> "Z"
91
+ "𐑆" -> "z"
92
+ "𐐢" -> "L"
93
+ "𐑊" -> "l"
94
+ "𐐦" -> "Oy"
95
+ "𐑎" -> "oy"
96
+ "𐐃" -> "O"
97
+ "𐐫" -> "o"
98
+ "𐐇" -> "E"
99
+ "𐐯" -> "e"
100
+ "𐐋" -> "Ü"
101
+ "𐐳" -> "ü"
102
+ "𐐏" -> "Y"
103
+ "𐐷" -> "y"
104
+ "𐐓" -> "T"
105
+ "𐐻" -> "t"
106
+ "𐐗" -> "K"
107
+ "𐐿" -> "k"
108
+ "𐐛" -> "Th"
109
+ "𐑃" -> "th"
110
+ "𐐟" -> "Sh"
111
+ "𐑇" -> "sh"
112
+ "𐐣" -> "M"
113
+ "𐑋" -> "m"
114
+ "𐐧" -> "Yū"
115
+ "𐑏" -> "yū"
116
+ "𐐒𐐮𐐺" -> "Bib"
117
+ }
118
+
119
+ stage main {
120
+ parallel {
121
+ sub "𐐀" "Ē"
122
+ sub "𐐨" "ē"
123
+ sub "𐐄" "Ō"
124
+ sub "𐐬" "ō"
125
+ sub "𐐈" "A"
126
+ sub "𐐰" "a"
127
+ sub "𐐌" "Ī"
128
+ sub "𐐴" "ī"
129
+ sub "𐐐" "H"
130
+ sub "𐐸" "h"
131
+ sub "𐐔" "D"
132
+ sub "𐐼" "d"
133
+ sub "𐐘" "G"
134
+ sub "𐑀" "g"
135
+ sub "𐐜" "Dh"
136
+ sub "𐑄" "dh"
137
+ sub "𐐠" "Zh"
138
+ sub "𐑈" "zh"
139
+ sub "𐐤" "N"
140
+ sub "𐑌" "n"
141
+ sub "𐐁" "Ā"
142
+ sub "𐐩" "ā"
143
+ sub "𐐅" "Ū"
144
+ sub "𐐭" "ū"
145
+ sub "𐐉" "Ô"
146
+ sub "𐐱" "ô"
147
+ sub "𐐍" "Aw"
148
+ sub "𐐵" "aw"
149
+ sub "𐐑" "P"
150
+ sub "𐐹" "p"
151
+ sub "𐐕" "Ch"
152
+ sub "𐐽" "ch"
153
+ sub "𐐙" "F"
154
+ sub "𐑁" "f"
155
+ sub "𐐝" "S"
156
+ sub "𐑅" "s"
157
+ sub "𐐡" "R"
158
+ sub "𐑉" "r"
159
+ sub "𐐥" "Ng"
160
+ sub "𐑍" "ng"
161
+ sub "𐐂" "Ä"
162
+ sub "𐐪" "ä"
163
+ sub "𐐆" "I"
164
+ sub "𐐮" "i"
165
+ sub "𐐊" "U"
166
+ sub "𐐲" "u"
167
+ sub "𐐎" "W"
168
+ sub "𐐶" "w"
169
+ sub "𐐒" "B"
170
+ sub "𐐺" "b"
171
+ sub "𐐖" "J"
172
+ sub "𐐾" "j"
173
+ sub "𐐚" "V"
174
+ sub "𐑂" "v"
175
+ sub "𐐞" "Z"
176
+ sub "𐑆" "z"
177
+ sub "𐐢" "L"
178
+ sub "𐑊" "l"
179
+ sub "𐐦" "Oy"
180
+ sub "𐑎" "oy"
181
+ sub "𐐃" "O"
182
+ sub "𐐫" "o"
183
+ sub "𐐇" "E"
184
+ sub "𐐯" "e"
185
+ sub "𐐋" "Ü"
186
+ sub "𐐳" "ü"
187
+ sub "𐐏" "Y"
188
+ sub "𐐷" "y"
189
+ sub "𐐓" "T"
190
+ sub "𐐻" "t"
191
+ sub "𐐗" "K"
192
+ sub "𐐿" "k"
193
+ sub "𐐛" "Th"
194
+ sub "𐑃" "th"
195
+ sub "𐐟" "Sh"
196
+ sub "𐑇" "sh"
197
+ sub "𐐣" "M"
198
+ sub "𐑋" "m"
199
+ sub "𐐧" "Yū"
200
+ sub "𐑏" "yū"
201
+ }
202
+ }
203
+ }