interscript 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (251) hide show
  1. checksums.yaml +4 -4
  2. data/lib/interscript.rb +10 -6
  3. data/lib/interscript/fs.rb +0 -2
  4. data/lib/interscript/mapping.rb +1 -1
  5. data/lib/interscript/opal.rb +38 -8
  6. data/lib/interscript/opal/entrypoint.rb +12 -0
  7. data/lib/interscript/opal/map_translate.rb +7 -0
  8. data/lib/interscript/version.rb +1 -1
  9. data/maps/acadsin-zho-Hani-Latn-2002.yaml +5 -1
  10. data/maps/alalc-amh-Ethi-Latn-1997.yaml +5 -1
  11. data/maps/alalc-amh-Ethi-Latn-2011.yaml +1 -1
  12. data/maps/alalc-ara-Arab-Latn-1997.yaml +5 -1
  13. data/maps/alalc-asm-Deva-Latn-1997.yaml +9 -3
  14. data/maps/alalc-asm-Deva-Latn-2012.yaml +40 -0
  15. data/maps/alalc-aze-Cyrl-Latn-1997.yaml +5 -1
  16. data/maps/alalc-bel-Cyrl-Latn-1997.yaml +5 -1
  17. data/maps/alalc-ben-Beng-Latn-2017.yaml +1 -1
  18. data/maps/alalc-bul-Cyrl-Latn-1997.yaml +5 -1
  19. data/maps/alalc-ell-Grek-Latn-1997.yaml +5 -1
  20. data/maps/alalc-ell-Grek-Latn-2010.yaml +1 -2
  21. data/maps/alalc-guj-Gujr-Latn-1997.yaml +266 -0
  22. data/maps/alalc-guj-Gujr-Latn-2011.yaml +64 -0
  23. data/maps/alalc-hin-Deva-Latn-1997.yaml +211 -0
  24. data/maps/alalc-hin-Deva-Latn-2011.yaml +47 -0
  25. data/maps/alalc-kat-Geok-Latn-1997.yaml +1 -1
  26. data/maps/alalc-kat-Geor-Latn-1997.yaml +5 -1
  27. data/maps/alalc-kor-Hang-Latn-1997.yaml +5 -1
  28. data/maps/alalc-mal-Mlym-Latn-1997.yaml +303 -0
  29. data/maps/alalc-mal-Mlym-Latn-2012.yaml +73 -0
  30. data/maps/alalc-mar-Deva-Latn-1997.yaml +21 -2
  31. data/maps/alalc-mar-Deva-Latn-2011.yaml +45 -0
  32. data/maps/alalc-mkd-Cyrl-Latn-1997.yaml +1 -1
  33. data/maps/alalc-mkd-Cyrl-Latn-2013.yaml +1 -1
  34. data/maps/alalc-mon-Cyrl-Latn-1997.yaml +220 -0
  35. data/maps/{alalc-pan-Deva-Latn-1997.yaml → alalc-pan-Guru-Latn-1997.yaml} +23 -4
  36. data/maps/alalc-pan-Guru-Latn-2011.yaml +78 -0
  37. data/maps/alalc-per-Arab-Latn-1997.yaml +375 -0
  38. data/maps/alalc-pli-Deva-Latn-2012.yaml +144 -0
  39. data/maps/alalc-pra-Deva-Latn-2012.yaml +47 -0
  40. data/maps/alalc-rus-Cyrl-Latn-1997.yaml +5 -1
  41. data/maps/alalc-rus-Cyrl-Latn-2012.yaml +1 -1
  42. data/maps/alalc-san-Deva-Latn-2012.yaml +172 -0
  43. data/maps/alalc-sin-Sinh-Latn-1997.yaml +292 -0
  44. data/maps/alalc-sin-Sinh-Latn-2011.yaml +71 -0
  45. data/maps/alalc-srp-Cyrl-Latn-1997.yaml +5 -1
  46. data/maps/alalc-srp-Cyrl-Latn-2013.yaml +1 -1
  47. data/maps/alalc-tam-Taml-Latn-1997.yaml +62 -0
  48. data/maps/alalc-tam-Taml-Latn-2011.yaml +58 -0
  49. data/maps/alalc-ukr-Cyrl-Latn-1997.yaml +5 -1
  50. data/maps/alalc-ukr-Cyrl-Latn-2011.yaml +1 -1
  51. data/maps/apcbg-bul-Cyrl-Latn-1995.yaml +1 -1
  52. data/maps/bas-rus-Cyrl-Latn-2017-bss.yaml +1 -1
  53. data/maps/bas-rus-Cyrl-Latn-2017-oss.yaml +1 -1
  54. data/maps/bgn-jpn-Hrkt-Latn-1962.yaml +1 -1
  55. data/maps/bgn-kor-Hang-Latn-1943.yaml +7 -3
  56. data/maps/bgn-kor-Kore-Latn-1943.yaml +3 -3
  57. data/maps/bgna-bul-Cyrl-Latn-2006.yaml +1 -1
  58. data/maps/bgna-bul-Cyrl-Latn-2009.yaml +1 -1
  59. data/maps/bgnpcgn-amh-Ethi-Latn-1967.yaml +5 -1
  60. data/maps/bgnpcgn-ara-Arab-Latn-1956.yaml +5 -1
  61. data/maps/bgnpcgn-arm-Armn-Latn-1981.yaml +1 -1
  62. data/maps/bgnpcgn-aze-Cyrl-Latn-1993.yaml +2 -2
  63. data/maps/bgnpcgn-bak-Cyrl-Latn-2007.yaml +6 -2
  64. data/maps/bgnpcgn-bel-Cyrl-Latn-1979.yaml +5 -1
  65. data/maps/bgnpcgn-bul-Cyrl-Latn-1952.yaml +5 -1
  66. data/maps/bgnpcgn-bul-Cyrl-Latn-2013.yaml +5 -1
  67. data/maps/bgnpcgn-che-Cyrl-Latn-2008.yaml +184 -0
  68. data/maps/bgnpcgn-ell-Grek-Latn-1962.yaml +5 -1
  69. data/maps/bgnpcgn-ell-Grek-Latn-1996.yaml +5 -1
  70. data/maps/{bgnpcgn-per-Arab-Latn-1956.yaml → bgnpcgn-fas-Arab-Latn-1956.yaml} +5 -1
  71. data/maps/bgnpcgn-jpn-Hrkt-Latn-1976.yaml +1 -1
  72. data/maps/bgnpcgn-kat-Geor-Latn-1981.yaml +5 -1
  73. data/maps/bgnpcgn-kat-Geor-Latn-2009.yaml +1 -1
  74. data/maps/bgnpcgn-kor-Hang-Latn-kn-1945.yaml +1 -1
  75. data/maps/bgnpcgn-kor-Hang-Latn-rok-2011.yaml +1 -1
  76. data/maps/bgnpcgn-kor-Kore-Latn-rok-2011.yaml +1 -1
  77. data/maps/bgnpcgn-mkd-Cyrl-Latn-1981.yaml +5 -1
  78. data/maps/bgnpcgn-mkd-Cyrl-Latn-2013.yaml +1 -1
  79. data/maps/bgnpcgn-mon-Cyrl-Latn-1964.yaml +223 -0
  80. data/maps/bgnpcgn-nep-Deva-Latn-2011.yaml +31 -1
  81. data/maps/bgnpcgn-per-Arab-Latn-1958.yaml +336 -0
  82. data/maps/bgnpcgn-prs-Arab-Latn-2007.yaml +639 -0
  83. data/maps/bgnpcgn-prs-Arab-Latn-yaghoubi.yaml +459 -0
  84. data/maps/bgnpcgn-rue-Cyrl-Latn-2016.yaml +168 -0
  85. data/maps/bgnpcgn-rus-Cyrl-Latn-1947.yaml +5 -1
  86. data/maps/bgnpcgn-srp-Cyrl-Latn-2005.yaml +5 -1
  87. data/maps/bgnpcgn-tat-Cyrl-Latn-2007.yaml +220 -0
  88. data/maps/bgnpcgn-tgk-Cyrl-Latn-1994.yaml +240 -0
  89. data/maps/bgnpcgn-ukr-Cyrl-Latn-1965.yaml +5 -1
  90. data/maps/bgnpcgn-ukr-Cyrl-Latn-2019.yaml +3 -92
  91. data/maps/bgnpcgn-uzb-Cyrl-Latn-1979.yaml +127 -0
  92. data/maps/bgnpcgn-uzb-Cyrl-Latn-2000.yaml +82 -0
  93. data/maps/bgnpcgn-zho-Hans-Latn-1979.yaml +1 -1
  94. data/maps/bis-asm-Beng-Latn-13194-1991.yaml +1 -1
  95. data/maps/bis-ben-Beng-Latn-13194-1991.yaml +1 -1
  96. data/maps/bis-dev-Deva-Latn-13194-1991.yaml +1 -1
  97. data/maps/{bis-gjr-Gujr-Latn-13194-1991.yaml → bis-guj-Gujr-Latn-13194-1991.yaml} +17 -2
  98. data/maps/bis-knd-Knda-Latn-13194-1991.yaml +1 -1
  99. data/maps/bis-mlm-Mlym-Latn-13194-1991.yaml +1 -1
  100. data/maps/bis-ori-Orya-Latn-13194-1991.yaml +1 -1
  101. data/maps/bis-pnj-Guru-Latn-13194-1991.yaml +1 -1
  102. data/maps/bis-tel-Telu-Latn-13194-1991.yaml +1 -1
  103. data/maps/bis-tml-Taml-Latn-13194-1991.yaml +1 -1
  104. data/maps/by-bel-Cyrl-Latn-1998.yaml +5 -1
  105. data/maps/by-bel-Cyrl-Latn-2007.yaml +1 -1
  106. data/maps/din-grc-Grek-Latn-31634-2011-t1.yaml +899 -0
  107. data/maps/din-hin-Deva-Latn-33904-2018.yaml +100 -0
  108. data/maps/din-kat-Geor-Latn-32707-2010.yaml +145 -0
  109. data/maps/din-mar-Deva-Latn-33904-2018.yaml +84 -0
  110. data/maps/din-nep-Deva-Latn-33904-2018.yaml +119 -0
  111. data/maps/din-pli-Deva-Latn-33904-2018.yaml +75 -0
  112. data/maps/din-pra-Deva-Latn-33904-2018.yaml +63 -0
  113. data/maps/din-san-Deva-Latn-33904-2018.yaml +338 -0
  114. data/maps/din-tam-Taml-Latn-33903-2016.yaml +213 -0
  115. data/maps/dos-nep-Deva-Latn-1997.yaml +15 -1
  116. data/maps/elot-ell-Grek-Latn-743-1982-tl.yaml +3 -3
  117. data/maps/elot-ell-Grek-Latn-743-1982-ts.yaml +2 -2
  118. data/maps/elot-ell-Grek-Latn-743-2001-tl.yaml +2 -2
  119. data/maps/elot-ell-Grek-Latn-743-2001-ts.yaml +2 -2
  120. data/maps/ggg-kat-Geor-Latn-2002.yaml +5 -1
  121. data/maps/gki-bel-Cyrl-Latn-1992.yaml +1 -1
  122. data/maps/gki-bel-Cyrl-Latn-2000.yaml +1 -1
  123. data/maps/gost-rus-Cyrl-Latn-16876-71-1983.yaml +7 -3
  124. data/maps/gost-rus-Cyrl-Latn-7.79-2000-2002.yaml +157 -0
  125. data/maps/hk-yue-Hani-Latn-1888.yaml +1 -1
  126. data/maps/icao-bel-Cyrl-Latn-9303.yaml +1 -1
  127. data/maps/icao-bul-Cyrl-Latn-9303.yaml +1 -1
  128. data/maps/{icao-per-Arab-Latn-9303.yaml → icao-fas-Arab-Latn-9303.yaml} +1 -1
  129. data/maps/icao-heb-Hebr-Latn-9303.yaml +1 -1
  130. data/maps/icao-mkd-Cyrl-Latn-9303.yaml +1 -1
  131. data/maps/icao-rus-Cyrl-Latn-9303.yaml +1 -1
  132. data/maps/icao-srp-Cyrl-Latn-9303.yaml +1 -1
  133. data/maps/icao-ukr-Cyrl-Latn-9303.yaml +1 -1
  134. data/maps/iso-ara-Arab-Latn-233-1984.yaml +1 -1
  135. data/maps/iso-asm-Beng-Latn-15919-2001.yaml +75 -0
  136. data/maps/iso-ben-Beng-Latn-15919-2001.yaml +175 -0
  137. data/maps/iso-ell-Grek-Latn-843-1997-t1.yaml +8 -4
  138. data/maps/iso-ell-Grek-Latn-843-1997-t2.yaml +8 -4
  139. data/maps/iso-guj-Gujr-Latn-15919-2001.yaml +220 -0
  140. data/maps/iso-hin-Deva-Latn-15919-2001.yaml +87 -0
  141. data/maps/iso-inc-Deva-Latn-15919-2001.yaml +61 -0
  142. data/maps/iso-jpn-Hrkt-Latn-3602-1989.yaml +10 -6
  143. data/maps/iso-kan-Knda-Latn-15919-2001.yaml +220 -0
  144. data/maps/iso-kat-Geor-Latn-9984-1996.yaml +145 -0
  145. data/maps/iso-kor-Hang-Latn-1996-method1.yaml +240 -0
  146. data/maps/iso-kor-Hang-Latn-1996-method2.yaml +226 -0
  147. data/maps/iso-mal-Mlym-Latn-15919-2001.yaml +281 -0
  148. data/maps/iso-mar-Deva-Latn-15919-2001.yaml +75 -0
  149. data/maps/iso-nep-Deva-Latn-15919-2001.yaml +87 -0
  150. data/maps/iso-ori-Orya-Latn-15919-2001.yaml +193 -0
  151. data/maps/iso-pan-Guru-Latn-15919-2001.yaml +222 -0
  152. data/maps/iso-pli-Beng-Latn-15919-2001.yaml +73 -0
  153. data/maps/iso-pli-Deva-Latn-15919-2001.yaml +74 -0
  154. data/maps/iso-pli-Sinh-Latn-15919-2001.yaml +219 -0
  155. data/maps/iso-pli-Thai-Latn-15919-2001.yaml +55 -0
  156. data/maps/iso-pra-Deva-Latn-15919-2001.yaml +59 -0
  157. data/maps/iso-prs-Arab-Latn-233-3-1999.yaml +366 -0
  158. data/maps/iso-rus-Cyrl-Latn-9-1995.yaml +3 -3
  159. data/maps/iso-san-Deva-Latn-15919-2001.yaml +220 -0
  160. data/maps/iso-tam-Taml-Latn-15919-2001.yaml +159 -0
  161. data/maps/iso-tel-Telu-Latn-15919-2001.yaml +220 -0
  162. data/maps/iso-tha-Thai-Latn-11940-1998.yaml +1 -1
  163. data/maps/kp-kor-Hang-Latn-2002.yaml +25 -17
  164. data/maps/lshk-yue-Hani-Latn-jyutping-1993.yaml +1 -1
  165. data/maps/mext-jpn-Hrkt-Latn-1954.yaml +1 -1
  166. data/maps/mns-mon-Cyrl-Latn-5217-2012.yaml +163 -0
  167. data/maps/mns-mon-Latn-Cyrl-5217-2012.yaml +200 -0
  168. data/maps/moct-kor-Hang-Latn-2000.yaml +6 -2
  169. data/maps/mofa-jpn-Hrkt-Latn-1989.yaml +1 -1
  170. data/maps/mvd-bel-Cyrl-Latn-2008.yaml +2 -2
  171. data/maps/mvd-bel-Cyrl-Latn-2010.yaml +3 -3
  172. data/maps/mvd-rus-Cyrl-Latn-2008.yaml +2 -2
  173. data/maps/mvd-rus-Cyrl-Latn-2010.yaml +2 -2
  174. data/maps/odni-ara-Arab-Latn-2015.yaml +425 -0
  175. data/maps/odni-aze-Cyrl-Latn-2015.yaml +1 -1
  176. data/maps/odni-bel-Cyrl-Latn-2015.yaml +1 -1
  177. data/maps/odni-bul-Cyrl-Latn-2015.yaml +2 -2
  178. data/maps/odni-che-Cyrl-Latn-2015.yaml +169 -0
  179. data/maps/odni-fas-Arab-Latn-2015.yaml +406 -0
  180. data/maps/odni-hin-Deva-Latn-2015.yaml +1 -1
  181. data/maps/odni-kat-Geor-Latn-2015.yaml +1 -1
  182. data/maps/odni-kaz-Cyrl-Latn-2015.yaml +1 -1
  183. data/maps/odni-kir-Cyrl-Latn-2015.yaml +1 -1
  184. data/maps/odni-kor-Hang-Latn-2015.yaml +375 -0
  185. data/maps/odni-mkd-Cyrl-Latn-2015.yaml +1 -1
  186. data/maps/odni-per-Arab-Latn-2015.yaml +228 -0
  187. data/maps/odni-rus-Cyrl-Latn-2015.yaml +1 -1
  188. data/maps/odni-srp-Cyrl-Latn-2015.yaml +1 -1
  189. data/maps/odni-tat-Cyrl-Latn-2015.yaml +1 -1
  190. data/maps/odni-tgk-Cyrl-Latn-2015.yaml +1 -1
  191. data/maps/odni-uig-Cyrl-Latn-2015.yaml +1 -1
  192. data/maps/odni-ukr-Cyrl-Latn-2015.yaml +1 -1
  193. data/maps/odni-urd-Arab-Latn-2015.yaml +1 -1
  194. data/maps/odni-uzb-Cyrl-Latn-2015.yaml +1 -1
  195. data/maps/royin-tha-Thai-Latn-1939-generic.yaml +1 -1
  196. data/maps/royin-tha-Thai-Latn-1968.yaml +5 -1
  197. data/maps/royin-tha-Thai-Latn-1999-chained.yaml +1 -1
  198. data/maps/royin-tha-Thai-Latn-1999.yaml +5 -1
  199. data/maps/sac-zho-Hans-Latn-1979.yaml +5 -1
  200. data/maps/sasm-mon-Mong-Latn-general-1978.yaml +389 -0
  201. data/maps/sasm-mon-Mong-Latn-phonetic-1978.yaml +354 -0
  202. data/maps/ses-ara-Arab-Latn-1930.yaml +5 -1
  203. data/maps/stategeocadastre-ukr-Cyrl-Latn-1993.yaml +1 -1
  204. data/maps/ua-ukr-Cyrl-Latn-1996.yaml +6 -2
  205. data/maps/ua-ukr-Cyrl-Latn-2007.yaml +75 -0
  206. data/maps/ua-ukr-Cyrl-Latn-2010.yaml +192 -0
  207. data/maps/{ungegn-amh-Ethi-Latn-2016.yaml → un-amh-Ethi-Latn-2016.yaml} +51 -24
  208. data/maps/un-ara-Arab-Latn-1971.yaml +1 -1
  209. data/maps/un-ara-Arab-Latn-1972.yaml +1 -1
  210. data/maps/un-ara-Arab-Latn-2017.yaml +1 -1
  211. data/maps/un-bel-Cyrl-Latn-2007.yaml +1 -1
  212. data/maps/un-ben-Beng-Latn-2016.yaml +1 -1
  213. data/maps/{un-ell-Grek-Latn-phonetic-1987.yaml → un-ell-Grek-Latn-1987-phonetic.yaml} +2 -2
  214. data/maps/un-ell-Grek-Latn-1987-tl.yaml +2 -2
  215. data/maps/un-ell-Grek-Latn-1987-ts.yaml +3 -3
  216. data/maps/un-hin-Deva-Latn-2016.yaml +222 -0
  217. data/maps/un-mar-Deva-Latn-2016.yaml +91 -0
  218. data/maps/un-mon-Mong-Latn-general-2013.yaml +264 -0
  219. data/maps/un-mon-Mong-Latn-phonetic-2013.yaml +264 -0
  220. data/maps/un-nep-Deva-Latn-1972.yaml +204 -17
  221. data/maps/un-nep-Deva-Latn-2013.yaml +74 -0
  222. data/maps/un-rus-Cyrl-Latn-1987.yaml +1 -1
  223. data/maps/un-ukr-Cyrl-Latn-1998.yaml +35 -12
  224. data/maps/un-ukr-Cyrl-Latn-2012.yaml +162 -0
  225. data/maps/var-hin-Deva-Latn-hunterian-1872.yaml +221 -0
  226. data/maps/var-jpn-Hrkt-Latn-hepburn-1886.yaml +1 -1
  227. data/maps/var-jpn-Hrkt-Latn-hepburn-1954.yaml +1 -1
  228. data/maps/{nil-kor-Hang-Hang-jamo.yaml → var-kor-Hang-Hang-jamo.yaml} +1 -1
  229. data/maps/var-kor-Hang-Latn-mr-1939.yaml +2 -2
  230. data/maps/var-kor-Kore-Hang-2013.yaml +1 -1
  231. data/maps/var-kor-Kore-Latn-mr-1939.yaml +1 -1
  232. data/maps/var-mar-Deva-Latn-hunterian-1872.yaml +43 -0
  233. data/maps/var-mon-Mong-Latn-1930.yaml +102 -0
  234. data/maps/var-mon-Mong-Latn-lessing.yaml +272 -0
  235. data/maps/var-mon-Mong-Latn-vpmc.yaml +274 -0
  236. data/maps/var-pra-Deva-Latn-iast-1912.yaml +30 -0
  237. data/maps/var-san-Deva-Latn-iast-1912.yaml +149 -0
  238. data/maps/var-tha-Thai-Thai-phonemic.yaml +1 -1
  239. data/maps/var-tha-Thai-Zsym-ipa.yaml +1 -1
  240. data/maps/{var-zho-Hani-Latn-1979.yaml → var-zho-Hani-Latn-wd-1979.yaml} +6 -2
  241. data/spec/interscript/filenames_spec.rb +384 -0
  242. data/spec/interscript_spec.rb +7 -4
  243. metadata +105 -26
  244. data/bin/interscript +0 -41
  245. data/bin/rspec +0 -29
  246. data/bin/setup +0 -8
  247. data/lib/__pycache__/g2pwrapper.cpython-38.pyc +0 -0
  248. data/lib/interscript-opal.rb +0 -2
  249. data/lib/interscript/opal_map_translate.rb +0 -12
  250. data/maps/alalc-hin-Deva-Latn-2020.yaml +0 -159
  251. data/maps/un-mon-Mong-Latn-2013.yaml +0 -99
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  authority_id: iso
3
3
  id: 11940-1998
