interscript 0.1.0 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. checksums.yaml +4 -4
  2. data/README.adoc +250 -17
  3. data/bin/interscript +36 -17
  4. data/bin/rspec +29 -0
  5. data/bin/setup +8 -0
  6. data/lib/__pycache__/g2pwrapper.cpython-38.pyc +0 -0
  7. data/lib/g2pwrapper.py +34 -0
  8. data/lib/interscript-opal.rb +2 -0
  9. data/lib/interscript.rb +138 -38
  10. data/lib/interscript/command.rb +28 -0
  11. data/lib/interscript/fs.rb +69 -0
  12. data/lib/interscript/mapping.rb +142 -0
  13. data/lib/interscript/opal.rb +23 -0
  14. data/lib/interscript/opal/maps.js.erb +7 -0
  15. data/lib/interscript/opal_map_translate.rb +12 -0
  16. data/lib/interscript/version.rb +1 -1
  17. data/lib/model-7 +0 -0
  18. data/lib/tha-pt-b-7 +0 -0
  19. data/maps/acadsin-zho-Hani-Latn-2002.yaml +38912 -0
  20. data/maps/alalc-aze-Cyrl-Latn-1997.yaml +141 -0
  21. data/maps/alalc-bel-cyrl-latn-1997.yaml +125 -0
  22. data/maps/alalc-ben-Beng-Latn-2017.yaml +130 -0
  23. data/maps/alalc-bul-Cyrl-Latn-1997.yaml +94 -0
  24. data/maps/alalc-ell-Grek-Latn-1997.yaml +625 -0
  25. data/maps/alalc-ell-Grek-Latn-2010.yaml +628 -0
  26. data/maps/alalc-kat-Geok-Latn-1997.yaml +112 -0
  27. data/maps/alalc-kat-Geor-Latn-1997.yaml +146 -0
  28. data/maps/alalc-kor-Hang-Latn-1997.yaml +94 -0
  29. data/maps/alalc-mkd-Cyrl-Latn-2013.yaml +103 -0
  30. data/maps/alalc-mkd-cyrl-latn-1997.yaml +114 -0
  31. data/maps/alalc-rus-Cyrl-Latn-1997.yaml +222 -0
  32. data/maps/alalc-rus-Cyrl-Latn-2012.yaml +162 -0
  33. data/maps/alalc-srp-Cyrl-Latn-1997.yaml +114 -0
  34. data/maps/alalc-srp-cyrl-latn-2013.yaml +135 -0
  35. data/maps/alalc-ukr-Cyrl-Latn-1997.yaml +141 -0
  36. data/maps/alalc-ukr-Cyrl-Latn-2011.yaml +16 -0
  37. data/maps/apcbg-bul-Cyrl-Latn-1995.yaml +283 -0
  38. data/maps/bas-rus-Cyrl-Latn-2017-bss.yaml +175 -0
  39. data/maps/bas-rus-Cyrl-Latn-2017-oss.yaml +169 -0
  40. data/maps/bgn-jpn-Hrkt-Latn-1962.yaml +294 -0
  41. data/maps/bgn-kor-Hang-Latn-1943.yaml +31 -0
  42. data/maps/bgn-kor-Kore-Latn-1943.yaml +31 -0
  43. data/maps/bgna-bul-Cyrl-Latn-2006.yaml +208 -0
  44. data/maps/bgna-bul-Cyrl-Latn-2009.yaml +208 -0
  45. data/maps/bgnpcgn-arm-Armn-Latn-1981.yaml +108 -0
  46. data/maps/bgnpcgn-aze-Cyrl-Latn-1993.yaml +104 -0
  47. data/maps/bgnpcgn-bak-Cyrl-Latn-2007.yaml +184 -0
  48. data/maps/bgnpcgn-bel-cyrl-latn-1979.yaml +285 -0
  49. data/maps/bgnpcgn-bul-Cyrl-Latn-1952.yaml +115 -0
  50. data/maps/bgnpcgn-bul-Cyrl-Latn-2013.yaml +38 -0
  51. data/maps/bgnpcgn-ell-Grek-Latn-1962.yaml +702 -0
  52. data/maps/bgnpcgn-ell-Grek-Latn-1996.yaml +20 -0
  53. data/maps/bgnpcgn-jpn-Hrkt-Latn-1976.yaml +257 -0
  54. data/maps/bgnpcgn-kat-Geor-Latn-1981.yaml +127 -0
  55. data/maps/bgnpcgn-kat-Geor-Latn-2009.yaml +43 -0
  56. data/maps/bgnpcgn-kor-Hang-Latn-kn-1945.yaml +253 -0
  57. data/maps/bgnpcgn-kor-Hang-Latn-rok-2011.yaml +48 -0
  58. data/maps/bgnpcgn-kor-Kore-Latn-rok-2011.yaml +48 -0
  59. data/maps/bgnpcgn-mkd-Cyrl-Latn-1981.yaml +159 -0
  60. data/maps/bgnpcgn-mkd-Cyrl-Latn-2013.yaml +190 -0
  61. data/maps/bgnpcgn-per-Arab-Latn-1956.yaml +93 -0
  62. data/maps/bgnpcgn-rus-Cyrl-Latn-1947.yaml +314 -0
  63. data/maps/bgnpcgn-srp-Cyrl-Latn-2005.yaml +166 -0
  64. data/maps/bgnpcgn-ukr-Cyrl-Latn-1965.yaml +163 -0
  65. data/maps/bgnpcgn-ukr-Cyrl-Latn-2019.yaml +208 -0
  66. data/maps/bgnpcgn-zho-Hans-Latn-1979.yaml +7456 -0
  67. data/maps/by-bel-Cyrl-Latn-1998.yaml +168 -0
  68. data/maps/by-bel-Cyrl-Latn-2007.yaml +115 -0
  69. data/maps/elot-ell-Grek-Latn-743-1982-tl.yaml +685 -0
  70. data/maps/elot-ell-Grek-Latn-743-1982-ts.yaml +681 -0
  71. data/maps/elot-ell-Grek-Latn-743-2001-tl.yaml +20 -0
  72. data/maps/elot-ell-Grek-Latn-743-2001-ts.yaml +32 -0
  73. data/maps/ggg-kat-Geor-Latn-2002.yaml +89 -0
  74. data/maps/gki-bel-cyrl-latn-1992.yaml +33 -0
  75. data/maps/gki-bel-cyrl-latn-2000.yaml +201 -0
  76. data/maps/gost-rus-cyrl-latn-16876-71-1983.yaml +186 -0
  77. data/maps/hk-yue-Hani-Latn-1888.yaml +38497 -0
  78. data/maps/icao-bel-Cyrl-Latn-9303.yaml +141 -0
  79. data/maps/icao-bul-Cyrl-Latn-9303.yaml +122 -0
  80. data/maps/icao-heb-Hebr-Latn-9303.yaml +151 -0
  81. data/maps/icao-mkd-Cyrl-Latn-9303.yaml +117 -0
  82. data/maps/icao-per-Arab-Latn-9303.yaml +104 -0
  83. data/maps/icao-rus-Cyrl-Latn-9303.yaml +118 -0
  84. data/maps/icao-srp-Cyrl-Latn-9303.yaml +117 -0
  85. data/maps/icao-ukr-Cyrl-Latn-9303.yaml +120 -0
  86. data/maps/iso-ell-Grek-Latn-843-1997-t1.yaml +610 -0
  87. data/maps/iso-ell-Grek-Latn-843-1997-t2.yaml +41 -0
  88. data/maps/iso-jpn-Hrkt-Latn-3602-1989.yaml +62 -0
  89. data/maps/iso-rus-Cyrl-Latn-9-1995.yaml +272 -0
  90. data/maps/iso-tha-Thai-Latn-11940-1998.yaml +109 -0
  91. data/maps/kp-kor-Hang-Latn-2002.yaml +901 -0
  92. data/maps/lshk-yue-Hani-Latn-jyutping-1993.yaml +44820 -0
  93. data/maps/mext-jpn-Hrkt-Latn-1954.yaml +411 -0
  94. data/maps/moct-kor-Hang-Latn-2000.yaml +803 -0
  95. data/maps/mofa-jpn-Hrkt-Latn-1989.yaml +541 -0
  96. data/maps/mvd-bel-Cyrl-Latn-2008.yaml +225 -0
  97. data/maps/mvd-bel-Cyrl-Latn-2010.yaml +63 -0
  98. data/maps/mvd-rus-Cyrl-Latn-2008.yaml +110 -0
  99. data/maps/mvd-rus-Cyrl-Latn-2010.yaml +37 -0
  100. data/maps/nil-kor-Hang-Hang-jamo.yaml +11193 -0
  101. data/maps/odni-aze-Cyrl-Latn-2015.yaml +144 -0
  102. data/maps/odni-bel-Cyrl-Latn-2015.yaml +148 -0
  103. data/maps/odni-bul-Cyrl-Latn-2015.yaml +96 -0
  104. data/maps/odni-kat-Geor-Latn-2015.yaml +88 -0
  105. data/maps/odni-kaz-Cyrl-Latn-2015.yaml +148 -0
  106. data/maps/odni-kir-Cyrl-Latn-2015.yaml +136 -0
  107. data/maps/odni-mkd-cyrl-latn-2015.yaml +122 -0
  108. data/maps/odni-rus-Cyrl-Latn-2015.yaml +77 -0
  109. data/maps/odni-srp-Cyrl-Latn-2015.yaml +129 -0
  110. data/maps/odni-tat-Cyrl-Latn-2015.yaml +142 -0
  111. data/maps/odni-tgk-Cyrl-Latn-2015.yaml +148 -0
  112. data/maps/odni-uig-Cyrl-Latn-2015.yaml +138 -0
  113. data/maps/odni-ukr-Cyrl-Latn-2015.yaml +157 -0
  114. data/maps/odni-uzb-Cyrl-Latn-2015.yaml +167 -0
  115. data/maps/royin-tha-Thai-Latn-1939-generic.yaml +90 -0
  116. data/maps/royin-tha-Thai-Latn-1968.yaml +179 -0
  117. data/maps/royin-tha-Thai-Latn-1999-chained.yaml +180 -0
  118. data/maps/royin-tha-Thai-Latn-1999.yaml +76 -0
  119. data/maps/sac-zho-Hans-Latn-1979.yaml +24759 -0
  120. data/maps/ses-ara-arab-latn-1930.yaml +275 -0
  121. data/maps/stategeocadastre-ukr-Cyrl-Latn-1993.yaml +222 -0
  122. data/maps/ua-ukr-Cyrl-Latn-1996.yaml +193 -0
  123. data/maps/un-ara-Arab-Latn-1971.yaml +127 -0
  124. data/maps/un-ara-Arab-Latn-1972.yaml +152 -0
  125. data/maps/un-ara-Arab-Latn-2017.yaml +383 -0
  126. data/maps/un-bel-Cyrl-Latn-2007.yaml +114 -0
  127. data/maps/un-ben-Beng-Latn-2016.yaml +534 -0
  128. data/maps/un-ell-Grek-Latn-1987-tl.yaml +32 -0
  129. data/maps/un-ell-Grek-Latn-1987-ts.yaml +20 -0
  130. data/maps/un-ell-Grek-Latn-phonetic-1987.yaml +780 -0
  131. data/maps/un-mon-Mong-Latn-2013.yaml +93 -0
  132. data/maps/un-rus-Cyrl-Latn-1987.yaml +166 -0
  133. data/maps/un-ukr-cyrl-latn-1998.yaml +30 -0
  134. data/maps/var-jpn-Hrkt-Latn-hepburn-1886.yaml +406 -0
  135. data/maps/var-jpn-Hrkt-Latn-hepburn-1954.yaml +386 -0
  136. data/maps/var-kor-Hang-Latn-mr-1939.yaml +1054 -0
  137. data/maps/var-kor-Kore-Hang-2013.yaml +59754 -0
  138. data/maps/var-kor-Kore-Latn-mr-1939.yaml +37 -0
  139. data/maps/var-tha-Thai-Thai-phonemic.yaml +59 -0
  140. data/maps/var-tha-Thai-Zsym-ipa.yaml +301 -0
  141. data/maps/var-zho-Hani-Latn-1979.yaml +38908 -0
  142. data/spec/interscript/mapping_spec.rb +42 -0
  143. data/spec/interscript_spec.rb +26 -0
  144. data/spec/spec_helper.rb +3 -0
  145. metadata +295 -11
