interscript 0.1.4 → 2.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (183) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +11 -0
  3. data/.rspec +3 -0
  4. data/Gemfile +29 -0
  5. data/LICENSE.adoc +31 -0
  6. data/README.md +3 -0
  7. data/Rakefile +53 -0
  8. data/bin/console +14 -0
  9. data/bin/interscript +3 -39
  10. data/bin/maps_analyze_staging +168 -0
  11. data/bin/maps_debug_compilers +58 -0
  12. data/bin/maps_debug_ordering +88 -0
  13. data/bin/maps_debug_ruby_compile +24 -0
  14. data/bin/maps_debug_step_by_step +44 -0
  15. data/bin/maps_optimize_order +112 -0
  16. data/bin/maps_v1_analyze_regexps +45 -0
  17. data/bin/maps_v1_to_v2 +426 -0
  18. data/exe/interscript +6 -0
  19. data/interscript.gemspec +31 -0
  20. data/lib/interscript.rb +76 -128
  21. data/lib/interscript/command.rb +6 -5
  22. data/lib/interscript/compiler.rb +22 -0
  23. data/lib/interscript/compiler/javascript.rb +292 -0
  24. data/lib/interscript/compiler/ruby.rb +262 -0
  25. data/lib/interscript/dsl.rb +67 -0
  26. data/lib/interscript/dsl/aliases.rb +23 -0
  27. data/lib/interscript/dsl/document.rb +46 -0
  28. data/lib/interscript/dsl/group.rb +45 -0
  29. data/lib/interscript/dsl/group/parallel.rb +6 -0
  30. data/lib/interscript/dsl/items.rb +89 -0
  31. data/lib/interscript/dsl/metadata.rb +26 -0
  32. data/lib/interscript/dsl/stage.rb +6 -0
  33. data/lib/interscript/dsl/symbol_mm.rb +11 -0
  34. data/lib/interscript/dsl/tests.rb +12 -0
  35. data/lib/interscript/interpreter.rb +251 -0
  36. data/lib/interscript/node.rb +25 -0
  37. data/lib/interscript/node/alias_def.rb +15 -0
  38. data/lib/interscript/node/dependency.rb +13 -0
  39. data/lib/interscript/node/document.rb +45 -0
  40. data/lib/interscript/node/group.rb +34 -0
  41. data/lib/interscript/node/group/parallel.rb +9 -0
  42. data/lib/interscript/node/group/sequential.rb +2 -0
  43. data/lib/interscript/node/item.rb +52 -0
  44. data/lib/interscript/node/item/alias.rb +42 -0
  45. data/lib/interscript/node/item/any.rb +61 -0
  46. data/lib/interscript/node/item/capture.rb +50 -0
  47. data/lib/interscript/node/item/group.rb +51 -0
  48. data/lib/interscript/node/item/repeat.rb +40 -0
  49. data/lib/interscript/node/item/stage.rb +23 -0
  50. data/lib/interscript/node/item/string.rb +51 -0
  51. data/lib/interscript/node/metadata.rb +18 -0
  52. data/lib/interscript/node/rule.rb +6 -0
  53. data/lib/interscript/node/rule/funcall.rb +18 -0
  54. data/lib/interscript/node/rule/run.rb +15 -0
  55. data/lib/interscript/node/rule/sub.rb +65 -0
  56. data/lib/interscript/node/stage.rb +19 -0
  57. data/lib/interscript/node/tests.rb +15 -0
  58. data/lib/interscript/stdlib.rb +211 -0
  59. data/lib/interscript/utils/regexp_converter.rb +283 -0
  60. data/lib/interscript/version.rb +1 -1
  61. data/requirements.txt +1 -0
  62. metadata +73 -223
  63. data/README.adoc +0 -297
  64. data/bin/rspec +0 -29
  65. data/lib/g2pwrapper.py +0 -34
  66. data/lib/interscript/mapping.rb +0 -125
  67. data/lib/model-7 +0 -0
  68. data/lib/tha-pt-b-7 +0 -0
  69. data/maps/acadsin-zho-Hani-Latn-2002.yaml +0 -38912
  70. data/maps/alalc-aze-Cyrl-Latn-1997.yaml +0 -141
  71. data/maps/alalc-bel-cyrl-latn-1997.yaml +0 -125
  72. data/maps/alalc-ben-Beng-Latn-2017.yaml +0 -130
  73. data/maps/alalc-bul-Cyrl-Latn-1997.yaml +0 -94
  74. data/maps/alalc-ell-Grek-Latn-1997.yaml +0 -625
  75. data/maps/alalc-ell-Grek-Latn-2010.yaml +0 -628
  76. data/maps/alalc-kat-Geok-Latn-1997.yaml +0 -112
  77. data/maps/alalc-kat-Geor-Latn-1997.yaml +0 -146
  78. data/maps/alalc-kor-Hang-Latn-1997.yaml +0 -94
  79. data/maps/alalc-mkd-Cyrl-Latn-2013.yaml +0 -103
  80. data/maps/alalc-mkd-cyrl-latn-1997.yaml +0 -114
  81. data/maps/alalc-rus-Cyrl-Latn-1997.yaml +0 -222
  82. data/maps/alalc-rus-Cyrl-Latn-2012.yaml +0 -162
  83. data/maps/alalc-srp-Cyrl-Latn-1997.yaml +0 -114
  84. data/maps/alalc-srp-cyrl-latn-2013.yaml +0 -135
  85. data/maps/alalc-ukr-Cyrl-Latn-1997.yaml +0 -141
  86. data/maps/alalc-ukr-Cyrl-Latn-2011.yaml +0 -16
  87. data/maps/apcbg-bul-Cyrl-Latn-1995.yaml +0 -283
  88. data/maps/bas-rus-Cyrl-Latn-2017-bss.yaml +0 -175
  89. data/maps/bas-rus-Cyrl-Latn-2017-oss.yaml +0 -169
  90. data/maps/bgn-jpn-Hrkt-Latn-1962.yaml +0 -294
  91. data/maps/bgn-kor-Hang-Latn-1943.yaml +0 -31
  92. data/maps/bgn-kor-Kore-Latn-1943.yaml +0 -31
  93. data/maps/bgna-bul-Cyrl-Latn-2006.yaml +0 -208
  94. data/maps/bgna-bul-Cyrl-Latn-2009.yaml +0 -208
  95. data/maps/bgnpcgn-arm-Armn-Latn-1981.yaml +0 -108
  96. data/maps/bgnpcgn-aze-Cyrl-Latn-1993.yaml +0 -104
  97. data/maps/bgnpcgn-bak-Cyrl-Latn-2007.yaml +0 -184
  98. data/maps/bgnpcgn-bel-cyrl-latn-1979.yaml +0 -285
  99. data/maps/bgnpcgn-bul-Cyrl-Latn-1952.yaml +0 -115
  100. data/maps/bgnpcgn-bul-Cyrl-Latn-2013.yaml +0 -38
  101. data/maps/bgnpcgn-chn-Hans-Latn-1979.yaml +0 -7456
  102. data/maps/bgnpcgn-ell-Grek-Latn-1962.yaml +0 -702
  103. data/maps/bgnpcgn-ell-Grek-Latn-1996.yaml +0 -20
  104. data/maps/bgnpcgn-jpn-Hrkt-Latn-1976.yaml +0 -257
  105. data/maps/bgnpcgn-kat-Geor-Latn-1981.yaml +0 -127
  106. data/maps/bgnpcgn-kat-Geor-Latn-2009.yaml +0 -43
  107. data/maps/bgnpcgn-kor-Hang-Latn-kn-1945.yaml +0 -253
  108. data/maps/bgnpcgn-kor-Hang-Latn-rok-2011.yaml +0 -48
  109. data/maps/bgnpcgn-kor-Kore-Latn-rok-2011.yaml +0 -48
  110. data/maps/bgnpcgn-mkd-Cyrl-Latn-1981.yaml +0 -159
  111. data/maps/bgnpcgn-mkd-Cyrl-Latn-2013.yaml +0 -190
  112. data/maps/bgnpcgn-per-Arab-Latn-1956.yaml +0 -93
  113. data/maps/bgnpcgn-rus-Cyrl-Latn-1947.yaml +0 -314
  114. data/maps/bgnpcgn-srp-Cyrl-Latn-2005.yaml +0 -166
  115. data/maps/bgnpcgn-ukr-Cyrl-Latn-1965.yaml +0 -163
  116. data/maps/bgnpcgn-ukr-Cyrl-Latn-2019.yaml +0 -208
  117. data/maps/by-bel-Cyrl-Latn-1998.yaml +0 -168
  118. data/maps/by-bel-Cyrl-Latn-2007.yaml +0 -115
  119. data/maps/elot-ell-Grek-Latn-743-1982-tl.yaml +0 -685
  120. data/maps/elot-ell-Grek-Latn-743-1982-ts.yaml +0 -681
  121. data/maps/elot-ell-Grek-Latn-743-2001-tl.yaml +0 -20
  122. data/maps/elot-ell-Grek-Latn-743-2001-ts.yaml +0 -32
  123. data/maps/ggg-kat-Geor-Latn-2002.yaml +0 -89
  124. data/maps/gki-bel-cyrl-latn-1992.yaml +0 -33
  125. data/maps/gki-bel-cyrl-latn-2000.yaml +0 -201
  126. data/maps/gost-rus-cyrl-latn-16876-71-1983.yaml +0 -186
  127. data/maps/hk-yue-Hani-Latn-1888.yaml +0 -38497
  128. data/maps/icao-bel-Cyrl-Latn-9303.yaml +0 -141
  129. data/maps/icao-bul-Cyrl-Latn-9303.yaml +0 -122
  130. data/maps/icao-heb-Hebr-Latn-9303.yaml +0 -151
  131. data/maps/icao-mkd-Cyrl-Latn-9303.yaml +0 -117
  132. data/maps/icao-per-Arab-Latn-9303.yaml +0 -104
  133. data/maps/icao-rus-Cyrl-Latn-9303.yaml +0 -118
  134. data/maps/icao-srp-Cyrl-Latn-9303.yaml +0 -117
  135. data/maps/icao-ukr-Cyrl-Latn-9303.yaml +0 -120
  136. data/maps/iso-ell-Grek-Latn-843-1997-t1.yaml +0 -610
  137. data/maps/iso-ell-Grek-Latn-843-1997-t2.yaml +0 -41
  138. data/maps/iso-jpn-Hrkt-Latn-3602-1989.yaml +0 -62
  139. data/maps/iso-rus-Cyrl-Latn-9-1995.yaml +0 -272
  140. data/maps/iso-tha-Thai-Latn-11940-1998.yaml +0 -109
  141. data/maps/kp-kor-Hang-Latn-2002.yaml +0 -901
  142. data/maps/lshk-yue-Hani-Latn-jyutping-1993.yaml +0 -44820
  143. data/maps/mext-jpn-Hrkt-Latn-1954.yaml +0 -411
  144. data/maps/moct-kor-Hang-Latn-2000.yaml +0 -803
  145. data/maps/mofa-jpn-Hrkt-Latn-1989.yaml +0 -541
  146. data/maps/mvd-bel-Cyrl-Latn-2008.yaml +0 -225
  147. data/maps/mvd-bel-Cyrl-Latn-2010.yaml +0 -63
  148. data/maps/mvd-rus-Cyrl-Latn-2008.yaml +0 -110
  149. data/maps/mvd-rus-Cyrl-Latn-2010.yaml +0 -37
  150. data/maps/nil-kor-Hang-Hang-jamo.yaml +0 -11193
  151. data/maps/odni-bel-Cyrl-Latn-2015.yaml +0 -148
  152. data/maps/odni-bul-Cyrl-Latn-2015.yaml +0 -96
  153. data/maps/odni-kat-Geor-Latn-2015.yaml +0 -88
  154. data/maps/odni-rus-Cyrl-Latn-2015.yaml +0 -77
  155. data/maps/odni-srp-Cyrl-Latn-2015.yaml +0 -129
  156. data/maps/odni-ukr-Cyrl-Latn-2015.yaml +0 -157
  157. data/maps/odni-uzb-Cyrl-Latn-2015.yaml +0 -167
  158. data/maps/royin-tha-Thai-Latn-1939-generic.yaml +0 -90
  159. data/maps/royin-tha-Thai-Latn-1968.yaml +0 -179
  160. data/maps/royin-tha-Thai-Latn-1999-chained.yaml +0 -180
  161. data/maps/royin-tha-Thai-Latn-1999.yaml +0 -76
  162. data/maps/sac-zho-Hans-Latn-1979.yaml +0 -24759
  163. data/maps/stategeocadastre-ukr-Cyrl-Latn-1993.yaml +0 -222
  164. data/maps/ua-ukr-Cyrl-Latn-1996.yaml +0 -193
  165. data/maps/un-bel-Cyrl-Latn-2007.yaml +0 -114
  166. data/maps/un-ben-Beng-Latn-2016.yaml +0 -534
  167. data/maps/un-ell-Grek-Latn-1987-tl.yaml +0 -32
  168. data/maps/un-ell-Grek-Latn-1987-ts.yaml +0 -20
  169. data/maps/un-ell-Grek-Latn-phonetic-1987.yaml +0 -780
  170. data/maps/un-mon-Mong-Latn-2013.yaml +0 -93
  171. data/maps/un-rus-Cyrl-Latn-1987.yaml +0 -166
  172. data/maps/un-ukr-cyrl-latn-1998.yaml +0 -30
  173. data/maps/var-jpn-Hrkt-Latn-hepburn-1886.yaml +0 -406
  174. data/maps/var-jpn-Hrkt-Latn-hepburn-1954.yaml +0 -386
  175. data/maps/var-kor-Hang-Latn-mr-1939.yaml +0 -1054
  176. data/maps/var-kor-Kore-Hang-2013.yaml +0 -59754
  177. data/maps/var-kor-Kore-Latn-mr-1939.yaml +0 -37
  178. data/maps/var-tha-Thai-Thai-phonemic.yaml +0 -59
  179. data/maps/var-tha-Thai-Zsym-ipa.yaml +0 -301
  180. data/maps/var-zho-Hani-Latn-1979.yaml +0 -38908
  181. data/spec/interscript/mapping_spec.rb +0 -42
  182. data/spec/interscript_spec.rb +0 -26
  183. data/spec/spec_helper.rb +0 -3