4
- language: tha
4
+ language: iso-639-2:tha
5
5
  source_script: Thai
6
6
  destination_script: Latn
7
7
  name: ISO 11940:1998 Information and documentation -- Transliteration of Thai
@@ -1,10 +1,14 @@
1
1
  ---
2
2
  authority_id: kp
3
3
  id: 2002
4
- language: kor
4
+ language: iso-639-2:kor
5
5
  source_script: Hang
6
6
  destination_script: Latn
7
7
  name: Korean Democratic People's Republic of Korea Korean System (2002)
8
+ alias:
9
+ ogc11122:
10
+ code: kor_Hang2Latn_GKN_2002
11
+ description: Korean Democratic People's Republic of Korea Korean 2002 System
8
12
  url: https://unstats.un.org/unsd/geoinfo/UNGEGN/docs/8th-uncsgn-docs/inf/8th_UNCSGN_econf.94_INF.72.pdf
9
13
  creation_date:
10
14
  adoption_date:
@@ -135,11 +139,15 @@ tests:
135
139
  - source: "평양"
136
140
  expected: "Pyongyang"
137
141
 
142
+ # Fix a problem with a trailing comma
143
+ - source: "구현, 글꼴, 문자 배열, 다국어 컴퓨팅."
144
+ expected: "Kuhyŏn, Külkkol, Munja Paeyŏl, Tagugŏ Khŏmphyuthing."
145
+
138
146
  map:
139
147
  character_separator: ""
140
148
  word_separator: " "
141
149
  title_case: True
142
- inherit: "nil-kor-Hang-Hang-jamo"
150
+ inherit: "var-kor-Hang-Hang-jamo"
143
151
 
144
152
  rules:
145
153
 
@@ -860,35 +868,35 @@ map:
860
868
  result: "wae" # HANGUL JUNGSEONG WAE
861
869
  - pattern: "ᅰ"
862
870
  result: "we" # HANGUL JUNGSEONG WE
863
- - pattern: "ᆨ(?=[ A-Za-z0-9-])"
871
+ - pattern: "ᆨ(?!\\p{Hangul})"
864
872
  result: "k" # HANGUL JONGSEONG KIYEOK
865
- - pattern: "ᆫ(?=[ A-Za-z0-9-])"
873
+ - pattern: "ᆫ(?!\\p{Hangul})"
866
874
  result: "n" # HANGUL JONGSEONG NIEUN
867
- - pattern: "ᆮ(?=[ A-Za-z0-9-])"
875
+ - pattern: "ᆮ(?!\\p{Hangul})"
868
876
  result: "t" # HANGUL JONGSEONG TIEUT
869
- - pattern: "ᆯ(?=[ A-Za-z0-9-])"
877
+ - pattern: "ᆯ(?!\\p{Hangul})"
870
878
  result: "l" # HANGUL JONGSEONG RIEUL