@@ -0,0 +1,114 @@
1
+ ---
2
+ authority_id: alalc
3
+ id: 1997
4
+ language: srp
5
+ source_script: Cyrl
6
+ destination_script: Latn
7
+ name: Serbian and Makedonian Romanization, ALA-LC 1997 System
8
+ url: http://catdir.loc.gov/catdir/cpso/romanization/serbian.pdf
9
+ creation_date: 1997
10
+ description: ALA-LC Romanization table for Serbian and Makedonian.
11
+
12
+ notes:
13
+ - Special characters in romanization
14
+ Đ - D with crossbar (upper case). USMARC hexadecimal code A3.
15
+ đ - d with crossbar (upper case). USMARC hexadecimal code B3.
16
+
17
+ - Character modifiers in romanization
18
+ ´ - acute. USMARC hexadecimal code E2.
19
+ ˇ - hachek. USMARC hexadecimal code E9.
20
+
21
+ tests:
22
+ - source: Општина Ердут
23
+ expected: Opština Erdut
24
+ - source: Општина Двор
25
+ expected: Opština Dvor
26
+ - source: ЛУЃЕ луѓе
27
+ expected: LUǴE luǵe
28
+ - source: ЅВЕЗДА ѕвезда Ѕвезда
29
+ expected: DZVEZDA dzvezda Dzvezda
30
+ - source: ЌАРУВАЊЕ ќарување
31
+ expected: ḰARUVANJE ḱaruvanje
32
+
33
+ map:
34
+ postrules:
35
+ # DZ
36
+ - pattern: "((?<=[[:upper:]])Dz(?=[[:upper:]])?|(?<=[[:upper:]])?Dz(?=[[:upper:]]))"
37
+ result: "DZ"
38
+ #LJ
39
+ - pattern: "((?<=[[:upper:]])Lj(?=[[:upper:]])?|(?<=[[:upper:]])?Lj(?=[[:upper:]]))"
40
+ result: "LJ"
41
+ #NJ
42
+ - pattern: "((?<=[[:upper:]])Nj(?=[[:upper:]])?|(?<=[[:upper:]])?Nj(?=[[:upper:]]))"
43
+ result: "NJ"
44
+ #DŽ
45
+ - pattern: "((?<=[[:upper:]])Dž(?=[[:upper:]])?|(?<=[[:upper:]])?Dž(?=[[:upper:]]))"
46
+ result: "DŽ"
47
+
48
+ characters:
49
+ "\u0410": "A"
50
+ "\u0411": "B"
51
+ "\u0412": "V"
52
+ "\u0413": "G"
53
+ "\u0403": "\u01F4" # Ǵ
54
+ "\u0414": "D"
55
+ "\u0402": "\u0110" # Đ
56
+ "\u0415": "E"
57
+ "\u0416": "\u005a\u030c" # Ž
58
+ "\u0417": "Z"
59
+ "\u0405": "Dz"
60
+ "\u0418": "I"
61
+ "\u0408": "J"
62
+ "\u041A": "K"
63
+ "\u040C": "\u1E30" # Ḱ
64
+ "\u041B": "L"
65
+ "\u0409": "Lj"
66
+ "\u041C": "M"
67
+ "\u041D": "N"
68
+ "\u040A": "Nj"
69
+ "\u041E": "O"
70
+ "\u041F": "P"
71
+ "\u0420": "R"
72
+ "\u0421": "S"
73
+ "\u0422": "T"
74
+ "\u040B": "\u0043\u0301" # Ć
75
+ "\u0423": "U"
76
+ "\u0424": "F"
77
+ "\u0425": "H"
78
+ "\u0426": "C"
79
+ "\u0427": "\u0043\u030c" # Č
80
+ "\u040F": "D\u007a\u030c" # Dž
81
+ "\u0428": "\u0053\u030c" # Š
82
+ "\u0430": "a"
83
+ "\u0431": "b"
84
+ "\u0432": "v"
85
+ "\u0433": "g"
86
+ "\u0453": "\u01F5" # ǵ
87
+ "\u0434": "d"
88
+ "\u0452": "\u0111" # đ
89
+ "\u0435": "e"
90
+ "\u0436": "\u007a\u030c" # ž
91
+ "\u0437": "z"
92
+ "\u0455": "dz"
93
+ "\u0438": "i"
94
+ "\u0458": "j"
95
+ "\u043A": "k"
96
+ "\u045C": "\u1E31" # ḱ
97
+ "\u043B": "l"
98
+ "\u0459": "lj"
99
+ "\u043C": "m"
100
+ "\u043D": "n"
101
+ "\u045A": "nj"
102
+ "\u043E": "o"
103
+ "\u043F": "p"
104
+ "\u0440": "r"
105
+ "\u0441": "s"
106
+ "\u0442": "t"
107
+ "\u045B": "\u0063\u0301" # ć
108
+ "\u0443": "u"
109
+ "\u0444": "f"
110
+ "\u0445": "h"
111
+ "\u0446": "c"
112
+ "\u0447": "\u0063\u030c" # č
113
+ "\u045F": "d\u007a\u030c" # dž
114
+ "\u0448": "\u0073\u030c" # š
@@ -0,0 +1,135 @@
1
+ ---
2
+ authority_id: alalc
3
+ id: 2013
4
+ language: srp
5
+ source_script: Cyrl
6
+ destination_script: Latn
7
+ name: ROMANIZATION OF SERBIAN, ALA-LC 2013 System
8
+ url: https://www.loc.gov/catdir/cpso/romanization/serbian.pdf
9
+ creation_date: 2013
10
+ description: |
11
+ Serbian uses the Cyrillic and Roman alphabets. When the Roman alphabet is used it is the same as Croatian.
12
+
13
+ tests:
14
+ - source: Шупља Стена
15
+ expected: Šuplja Stena
16
+ - source: Чукарица
17
+ expected: Čukarica
18
+ - source: Црна Трава
19
+ expected: Crna Trava
20
+ - source: Херцег Нови
21
+ expected: Herceg Novi
22
+ - source: Улцињ
23
+ expected: Ulcinj
24
+ - source: Ужице
25
+ expected: Užice
26
+ - source: Тресаначка Река
27
+ expected: Tresanačka Reka
28
+ - source: Сјеница
29
+ expected: Sjenica
30
+ - source: Рожаје
31
+ expected: Rožaje
32
+ - source: Пљевља
33
+ expected: Pljevlja
34
+ - source: Оџаци
35
+ expected: Odžaci
36
+ - source: Никшић
37
+ expected: Nikšić
38
+ - source: Медвеђа
39
+ expected: Medveđa
40
+ - source: Лозница
41
+ expected: Loznica
42
+ - source: Књажевац
43
+ expected: Knjaževac
44
+ - source: Зрењанин
45
+ expected: Zrenjanin
46
+ - source: Житорађа
47
+ expected: Žitorađa
48
+ - source: Ервеник
49
+ expected: Ervenik
50
+ - source: Доње Љупче
51
+ expected: Donje Ljupče
52
+ - source: Гусиње
53
+ expected: Gusinje
54
+ - source: ГУСИЊЕ
55
+ expected: GUSINJE
56
+ - source: Врњачка Бања
57
+ expected: Vrnjačka Banja
58
+ - source: Бијело Поље
59
+ expected: Bijelo Polje
60
+ - source: Алибунар
61
+ expected: Alibunar
62
+
63
+ map:
64
+ postrules:
65
+ #LJ
66
+ - pattern: "((?<=[[:upper:]])Lj(?=[[:upper:]])?|(?<=[[:upper:]])?Lj(?=[[:upper:]]))"
67
+ result: "LJ"
68
+ #NJ
69
+ - pattern: "((?<=[[:upper:]])Nj(?=[[:upper:]])?|(?<=[[:upper:]])?Nj(?=[[:upper:]]))"
70
+ result: "NJ"
71
+ #DŽ
72
+ - pattern: "((?<=[[:upper:]])Dž(?=[[:upper:]])?|(?<=[[:upper:]])?Dž(?=[[:upper:]]))"
73
+ result: "DŽ"
74
+
75
+ characters:
76
+ "\u0410": "A"
77
+ "\u0411": "B"
78
+ "\u0412": "V"
79
+ "\u0413": "G"
80
+ "\u0414": "D"
81
+ "\u0402": "\u0110" # Đ
82
+ "\u0415": "E"
83
+ "\u0416": "\u005a\u030c" # Ž
84
+ "\u0417": "Z"
85
+ "\u0418": "I"
86
+ "\u0408": "J"
87
+ "\u041A": "K"
88
+ "\u041B": "L"
89
+ "\u0409": "Lj"
90
+ "\u041C": "M"
91
+ "\u041D": "N"
92
+ "\u040A": "Nj"
93
+ "\u041E": "O"
94
+ "\u041F": "P"
95
+ "\u0420": "R"
96
+ "\u0421": "S"
97
+ "\u0422": "T"
98
+ "\u040B": "\u0043\u0301" # Ć
99
+ "\u0423": "U"
100
+ "\u0424": "F"
101
+ "\u0425": "H"
102
+ "\u0426": "C"
103
+ "\u0427": "\u0043\u030c" # Č
104
+ "\u040F": "D\u007a\u030c" # Dž
105
+ "\u0428": "\u0053\u030c" # Š
106
+ "\u0430": "a"
107
+ "\u0431": "b"
108
+ "\u0432": "v"
109
+ "\u0433": "g"
110
+ "\u0434": "d"
111
+ "\u0452": "\u0111" # đ
112
+ "\u0435": "e"
113
+ "\u0436": "\u007a\u030c" # ž
114
+ "\u0437": "z"
115
+ "\u0438": "i"
116
+ "\u0458": "j"
117
+ "\u043A": "k"
118
+ "\u043B": "l"
119
+ "\u0459": "lj"
120
+ "\u043C": "m"
121
+ "\u043D": "n"
122
+ "\u045A": "nj"
123
+ "\u043E": "o"
124
+ "\u043F": "p"
125
+ "\u0440": "r"
126
+ "\u0441": "s"
127
+ "\u0442": "t"
128
+ "\u045B": "\u0063\u0301" # ć́
129
+ "\u0443": "u"
130
+ "\u0444": "f"
131
+ "\u0445": "h"
132
+ "\u0446": "c"
133
+ "\u0447": "\u0063\u030c" # č
134
+ "\u045F": "d\u007a\u030c" # dž
135
+ "\u0448": "\u0073\u030c" # š
@@ -0,0 +1,141 @@
1
+ ---
2
+ authority_id: alalc
3
+ id: 1997
4
+ language: ukr
5
+ source_script: Cyrl
6
+ destination_script: Latn
7
+ name: ALA-LC Romanization System 1997
8
+ url: http://catdir.loc.gov/catdir/cpso/romanization/ukrainia.pdf
9
+ creation_date: 1997
10
+ description: |
11
+ The ALA-LC Romanization Tables, published by the American Library Association (1885)
12
+ and Library of Congress (1905). Used to represent bibliographic information by US and
13
+ Canadian libraries, by the British Library since 1975,[3] and in North American publications.
14
+ The latest 1997 revision is very similar to the 1905 version.
15
+
16
+ notes:
17
+ - The z͡h ligature is necessary to distinguish ж from the combination зг.
18
+ - The t͡s ligature is necessary to distinguish ц from the combination тс.
19
+
20
+ tests:
21
+ - source: Автономна Республіка Крим
22
+ expected: Avtonomna Respublika Krym
23
+ - source: Висунь
24
+ expected: Vysunʹ
25
+ - source: Долинське
26
+ expected: Dolynsʹke
27
+ - source: Дубище
28
+ expected: Dubyshche
29
+ - source: Єнакієве
30
+ expected: I͡enakii͡eve
31
+ - source: Зупиночний Пункт Мокіївці
32
+ expected: Zupynochnyĭ Punkt Mokiïvt͡si
33
+ - source: Іванівщина
34
+ expected: Ivanivshchyna
35
+ - source: Киликиїв
36
+ expected: Kylykyïv
37
+ - source: Кожанка
38
+ expected: Koz͡hanka
39
+ - source: Краснянка
40
+ expected: Krasni͡anka
41
+ - source: Краснівка
42
+ expected: Krasnivka
43
+ - source: Мале Микільське
44
+ expected: Male Mykilʹsʹke
45
+ - source: Маломиколаївка
46
+ expected: Malomykolaïvka
47
+ - source: Нове Село
48
+ expected: Nove Selo
49
+ - source: Новопавлівка
50
+ expected: Novopavlivka
51
+ - source: Новошичі
52
+ expected: Novoshychi
53
+ - source: Новоєфремівка
54
+ expected: Novoi͡efremivka
55
+ - source: Одеська Область
56
+ expected: Odesʹka Oblastʹ
57
+ - source: Орлівське
58
+ expected: Orlivsʹke
59
+ - source: Раневичі
60
+ expected: Ranevychi
61
+ - source: Рокувата
62
+ expected: Rokuvata
63
+ - source: Рудаєве
64
+ expected: Rudai͡eve
65
+ - source: Сахнівці
66
+ expected: Sakhnivt͡si
67
+ - source: Тернівка
68
+ expected: Ternivka
69
+ - source: Турбівка
70
+ expected: Turbivka
71
+ - source: Херсонська Область
72
+ expected: Khersonsʹka Oblastʹ
73
+
74
+ map:
75
+ characters:
76
+ "\u0410": "A" # А
77
+ "\u0411": "B" # Б
78
+ "\u0412": "V" # В
79
+ "\u0413": "H" # Г
80
+ "\u0490": "G" # Ґ
81
+ "\u0414": "D" # Д
82
+ "\u0415": "E" # Е
83
+ "\u0404": "I\u0361e" # Є -> I͡e
84
+ "\u0416": "Z\u0361h" # Ж -> Z͡h
85
+ "\u0417": "Z" # З
86
+ "\u0418": "Y" # И
87
+ "\u0406": "I" # І
88
+ "\u0407": "I\u0308" # Ї -> Ï
89
+ "\u0419": "I\u0306" # Й -> Ĭ
90
+ "\u041a": "K" # К
91
+ "\u041b": "L" # Л
92
+ "\u041c": "M" # М
93
+ "\u041d": "N" # Н
94
+ "\u041e": "O" # О
95
+ "\u041f": "P" # П
96
+ "\u0420": "R" # Р
97
+ "\u0421": "S" # С
98
+ "\u0422": "T" # Т
99
+ "\u0423": "U" # У
100
+ "\u0424": "F" # Ф
101
+ "\u0425": "Kh" # Х
102
+ "\u0426": "T\u0361s" # Ц -> T͡s
103
+ "\u0427": "Ch" # Ч
104
+ "\u0428": "Sh" # Ш
105
+ "\u0429": "Shch" # Щ
106
+ "\u042e": "I\u0361u" # Ю -> I͡u
107
+ "\u042f": "I\u0361a" # Я -> I͡a
108
+ "\u042c": "\u02B9" # Ь -> ʹ
109
+ "\u0430": "a" # а
110
+ "\u0431": "b" # б
111
+ "\u0432": "v" # в
112
+ "\u0433": "h" # г
113
+ "\u0491": "g" # ґ
114
+ "\u0434": "d" # д
115
+ "\u0435": "e" # е
116
+ "\u0454": "i\u0361e" # є -> i͡e
117
+ "\u0436": "z\u0361h" # ж -> z͡h
118
+ "\u0437": "z" # з
119
+ "\u0438": "y" # и
120
+ "\u0456": "i" # і
121
+ "\u0457": "i\u0308" # ї -> ï
122
+ "\u0439": "i\u0306" # й -> ĭ
123
+ "\u043a": "k" # к
124
+ "\u043b": "l" # л
125
+ "\u043c": "m" # м
126
+ "\u043d": "n" # н
127
+ "\u043e": "o" # о
128
+ "\u043f": "p" # п
129
+ "\u0440": "r" # р
130
+ "\u0441": "s" # с
131
+ "\u0442": "t" # т
132
+ "\u0443": "u" # у
133
+ "\u0444": "f" # ф
134
+ "\u0445": "kh" # х
135
+ "\u0446": "t\u0361s" # ц -> t͡s
136
+ "\u0447": "ch" # ч
137
+ "\u0448": "sh" # ш
138
+ "\u0449": "shch" # щ
139
+ "\u044e": "i\u0361u" # ю -> i͡u
140
+ "\u044f": "i\u0361a" # я -> i͡a
141
+ "\u044c": "\u02B9" # Ь -> ʹ
@@ -0,0 +1,16 @@
1
+ ---
2
+ authority_id: alalc
3
+ id: 2011
4
+ language: ukr
5
+ source_script: Cyrl
6
+ destination_script: Latn
7
+ name: ALA-LC Romanization System 1997
8
+ url: https://www.loc.gov/catdir/cpso/romanization/ukrainia.pdf
9
+ creation_date: 2011
10
+
11
+ notes:
12
+ - The z͡h ligature is necessary to distinguish ж from the combination зг.
13
+ - The t͡s ligature is necessary to distinguish ц from the combination тс.
14
+
15
+ map:
16
+ inherit: alalc-ukr-Cyrl-Latn-1997
@@ -0,0 +1,283 @@
1
+ ---
2
+ authority_id: apcbg
3
+ id: 1995
4
+ language: bul
5
+ source_script: Cyrl
6
+ destination_script: Latn
7
+ name: Toponymic Guidelines for Antarctica, Lyubomir Ivanov. Antarctic Place-names Commission of Bulgaria, Sofia, 1995.
8
+ url: http://www.apcbg.org/Toponymic-Guidelines.htm
9
+ creation_date: 1995
10
+ description: |
11
+ In Antarctica geographical names are important elements of identification, orientation, localization and navigation,
12
+ providing an essential reference system for logistic operations, including search and rescue measures, and for
13
+ international scientific research. They facilitate information exchange in the field, in scientific publications and in
14
+ administrative measures under the Antarctic Treaty System. Geographical names also reflect the history of Antarctic
15
+ exploration.
16
+
17
+ tests:
18
+ - source: нунатак Абрит
19
+ expected: nunatak Abrit
20
+ - source: връх Академия
21
+ expected: vrah Akademiya
22
+ - source: връх Ами Буе
23
+ expected: vrah Ami Bue
24
+ - source: нос Айтос
25
+ expected: nos Aytos
26
+ - source: залив Баба Тонка
27
+ expected: zaliv Baba Tonka
28
+ - source: Балабански камък
29
+ expected: Balabanski kamak
30
+ - source: Бедечки поток
31
+ expected: Bedechki potok
32
+ - source: нос Бяга
33
+ expected: nos Byaga
34
+ - source: остров Качо
35
+ expected: ostrov Kacho # wiki ostrov Cacho
36
+ - source: Чакъров остров
37
+ expected: Chakarov ostrov
38
+ - source: връх Дъбник
39
+ expected: vrah Dabnik
40
+ - source: залив Десислава
41
+ expected: zaliv Desislava
42
+ - source: ледник Джераси
43
+ expected: lednik Dzherasi
44
+ - source: Джегова скала
45
+ expected: Dzhegova skala
46
+ - source: Нунатак Едуард
47
+ expected: Nunatak Eduard
48
+ - source: Елховска седловина
49
+ expected: Elhovska sedlovina
50
+ - source: ледник Етър
51
+ expected: lednik Etar
52
+ - source: нунатак Филип Тотю
53
+ expected: nunatak Filip Totyu
54
+ - source: ледник Габаре
55
+ expected: lednik Gabare
56
+ - source: риф Гергини
57
+ expected: rif Gergini
58
+ - source: Гяуров връх
59
+ expected: Gyaurov vrah
60
+ - source: Гуцалски рид
61
+ expected: Gutsalski rid # not found
62
+ - source: Хараламбиев остров
63
+ expected: Haralambiev ostrov
64
+ - source: връх Ичера
65
+ expected: vrah Ichera
66
+ - source: полуостров Йоан Павел II
67
+ expected: poluostrov Yoan Pavel II
68
+ - source: нос Иван Александър
69
+ expected: nos Ivan Aleksandar
70
+ - source: нос Иречек
71
+ expected: nos Irechek
72
+ - source: нос Кърджали
73
+ expected: nos Kardzhali
74
+ - source: седловина Кърнаре
75
+ expected: sedlovina Karnare
76
+ - source: нунатак Керсеблепт
77
+ expected: nunatak Kerseblept
78
+ - source: Кондофрейски възвишения
79
+ expected: Kondofreyski vazvisheniya
80
+ - source: Костинбродски проход
81
+ expected: Kostinbrodski prohod
82
+ - source: връх Кожух
83
+ expected: vrah Kozhuh
84
+ - source: Кукерски нунатаци
85
+ expected: Kukerski nunatatsi
86
+ - source: залив Лазурен бряг
87
+ expected: zaliv Lazuren bryag
88
+ - source: връх Лудогорие
89
+ expected: vrah Ludogorie
90
+ - source: Лютибродски скали
91
+ expected: Lyutibrodski skali
92
+ - source: Масларов нунатак
93
+ expected: Maslarov nunatak
94
+ - source: Михневски връх
95
+ expected: Mihnevski vrah
96
+ - source: рид Митино
97
+ expected: rid Mitino
98
+ - source: езеро Наяда
99
+ expected: ezero Nayada
100
+ - source: нос Никюп
101
+ expected: nos Nikyup
102
+ - source: рид Оборище
103
+ expected: rid Oborishte
104
+ - source: залив Олуша
105
+ expected: zaliv Olusha
106
+ - source: Оряховски възвишения
107
+ expected: Oryahovski vazvisheniya
108
+ - source: нунатак Памидово
109
+ expected: nunatak Pamidovo
110
+ - source: връх Парангалица
111
+ expected: vrah Parangalitsa
112
+ - source: Първомайски провлак
113
+ expected: Parvomayski provlak
114
+ - source: ледник Патлейна
115
+ expected: lednik Patleyna
116
+ - source: полуостров Перник
117
+ expected: poluostrov Pernik
118
+ - source: връх Петко Войвода
119
+ expected: vrah Petko Voyvoda
120
+ - source: остров Фанагория
121
+ expected: ostrov Fanagoriya
122
+ - source: нос Плас
123
+ expected: nos Plas
124
+ - source: Пресиянов рид
125
+ expected: Presiyanov rid
126
+ - source: връх Принсипе де Астуриас
127
+ expected: vrah Prinsipe de Asturias # wiki: vrah Príncipe de Asturias
128
+ - source: нунатак Ръченица
129
+ expected: nunatak Rachenitsa
130
+ - source: връх Райна Княгиня
131
+ expected: vrah Rayna Knyaginya
132
+ - source: Рид Ръжана
133
+ expected: Rid Razhana
134
+ - source: връх Ригс
135
+ expected: vrah Rigs
136
+ - source: остров Рогулят
137
+ expected: ostrov Rogulyat
138
+ - source: ледник Сабазий
139
+ expected: lednik Sabaziy
140
+ - source: ледник Съединение
141
+ expected: lednik Saedinenie
142
+ - source: нунатак Сенокос
143
+ expected: nunatak Senokos
144
+ - source: Сейдолски камък
145
+ expected: Seydolski kamak
146
+ - source: ледник Щерна
147
+ expected: lednik Shterna
148
+ - source: връх Шишман
149
+ expected: vrah Shishman
150
+ - source: ледник Сигмен
151
+ expected: lednik Sigmen
152
+ - source: Седловина Синитово
153
+ expected: Sedlovina Sinitovo
154
+ - source: Ледник Скаплизо
155
+ expected: Lednik Skaplizo
156
+ - source: залив Слънчев бряг
157
+ expected: zaliv Slanchev bryag
158
+ - source: остров Соатрис
159
+ expected: ostrov Soatris
160
+ - source: планина Софийски Университет
161
+ expected: planina Sofiyski Universitet
162
+ - source: ледник Сребърна
163
+ expected: lednik Srebarna
164
+ - source: Средногорски възвишения
165
+ expected: Srednogorski vazvisheniya
166
+ - source: Св. Евтимиев камък
167
+ expected: Sv. Evtimiev kamak
168
+ - source: база Св. Климент Охридски
169
+ expected: baza Sv. Kliment Ohridski
170
+ - source: връх Стъргел
171
+ expected: vrah Stargel
172
+ - source: нунатак Сторгозия
173
+ expected: nunatak Storgoziya # nunatak Storgozia according to wiki
174
+ - source: нунатак Сурвакари
175
+ expected: nunatak Survakari
176
+ - source: ледник Световрачене
177
+ expected: lednik Svetovrachene
178
+ - source: остров Теменуга
179
+ expected: ostrov Temenuga
180
+ - source: Тракийски възвишения
181
+ expected: Trakiyski vazvisheniya
182
+ - source: хълм Цамблак
183
+ expected: halm Tsamblak
184
+ - source: ледник Урдовиза
185
+ expected: lednik Urdoviza
186
+ - source: остров Вълчедръм
187
+ expected: ostrov Valchedram
188
+ - source: острови Вардим
189
+ expected: ostrovi Vardim
190
+ - source: Владигеров проток
191
+ expected: Vladigerov protok
192
+ - source: ледник Ябланица
193
+ expected: lednik Yablanitsa
194
+ - source: залив Ямфорина
195
+ expected: zaliv Yamforina
196
+ - source: Йовков нос
197
+ expected: Yovkov nos
198
+ - source: рид Заберново
199
+ expected: rid Zabernovo
200
+ - source: ледник Збелсурд
201
+ expected: lednik Zbelsurd
202
+ - source: Жефарович камък
203
+ expected: Zhefarovich kamak
204
+ - source: връх Зиези
205
+ expected: vrah Ziezi
206
+ - source: залив Златни пясъци
207
+ expected: zaliv Zlatni pyasatsi
208
+ - source: ледник Злокучене
209
+ expected: lednik Zlokuchene
210
+ - source: проток Злогош
211
+ expected: protok Zlogosh
212
+
213
+ map:
214
+ characters:
215
+ '\u0410': 'A'
216
+ '\u0411': 'B'
217
+ '\u0412': 'V'
218
+ '\u0413': 'G'
219
+ '\u0414': 'D'
220
+ '\u0415': 'E'
221
+ '\u0416': 'Zh'
222
+ '\u0417': 'Z'
223
+ '\u0418': 'I'
224
+ '\u0419': 'Y'
225
+ '\u041a': 'K'
226
+ '\u041b': 'L'
227
+ '\u041c': 'M'
228
+ '\u041d': 'N'
229
+ '\u041e': 'O'
230
+ '\u041f': 'P'
231
+ '\u0420': 'R'
232
+ '\u0421': 'S'
233
+ '\u0422': 'T'
234
+ '\u0423': 'U'
235
+ '\u0424': 'F'
236
+ '\u0425': 'H'
237
+ '\u0426': 'Ts'
238
+ '\u0427': 'Ch'
239
+ '\u0428': 'Sh'
240
+ '\u0429': 'Sht'
241
+ '\u042a': 'A'
242
+ '\u042c': 'Y'
243
+ '\u042e': 'Yu'
244
+ '\u042f': 'Ya'
245
+
246
+ '\u0430': 'a'
247
+ '\u0431': 'b'
248
+ '\u0432': 'v'
249
+ '\u0433': 'g'
250
+ '\u0434': 'd'
251
+ '\u0435': 'e'
252
+ '\u0436': 'zh'
253
+ '\u0437': 'z'
254
+ '\u0438': 'i'
255
+ '\u0439': 'y'
256
+ '\u043a': 'k'
257
+ '\u043b': 'l'
258
+ '\u043c': 'm'
259
+ '\u043d': 'n'
260
+ '\u043e': 'o'
261
+ '\u043f': 'p'
262
+ '\u0440': 'r'
263
+ '\u0441': 's'
264
+ '\u0442': 't'
265
+ '\u0443': 'u'
266
+ '\u0444': 'f'
267
+ '\u0445': 'h'
268
+ '\u0446': 'ts'
269
+ '\u0447': 'ch'
270
+ '\u0448': 'sh'
271
+ '\u0449': 'sht'
272
+ '\u044a': 'a'
273
+ '\u044c': 'y'
274
+ '\u044e': 'yu'
275
+ '\u044f': 'ya'
276
+
277
+ # note 2
278
+ '\u046A': "U\u0306" # Ѫ
279
+ '\u046B': "u\u0306" # ѫ
280
+
281
+ # note[3]
282
+ '\u0462': "YE" # Ѣ
283
+ '\u0463': "ye" # ѣ