@@ -1,20 +0,0 @@
1
- ---
2
- authority_id: bgnpcgn
3
- id: 1996
4
- language: ell
5
- source_script: Grek
6
- destination_script: Latn
7
- name: BGN/PCGN 1996 System
8
- url: https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/693694/ROMANIZATION_OF_GREEK.pdf
9
- creation_date: 1996
10
- description: |
11
- BGN/PCGN Romanization table for Greek
12
-
13
- note:
14
- - Identical to ELOT 743:1982, which is also adopted as ISO 843:1997 and by UNGEGN
15
-
16
- map:
17
- character_separator: ""
18
- word_separator: " "
19
- inherit: "elot-ell-Grek-Latn-743-1982-ts"
20
-
@@ -1,257 +0,0 @@
1
- ---
2
- authority_id: bgnpcgn
3
- id: 1930
4
- language: jpn
5
- source_script: Hrkt
6
- destination_script: Latn
7
- name: Japanese Kana Modified Hepburn 1930 System
8
- url:
9
- creation_date:
10
- adoption_date:
11
- description:
12
-
13
- notes:
14
- - Segmentation needs to be done before using this map
15
- - Note 5 in the specification states that when identical repeating vowels
16
- belong to different kanji characters, they shall be romanized
17
- individually and an apostrophe (’) shall be placed between the vowels.
18
- However since this is a map from Kana to Hepburn, there is no way to
19
- implement this feature.
20
- - The documentation did not specify how the hyphen should be used.
21
-
22
- tests:
23
-
24
- - source: てがた-からみでん
25
- expected: "Tegata-karamiden"
26
- - source: てがた-すみよしちょう
27
- expected: "Tegata-sumiyoshichō"
28
- - source: さいのはま
29
- expected: "Sainohama"
30
- - source: てがた-たなか
31
- expected: "Tegata-tanaka"
32
- - source: ほりおでん
33
- expected: "Horioden"
34
- - source: そえがわ
35
- expected: "Soegawa"
36
- - source: ふねがさわ
37
- expected: "Funegasawa"
38
- - source: とくまんだて
39
- expected: "Tokumandate"
40
- - source: たてない
41
- expected: "Tatenai"
42
- - source: つるがさき
43
- expected: "Tsurugasaki"
44
- - source: しもやつせ
45
- expected: "Shimoyatsuse"
46
- - source: かみやつせ
47
- expected: "Kamiyatsuse"
48
- - source: しんとうだ
49
- expected: "Shintōda"
50
- - source: かじのめ
51
- expected: "Kajinome"
52
- - source: まえぎ
53
- expected: "Maegi"
54
- - source: くろさわ やま
55
- expected: "Kurosawa Yama"
56
- - source: いちのさわ がわ
57
- expected: "Ichinosawa Gawa"
58
- - source: はちやまえ
59
- expected: "Hachiyamae"
60
- - source: やち
61
- expected: "Yachi"
62
- - source: たてぬま
63
- expected: "Tatenuma"
64
- - source: しらはま
65
- expected: "Shirahama"
66
- - source: けせんまち
67
- expected: "Kesenmachi"
68
- - source: けいだい-かわら
69
- expected: "Keidai-kawara"
70
- - source: いしやました
71
- expected: "Ishiyamashita"
72
- - source: なえひら-やち
73
- expected: "Naehira-yachi"
74
- - source: とみの
75
- expected: "Tomino"
76
- - source: あらや-たかみまち
77
- expected: "Araya-takamimachi"
78
- - source: ながた
79
- expected: "Nagata"
80
- - source: とどろき おんせん
81
- expected: "Todoroki Onsen"
82
- - source: かしわぎはら
83
- expected: "Kashiwagihara"
84
- - source: とやけもり やま
85
- expected: "Toyakemori Yama"
86
- - source: なかさい
87
- expected: "Nakasai"
88
- - source: たけした
89
- expected: "Takeshita"
90
- - source: みと
91
- expected: "Mito"
92
- - source: みなみなかさと
93
- expected: "Minaminakasato"
94
- - source: みずおし
95
- expected: "Mizuoshi"
96
- - source: なかさと
97
- expected: "Nakasato"
98
- - source: しんかりば
99
- expected: "Shinkariba"
100
- - source: しんかみぬま
101
- expected: "Shinkaminuma"
102
- - source: しんばし
103
- expected: "Shinbashi"
104
- - source: りくぜんやました えき
105
- expected: "Rikuzen’yamashita Eki"
106
- - source: うしじまにし
107
- expected: "Ushijimanishi"
108
- - source: はまえば
109
- expected: "Hamaeba"
110
- - source: ぬまむかい
111
- expected: "Numamukai"
112
- - source: さんげんやち
113
- expected: "Sangen’yachi"
114
- - source: にけんやち
115
- expected: "Niken’yachi"
116
- - source: やちなか
117
- expected: "Yachinaka"
118
- - source: なす がわ
119
- expected: "Nasu Gawa"
120
- - source: おおはらはま
121
- expected: "Ōharahama"
122
- - source: うるご がわ
123
- expected: "Urugo Gawa"
124
- - source: なかばせ
125
- expected: "Nakabase"
126
- - source: うと えき
127
- expected: "Uto Eki"
128
- - source: みずまち
129
- expected: "Mizumachi"
130
- - source: ごんげんどう
131
- expected: "Gongendō"
132
- - source: いとひさ
133
- expected: "Itohisa"
134
- - source: あらおい
135
- expected: "Araoi"
136
- - source: わんめ
137
- expected: "Wanme"
138
- - source: かじろ
139
- expected: "Kajiro"
140
- - source: みやばら
141
- expected: "Miyabara"
142
- - source: いまどみ
143
- expected: "Imadomi"
144
- - source: かいほ
145
- expected: "Kaiho"
146
- - source: かいほ ぼえん
147
- expected: "Kaiho Boen"
148
- - source: ひきだ
149
- expected: "Hikida"
150
- - source: あさい-こむかい
151
- expected: "Asai-komukai"
152
- - source: こうざか
153
- expected: "Kōzaka"
154
- - source: こうふうだい
155
- expected: "Kōfūdai"
156
- - source: たての
157
- expected: "Tateno"
158
- - source: センター
159
- expected: "Sentā"
160
- - source: フィリピン
161
- expected: "Firipin"
162
- - source: ヴィオリン
163
- expected: "Viorin"
164
- - source: クォーター
165
- expected: "Kwōtā"
166
- - source: パッチリ
167
- expected: "Patchiri"
168
- - source: ぽっぽっや
169
- expected: "Poppoyya"
170
-
171
- map:
172
- character_separator: ""
173
- word_separator: " "
174
- title_case: True
175
- inherit: var-jpn-Hrkt-Latn-hepburn-1954
176
-
177
- characters:
178
- # Rare sounds, Table 2 & 4
179
-
180
- "くぁ": "kwa"
181
- "クァ": "kwa"
182
- "ぐぁ": "gwa"
183
- "グァ": "gwa"
184
- "くぃ": "kwi"
185
- "クィ": "kwi"
186
- "ぐぃ": "gwa"
187
- "グィ": "gwa"
188
- "きぇ": "kye"
189
- "キェ": "kye"
190
- "ぎぇ": "gye"
191
- "ギェ": "gye"
192
- "くぇ": "kwe"
193
- "クェ": "kwe"
194
- "ぐぇ": "gwe"
195
- "グェ": "gwe"
196
- "くぉ": "kwo"
197
- "クォ": "kwo"
198
- "ぐぉ": "gwo"
199
- "グォ": "gwo"
200
- "しぇ": "she"
201
- "シェ": "she"
202
- "じぇ": "je"
203
- "ジェ": "je"
204
- "つぁ": "tsa"
205
- "ツァ": "tsa"
206
- "てぃ": "ti"
207
- "ティ": "ti"
208
- "でぃ": "di"
209
- "ディ": "di"
210
- "てゅ": "tyu"
211
- "テュ": "tyu"
212
- "でゅ": "dyu"
213
- "デュ": "dyu"
214
- "とゅ": "tu"
215
- "トュ": "tu"
216
- "どゅ": "du"
217
- "ドュ": "du"
218
- "ちぇ": "che"
219
- "チェ": "che"
220
- "ぢぇ": "je"
221
- "ヂェ": "je"
222
- "つぇ": "tse"
223
- "ツェ": "tse"
224
- "つぉ": "tso"
225
- "ツォ": "tso"
226
- "にぇ": "nye"
227
- "ニェ": "nye"
228
- "ふぁ": "fa"
229
- "ファ": "fa"
230
- "ふぃ": "fi"
231
- "フィ": "fi"
232
- "ふぇ": "fe"
233
- "フェ": "fe"
234
- "ふぉ": "fo"
235
- "フォ": "fo"
236
- "みぇ": "mye"
237
- "ミェ": "mye"
238
- "ぃぇ": "ye"
239
- "ィェ": "ye"
240
- "りぇ": "rye"
241
- "リェ": "rye"
242
- "ゔぁ": "va"
243
- "ヴァ": "va"
244
- "うぃ": "wi"
245
- "ウィ": "wi"
246
- "ゔぃ": "vi"
247
- "ヴィ": "vi"
248
- "うぇ": "we"
249
- "ウェ": "we"
250
- "ゔぇ": "ve"
251
- "ヴェ": "ve"
252
- "うぉ": "wo"
253
- "ウォ": "wo"
254
- "ゔぉ": "vo"
255
- "ヴォ": "vo"
256
- "ゔ": "vu"
257
- "ヴ": "vu"
@@ -1,127 +0,0 @@
1
- ---
2
- authority_id: bgnpcgn
3
- id: 1981
4
- language: kat
5
- source_script: Geor
6
- destination_script: Latn
7
- name: ROMANIZATION OF GEORGIAN; BGN/PCGN 1981 System
8
- url: https://transliteration.eki.ee/pdf/Georgian.pdf
9
- creation_date: 1981
10
- confirmation_date: 1981
11
- description: |
12
- BGN/PCGN system of 1981.
13
-
14
- notes:
15
-
16
- tests:
17
- - source: ჰებუდი
18
- expected: hebudi
19
-
20
- - source: ჯვრის წყალსაცავი
21
- expected: jvris tsqalsats’avi
22
-
23
- - source: ჯვავიაკვარა
24
- expected: jvaviak’vara
25
-
26
- - source: ჯობრია
27
- expected: jobria
28
-
29
- - source: ძულუხირა
30
- expected: dzulukhira
31
-
32
- - source: ლეკუხონა
33
- expected: lek’ukhona
34
-
35
- - source: აბაშა
36
- expected: abasha
37
-
38
- - source: ააცი
39
- expected: aats’i
40
-
41
- # TODO: This belongs to which system?!
42
- # - source: აბააჟახვუ
43
- # expected: abaazhvakhu
44
-
45
- # TODO: These examples from GNDB are clearly using the BGNPCGN 2009 system
46
- #
47
- # - source: ხობის მუნიციპალიტეტი
48
- # expected: khobis munitsip’alit’et’i
49
- #
50
- # - source: მყინვარი ჩრდილოეთი ლეადაშატი
51
- # expected: mq’invari chrdiloeti leadashat’i
52
- #
53
- # - source: ხეწკვარა
54
- # expected: khets’k’vara
55
- #
56
- # - source: ჯამპალი
57
- # expected: jamp’ali
58
- #
59
- # - source: ჯავის მუნიციპალიტეტი
60
- # expected: javis munitsip’alit’et’i
61
- #
62
- # - source: ხოიჯგეთა
63
- # expected: khoijgeta
64
- #
65
- # - source: ხობის მუნიციპალიტეტი
66
- # expected: khobis munitsip’alit’et’i
67
- #
68
- # - source: წვიშარხუ
69
- # expected: ts’visharkhu
70
- # - source: აღმოსავლეთი გუმისთა
71
- # expected: aghmosavleti gumista
72
- #
73
- # - source: ქვემო ბირცხა
74
- # expected: kvemo birtskha
75
- #
76
- # - source: ზემო ბირცხა
77
- # expected: zemo birtskha
78
- #
79
- # - source: აბჟაყვა
80
- # expected: abzhaq’va
81
-
82
-
83
-
84
- map:
85
- characters:
86
- '\u10d0' : 'a' # ა
87
- '\u10d1' : 'b' # ბ
88
- '\u10d2' : 'g' # გ
89
- '\u10d3' : 'd' # დ
90
- '\u10d4' : 'e' # ე
91
- '\u10d5' : 'v' # ვ
92
- '\u10d6' : 'z' # ზ
93
-
94
- '\u10f1' : 'ey' # ჱ
95
-
96
- '\u10d7' : 't’' # თ
97
- '\u10d8' : 'i' # ი
98
- '\u10d9' : 'k’' # კ
99
- '\u10da' : 'l' # ლ
100
- '\u10db' : 'm' # მ
101
- '\u10dc' : 'n' # ნ
102
-
103
- '\u10f2' : 'j' # ჲ
104
-
105
- '\u10dd' : 'o' # ო
106
- '\u10de' : 'p' # პ
107
- '\u10df' : 'zh' # ჟ
108
- '\u10e0' : 'r' # რ
109
- '\u10e1' : 's' # ს
110
- '\u10e2' : 't' # ტ
111
- '\u10e3' : 'u' # უ
112
- '\u10e4' : 'p’' # ფ
113
- '\u10e5' : 'k’' # ქ
114
- '\u10e6' : 'gh' # ღ
115
- '\u10e7' : 'q' # ყ
116
- '\u10e8' : 'sh' # შ
117
- '\u10e9' : 'ch’' # ჩ
118
- '\u10ea' : 'ts’' # ც
119
- '\u10eb' : 'dz' # ძ
120
- '\u10ec' : 'ts' # წ
121
- '\u10ed' : 'ch' # ჭ
122
- '\u10ee' : 'kh' # ხ
123
-
124
- '\u10f4' : 'q’' # ჴ
125
-
126
- '\u10ef' : 'j' # ჯ
127
- '\u10f0' : 'h' # ჰ
@@ -1,43 +0,0 @@
1
- ---
2
- authority_id: bgnpcgn
3
- id: 2009
4
- language: kat
5
- source_script: Geor
6
- destination_script: Latn
7
- name: ROMANIZATION OF GEORGIAN; Georgia 2011 national system; BGN/PCGN 2009 Agreement
8
- url: https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/810202/ROMANIZATION_OF_GEORGIAN.pdf
9
- creation_date: 2009
10
- confirmation_date: 2011
11
- description: |
12
- This romanization system corresponds to that devised in 2002 by the
13
- State Department of Geodesy and Cartography of Georgia and the
14
- Institute of Linguistics of the Georgian Academy of Sciences, and
15
- approved by Presidential Decree 109 of 24 February 2011. It represents
16
- the Mkhedruli alphabet, as presently used in Georgia. This system was
17
- adopted by BGN and PCGN in 2009, superseding the BGN/PCGN system of
18
- 1981.
19
-
20
- notes:
21
- - This system denotes ejective (glottalised) consonants by means of
22
- an apostrophe. The BGN/PCGN 1981 system instead used the apostrophe to
23
- denote aspirated consonants (letters 8, 21, 22, 26 & 27).
24
- - The Romanization columns show only lowercase forms but, when
25
- romanizing, uppercase and lowercase Roman letters as appropriate should
26
- be used.
27
-
28
- tests:
29
- - source: თბილისი
30
- expected: tbilisi
31
-
32
- - source: მეღვინეთუხუცესი
33
- expected: meghvinetukhutsesi
34
-
35
- - source: ჭიანჭველა
36
- expected: ch’ianch’vela
37
-
38
- - source: ბაყაყი
39
- expected: baq’aq’i
40
-
41
- map:
42
- inherit: "ggg-kat-Geor-Latn-2002"
43
-