871
- - pattern: "ᆷ(?=[ A-Za-z0-9-])"
879
+ - pattern: "ᆷ(?!\\p{Hangul})"
872
880
  result: "m" # HANGUL JONGSEONG MIEUM
873
- - pattern: "ᆸ(?=[ A-Za-z0-9-])"
881
+ - pattern: "ᆸ(?!\\p{Hangul})"
874
882
  result: "p" # HANGUL JONGSEONG PIEUP
875
- - pattern: "ᆺ(?=[ A-Za-z0-9-])"
883
+ - pattern: "ᆺ(?!\\p{Hangul})"
876
884
  result: "t" # HANGUL JONGSEONG SIOS
877
- - pattern: "ᆼ(?=[ A-Za-z0-9-])"
885
+ - pattern: "ᆼ(?!\\p{Hangul})"
878
886
  result: "ng" # HANGUL JONGSEONG IEUNG
879
- - pattern: "ᆽ(?=[ A-Za-z0-9-])"
887
+ - pattern: "ᆽ(?!\\p{Hangul})"
880
888
  result: "t" # HANGUL JONGSEONG CIEUC
881
- - pattern: "ᆾ(?=[ A-Za-z0-9-])"
889
+ - pattern: "ᆾ(?!\\p{Hangul})"
882
890
  result: "t" # HANGUL JONGSEONG CHIEUCH
883
- - pattern: "ᆿ(?=[ A-Za-z0-9-])"
891
+ - pattern: "ᆿ(?!\\p{Hangul})"
884
892
  result: "k" # HANGUL JONGSEONG KHIEUKH
885
- - pattern: "ᇀ(?=[ A-Za-z0-9-])"
893
+ - pattern: "ᇀ(?!\\p{Hangul})"
886
894
  result: "t" # HANGUL JONGSEONG THIEUTH
887
- - pattern: "ᇁ(?=[ A-Za-z0-9-])"
895
+ - pattern: "ᇁ(?!\\p{Hangul})"
888
896
  result: "p" # HANGUL JONGSEONG PHIEUPH
889
- - pattern: "ᆰ(?=[ A-Za-z0-9-])"
897
+ - pattern: "ᆰ(?!\\p{Hangul})"
890
898
  result: "k" # HANGUL JONGSEONG RIEUL-KIYEOK
891
- - pattern: "ᆲ(?=[ A-Za-z0-9-])"
899
+ - pattern: "ᆲ(?!\\p{Hangul})"
892
900
  result: "p" # HANGUL JONGSEONG RIEUL-PIEUP
893
901
 
894
902
  # Remove space added
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  authority_id: lshk
3
3
  id: jyutping
4
- language: yue
4
+ language: iso-639-3:yue
5
5
  source_script: Hani
6
6
  destination_script: Latn
7
7
  name: LSHK Jyutping
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  authority_id: mext
3
3
  id: 1954
4
- language: jpn
4
+ language: iso-639-2:jpn
5
5
  source_script: Hrkt
6
6
  destination_script: Latn
7
7
  name: 内閣告示第一号 -- ローマ字のつづり方
@@ -0,0 +1,163 @@
1
+ ---
2
+ authority_id: mns
3
+ id: 2012
4
+ language: iso-639-2:mon
5
+ source_script: Cyrl
6
+ destination_script: Latn
7
+ name: Transliteration of Mongolian Cyrillic characters into Latin
8
+ url: http://estandard.gov.mn/standard/reader/4635
9
+ creation_date:
10
+ confirmation_date: 2012-02
11
+ description: |
12
+ The standard MNS 5217:2012 is a standard of the Mongolian Agency for Standardization and Metrology
13
+ for transliteration from Cyrillic Mongolian in Latin alphabet. It repeats and supplements the previous
14
+ standard dating from 2003 (MNS 5217:2003).
15
+
16
+ This standard differs from the ISO 9 system for Cyrillic adopted by Russia, Armenia, Azerbaijan,
17
+ Belarus, Kazakhstan, Kyrgyzstan, Uzbekistan, Tajikistan and Turkmenistan.
18
+
19
+ tests:
20
+ - source: Аварга, халбага, аав
21
+ expected: Avarga, khalbaga, aav
22
+ - source: Бага, самбар
23
+ expected: Baga, sambar
24
+ - source: Аварга, вагон, сав
25
+ expected: Avarga, vagon, sav
26
+ - source: Газар, гэрээ, хэрэг
27
+ expected: Gazar, geree, khereg
28
+ - source: Дадлага, ахмад
29
+ expected: Dadlaga, akhmad
30
+ - source: Еэвэн, ерөөл
31
+ expected: Yeeven, yerööl
32
+ - source: Ёроол, оёдол
33
+ expected: Yorool, oyodol
34
+ - source: Жуулчин, ажил, Жон
35
+ expected: Juulchin, ajil, Jon
36
+ - source: Зам, азарга, бааз
37
+ expected: Zam, azarga, baaz
38
+ - source: Кино, километр, академи
39
+ expected: Kino, kilomyetr, akadyemi # Kino, kilometr, akademi - Provided sample is wrong
40
+ - source: Ишиг, бичиг, хань
41
+ expected: Ishig, bichig, khani
42
+ - source: Ийм, ээжийн
43
+ expected: Iim, eejiin
44
+ - source: Лам, алаг, мал
45
+ expected: Lam, alag, mal
46
+ - source: Мал, хамар, нам
47
+ expected: Mal, khamar, nam
48
+ - source: Нар, хана, үнэн
49
+ expected: Nar, khana, ünen
50
+ - source: Орон, боловсрол, тооно
51
+ expected: Oron, bolovsrol, toono
52
+ - source: Өдөр, өнөөдөр, өөрөөсөө
53
+ expected: Ödör, önöödör, ööröösöö
54
+ - source: Пуужин, апарат
55
+ expected: Puujin, aparat
56
+ - source: Рашаан, радио, сар
57
+ expected: Rashaan, radio, sar
58
+ - source: Сар, асар, эцэс
59
+ expected: Sar, asar, etses
60
+ - source: Тамга, татлага
61
+ expected: Tamga, tatlaga
62
+ - source: Уран, нуруу
63
+ expected: Uran, nuruu
64
+ - source: Үнэн, түргэн, тэргүүн
65
+ expected: Ünen, türgen, tergüün
66
+ - source: Фото, фонд
67
+ expected: Foto, fond
68
+ - source: Хавар, нөхөр, эх
69
+ expected: Khavar, nökhör, ekh
70
+ - source: Цацаг, цэцэг
71
+ expected: Tsatsag, tsetseg
72
+ - source: Чимэг, чадал, ач
73
+ expected: Chimeg, chadal, ach
74
+ - source: Шашин, ааш
75
+ expected: Shashin, aash
76
+ - source: Щедрин, щорс
77
+ expected: Shyedrin, shors # Shedrin, Shors - Provided sample is wrong
78
+ - source: Оръё, суръя, гаръя
79
+ expected: Oriyo, suriya, gariya
80
+ - source: Хааны, ахын
81
+ expected: Khaany, akhyn
82
+ - source: Харь, барь
83
+ expected: Khari, bari
84
+ - source: Эзэн, энэ, эмээл
85
+ expected: Ezen, ene, emeel
86
+ - source: Юм, юүдэн
87
+ expected: Yum, yuüden
88
+ - source: Ямар, ядуу, ая
89
+ expected: Yamar, yaduu, aya
90
+
91
+ map:
92
+
93
+ characters:
94
+ "А": "A" # \u0410
95
+ "Б": "B" # \u0411
96
+ "В": "V" # \u0412
97
+ "Г": "G" # \u0413
98
+ "Д": "D" # \u0414
99
+ "Е": "Ye" # \u0415
100
+ "Ё": "Yo" # \u0401
101
+ "Ж": "J" # \u0416
102
+ "З": "Z" # \u0417
103
+ "И": "I" # \u0418
104
+ "Й": "I" # \u0419
105
+ "К": "K" # \u041a
106
+ "Л": "L" # \u041b
107
+ "М": "M" # \u041c
108
+ "Н": "N" # \u041d
109
+ "О": "O" # \u041e
110
+ "Ө": "Ö" # \u04e8
111
+ "П": "P" # \u041f
112
+ "Р": "R" # \u0420
113
+ "С": "S" # \u0421
114
+ "Т": "T" # \u0422
115
+ "У": "U" # \u0423
116
+ "Ү": "Ü" # \u04ae
117
+ "Ф": "F" # \u0424
118
+ "Х": "Kh" # \u0425
119
+ "Ц": "Ts" # \u0426
120
+ "Ч": "Ch" # \u0427
121
+ "Ш": "Sh" # \u0428
122
+ "Щ": "Sh" # \u0429
123
+ "Ъ": "I" # \u042a
124
+ "Ы": "Y" # \u042b
125
+ "Ь": "I" # \u042c
126
+ "Э": "E" # \u042d
127
+ "Ю": "Yu" # \u042e
128
+ "Я": "Ya" # \u042f
129
+ "а": "a" # \u0430
130
+ "б": "b" # \u0431
131
+ "в": "v" # \u0432
132
+ "г": "g" # \u0433
133
+ "д": "d" # \u0434
134
+ "е": "ye" # \u0435
135
+ "ё": "yo" # \u0451
136
+ "ж": "j" # \u0436
137
+ "з": "z" # \u0437
138
+ "и": "i" # \u0438
139
+ "й": "i" # \u0439
140
+ "к": "k" # \u043a
141
+ "л": "l" # \u043b
142
+ "м": "m" # \u043c
143
+ "н": "n" # \u043d
144
+ "о": "o" # \u043e
145
+ "ө": "ö" # \u04e9
146
+ "п": "p" # \u043f
147
+ "р": "r" # \u0440
148
+ "с": "s" # \u0441
149
+ "т": "t" # \u0442
150
+ "у": "u" # \u0443
151
+ "ү": "ü" # \u04af
152
+ "ф": "f" # \u0444
153
+ "х": "kh" # \u0445
154
+ "ц": "ts" # \u0446
155
+ "ч": "ch" # \u0447
156
+ "ш": "sh" # \u0448
157
+ "щ": "sh" # \u0449
158
+ "ъ": "i" # \u044a
159
+ "ы": "y" # \u044b
160
+ "ь": "i" # \u044c
161
+ "э": "e" # \u044d
162
+ "ю": "yu" # \u044e
163
+ "я": "ya" # \u044f
@@ -0,0 +1,200 @@
1
+ ---
2
+ authority_id: mns
3
+ id: 2012
4
+ language: iso-639-2:mon
5
+ source_script: Latn
6
+ destination_script: Cyrl
7
+ name: Transliteration of Latin characters into Mongolian Cyrillic
8
+ url: https://fr.wikipedia.org/wiki/MNS_5217:2012
9
+ creation_date:
10
+ confirmation_date:
11
+ description: |
12
+ Latin characters into Mongolian Cyrillic is the opposite transliteration of based on MNS 5217:2012.
13
+ The standard MNS 5217:2012 is a standard of the Mongolian Agency for Standardization and Metrology
14
+ for transliteration from Cyrillic Mongolian in Latin alphabet.
15
+
16
+ The grammer of Khalkha Mongolian is required in order to make accurate translation of Latin characters
17
+ into Mongolian Cyrillic because of no distinguish between /и, й, ъ, ь/ for "i" and /ш, щ/ for "sh" in
18
+ the standard.
19
+
20
+ In Mongolia, the Khalkha dialect, currently written in both Cyrillic and traditional Mongolian script
21
+ (and at times in Latin for social networking), is predominant, while in Inner Mongolia, the language
22
+ is dialectally more diverse and is written in the traditional Mongolian script.
23
+
24
+ notes: |
25
+ - Khalkha also has four diphthongs: /ui, ʊi, ɔi, ai/. Vowels can also combine to form a further
26
+ three diphthongs, and so seven in total: ia (иа), ʊa (уа) ei (эй). For example: ай in далай (eyes),
27
+ иа in амиараа (individually), ой in нохой (dog), уа in хуаран (barracks), уй in уйлах (to cry),
28
+ үй in үйлдвэр (factory), эй in хэрэгтэй (necessary).
29
+ - Custom mapping sort orders made as following by: /й, ъ, ь, и/ for "i" and /щ, ш/ for "sh".
30
+
31
+ tests:
32
+ - source: Avarga, khalbaga, aav
33
+ expected: Аварга, халбага, аав
34
+ - source: Baga, sambar
35
+ expected: Бага, самбар
36
+ - source: Avarga, vagon, sav
37
+ expected: Аварга, вагон, сав
38
+ - source: Gazar, geree, khereg
39
+ expected: Газар, гэрээ, хэрэг
40
+ - source: Dadlaga, akhmad
41
+ expected: Дадлага, ахмад
42
+ - source: Yeeven, yerööl
43
+ expected: Еэвэн, ерөөл
44
+ - source: Yorool, oyodol
45
+ expected: Ёроол, оёдол
46
+ - source: Juulchin, ajil, Jon
47
+ expected: Жуулчин, ажил, Жон
48
+ - source: Zam, azarga, baaz
49
+ expected: Зам, азарга, бааз
50
+ - source: Kino, kilomyetr, akadyemi
51
+ expected: Кино, километр, академи
52
+ - source: Ishig, bichig, khani
53
+ expected: Ишиг, бичиг, хани # Correct expectation: Ишиг, бичиг, хань - Hard transliteration required for ь
54
+ - source: Iim, eejiin
55
+ expected: Ийм, ээжийн
56
+ - source: Lam, alag, mal
57
+ expected: Лам, алаг, мал
58
+ - source: Mal, khamar, nam
59
+ expected: Мал, хамар, нам
60
+ - source: Nar, khana, ünen
61
+ expected: Нар, хана, үнэн
62
+ - source: Oron, bolovsrol, toono
63
+ expected: Орон, боловсрол, тооно
64
+ - source: Ödör, önöödör, ööröösöö
65
+ expected: Өдөр, өнөөдөр, өөрөөсөө
66
+ - source: Puujin, aparat
67
+ expected: Пуужин, апарат
68
+ - source: Rashaan, radio, sar
69
+ expected: Рашаан, радио, сар
70
+ - source: Sar, asar, etses
71
+ expected: Сар, асар, эцэс
72
+ - source: Tamga, tatlaga
73
+ expected: Тамга, татлага
74
+ - source: Uran, nuruu
75
+ expected: Уран, нуруу
76
+ - source: Ünen, türgen, tergüün
77
+ expected: Үнэн, түргэн, тэргүүн
78
+ - source: Foto, fond
79
+ expected: Фото, фонд
80
+ - source: Khavar, nökhör, ekh
81
+ expected: Хавар, нөхөр, эх
82
+ - source: Tsatsag, tsetseg
83
+ expected: Цацаг, цэцэг
84
+ - source: Chimeg, chadal, ach
85
+ expected: Чимэг, чадал, ач
86
+ - source: Shashin, aash
87
+ expected: Шашин, ааш
88
+ - source: Shyedrin, shors
89
+ expected: Шедрин, шорс # Correct expectation: Щедрин, щорс - Hard transliteration required for щ usage
90
+ - source: Oriyo, suriya, gariya
91
+ expected: Ориё, сурия, гария # Correct expectation: Оръё, суръя, гаръя - Hard transliteration required for ъ
92
+ - source: Khaany, akhyn
93
+ expected: Хааны, ахын
94
+ - source: Khari, bari
95
+ expected: Хари, бари # Correct expectation: Харь, барь - Hard transliteration required for ь
96
+ - source: Ezen, ene, emeel
97
+ expected: Эзэн, энэ, эмээл
98
+ - source: Yum, yuüden
99
+ expected: Юм, юүдэн
100
+ - source: Yamar, yaduu, aya
101
+ expected: Ямар, ядуу, ая
102
+ - source: ii, ia, ua, ai, ei, oi, üi, Ii, Ai, Ei, Oi, Üi
103
+ expected: ий, иа, уа, ай, эй, ой, үй, Ий, Ай, Эй, Ой, Үй
104
+ - source: uu, üü, yuu, yuü
105
+ expected: уу, үү, юу, юү
106
+
107
+ map:
108
+ rules:
109
+ - pattern: "ii"
110
+ result: "\u0438\u0439"
111
+ - pattern: "Ii"
112
+ result: "\u0418\u0439"
113
+ - pattern: "ai"
114
+ result: "\u0430\u0439"
115
+ - pattern: "Ai"
116
+ result: "\u0410\u0439"
117
+ - pattern: "ei"
118
+ result: "\u044d\u0439"
119
+ - pattern: "Ei"
120
+ result: "\u042d\u0439"
121
+ - pattern: "oi"
122
+ result: "\u043e\u0439"
123
+ - pattern: "Oi"
124
+ result: "\u041e\u0439"
125
+ - pattern: "üi"
126
+ result: "\u04af\u0439"
127
+ - pattern: "Üi"
128
+ result: "\u04ae\u0439"
129
+
130
+ characters:
131
+ "A": "А" # \u0410
132
+ "B": "Б" # \u0411
133
+ "V": "В" # \u0412
134
+ "G": "Г" # \u0413
135
+ "D": "Д" # \u0414
136
+ "Ye": "Е" # \u0415
137
+ "Yo": "Ё" # \u0401
138
+ "J": "Ж" # \u0416
139
+ "Z": "З" # \u0417
140
+ "I": "Й" # \u0419
141
+ "K": "К" # \u041a
142
+ "L": "Л" # \u041b
143
+ "M": "М" # \u041c
144
+ "N": "Н" # \u041d
145
+ "O": "О" # \u041e
146
+ "Ö": "Ө" # \u04e8
147
+ "P": "П" # \u041f
148
+ "R": "Р" # \u0420
149
+ "S": "С" # \u0421
150
+ "T": "Т" # \u0422
151
+ "U": "У" # \u0423
152
+ "Ü": "Ү" # \u04ae
153
+ "F": "Ф" # \u0424
154
+ "Kh": "Х" # \u0425
155
+ "Ts": "Ц" # \u0426
156
+ "Ch": "Ч" # \u0427
157
+ "Sh": "Щ" # \u0429
158
+ "Sh": "Ш" # \u0428
159
+ "I": "Ъ" # \u042a
160
+ "Y": "Ы" # \u042b
161
+ "I": "Ь" # \u042c
162
+ "I": "И" # \u0418
163
+ "E": "Э" # \u042d
164
+ "Yu": "Ю" # \u042e
165
+ "Ya": "Я" # \u042f
166
+ "a": "а" # \u0430
167
+ "b": "б" # \u0431
168
+ "v": "в" # \u0432
169
+ "g": "г" # \u0433
170
+ "d": "д" # \u0434
171
+ "ye": "е" # \u0435
172
+ "yo": "ё" # \u0451
173
+ "j": "ж" # \u0436
174
+ "z": "з" # \u0437
175
+ "i": "й" # \u0439
176
+ "k": "к" # \u043a
177
+ "l": "л" # \u043b
178
+ "m": "м" # \u043c
179
+ "n": "н" # \u043d
180
+ "o": "о" # \u043e
181
+ "ö": "ө" # \u04e9
182
+ "p": "п" # \u043f
183
+ "r": "р" # \u0440
184
+ "s": "с" # \u0441
185
+ "t": "т" # \u0442
186
+ "u": "у" # \u0443
187
+ "ü": "ү" # \u04af
188
+ "f": "ф" # \u0444
189
+ "kh": "х" # \u0445
190
+ "ts": "ц" # \u0446
191
+ "ch": "ч" # \u0447
192
+ "sh": "щ" # \u0449
193
+ "sh": "ш" # \u0448
194
+ "i": "ъ" # \u044a
195
+ "y": "ы" # \u044b
196
+ "i": "ь" # \u044c
197
+ "i": "и" # \u0438
198
+ "e": "э" # \u044d
199
+ "yu": "ю" # \u044e
200
+ "ya": "я" # \u044f