interscript-maps 2.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (291) hide show
  1. checksums.yaml +7 -0
  2. data/README.adoc +28 -0
  3. data/interscript-maps.gemspec +28 -0
  4. data/interscript-maps.yaml +235 -0
  5. data/libs/posix.iml +11 -0
  6. data/libs/unicode.iml +13 -0
  7. data/libs/var-Cyrl.iml +7 -0
  8. data/libs/var-kor.iml +17 -0
  9. data/maps-staging/royin-tha-Thai-Latn-1939-generic.imp +98 -0
  10. data/maps-staging/royin-tha-Thai-Latn-1968.imp +156 -0
  11. data/maps-staging/royin-tha-Thai-Latn-1999-chained.imp +161 -0
  12. data/maps-staging/royin-tha-Thai-Latn-1999.imp +78 -0
  13. data/maps-staging/var-tha-Thai-Thai-phonemic.imp +53 -0
  14. data/maps-staging/var-tha-Thai-Zsym-ipa.imp +273 -0
  15. data/maps/acadsin-zho-Hani-Latn-2002.imp +27515 -0
  16. data/maps/alalc-amh-Ethi-Latn-1997.imp +392 -0
  17. data/maps/alalc-amh-Ethi-Latn-2011.imp +85 -0
  18. data/maps/alalc-ara-Arab-Latn-1997.imp +1171 -0
  19. data/maps/alalc-asm-Deva-Latn-1997.imp +214 -0
  20. data/maps/alalc-asm-Deva-Latn-2012.imp +53 -0
  21. data/maps/alalc-aze-Arab-Latn-1997.imp +321 -0
  22. data/maps/alalc-aze-Cyrl-Latn-1997.imp +101 -0
  23. data/maps/alalc-bel-Cyrl-Latn-1997.imp +118 -0
  24. data/maps/alalc-ben-Beng-Latn-1997.imp +225 -0
  25. data/maps/alalc-ben-Beng-Latn-2017.imp +135 -0
  26. data/maps/alalc-bul-Cyrl-Latn-1997.imp +110 -0
  27. data/maps/alalc-div-Thaa-Latn-1997.imp +171 -0
  28. data/maps/alalc-ell-Grek-Latn-1997.imp +381 -0
  29. data/maps/alalc-ell-Grek-Latn-2010.imp +382 -0
  30. data/maps/alalc-guj-Gujr-Latn-1997.imp +223 -0
  31. data/maps/alalc-guj-Gujr-Latn-2011.imp +57 -0
  32. data/maps/alalc-hin-Deva-Latn-1997.imp +248 -0
  33. data/maps/alalc-hin-Deva-Latn-2011.imp +63 -0
  34. data/maps/alalc-kan-Kana-Latn-1997.imp +233 -0
  35. data/maps/alalc-kan-Kana-Latn-2011.imp +58 -0
  36. data/maps/alalc-kat-Geok-Latn-1997.imp +109 -0
  37. data/maps/alalc-kat-Geor-Latn-1997.imp +104 -0
  38. data/maps/alalc-kor-Hang-Latn-1997.imp +68 -0
  39. data/maps/alalc-mal-Mlym-Latn-1997.imp +260 -0
  40. data/maps/alalc-mal-Mlym-Latn-2012.imp +65 -0
  41. data/maps/alalc-mar-Deva-Latn-1997.imp +178 -0
  42. data/maps/alalc-mar-Deva-Latn-2011.imp +51 -0
  43. data/maps/alalc-mkd-Cyrl-Latn-1997.imp +125 -0
  44. data/maps/alalc-mkd-Cyrl-Latn-2013.imp +113 -0
  45. data/maps/alalc-mon-Cyrl-Latn-1997.imp +161 -0
  46. data/maps/alalc-ori-Orya-Latn-1997.imp +234 -0
  47. data/maps/alalc-ori-Orya-Latn-2011.imp +59 -0
  48. data/maps/alalc-pan-Guru-Latn-1997.imp +241 -0
  49. data/maps/alalc-pan-Guru-Latn-2011.imp +71 -0
  50. data/maps/alalc-per-Arab-Latn-1997.imp +318 -0
  51. data/maps/alalc-pli-Deva-Latn-2012.imp +140 -0
  52. data/maps/alalc-pra-Deva-Latn-2012.imp +52 -0
  53. data/maps/alalc-rus-Cyrl-Latn-1997.imp +165 -0
  54. data/maps/alalc-rus-Cyrl-Latn-2012.imp +107 -0
  55. data/maps/alalc-san-Deva-Latn-2012.imp +207 -0
  56. data/maps/alalc-sin-Sinh-Latn-1997.imp +246 -0
  57. data/maps/alalc-sin-Sinh-Latn-2011.imp +63 -0
  58. data/maps/alalc-srp-Cyrl-Latn-1997.imp +124 -0
  59. data/maps/alalc-srp-Cyrl-Latn-2013.imp +115 -0
  60. data/maps/alalc-tam-Taml-Latn-1997.imp +52 -0
  61. data/maps/alalc-tam-Taml-Latn-2011.imp +49 -0
  62. data/maps/alalc-tel-Telu-Latn-1997.imp +237 -0
  63. data/maps/alalc-tel-Telu-Latn-2011.imp +58 -0
  64. data/maps/alalc-ukr-Cyrl-Latn-1997.imp +123 -0
  65. data/maps/alalc-ukr-Cyrl-Latn-2011.imp +32 -0
  66. data/maps/apcbg-bul-Cyrl-Latn-1995.imp +194 -0
  67. data/maps/az-aze-Cyrl-Latn-1939.imp +105 -0
  68. data/maps/az-aze-Cyrl-Latn-1958.imp +50 -0
  69. data/maps/bas-rus-Cyrl-Latn-2017-bss.imp +160 -0
  70. data/maps/bas-rus-Cyrl-Latn-2017-oss.imp +165 -0
  71. data/maps/bgn-jpn-Hrkt-Latn-1962.imp +288 -0
  72. data/maps/bgn-kor-Hang-Latn-1943.imp +31 -0
  73. data/maps/bgn-kor-Kore-Latn-1943.imp +33 -0
  74. data/maps/bgna-bul-Cyrl-Latn-2006.imp +119 -0
  75. data/maps/bgna-bul-Cyrl-Latn-2009.imp +119 -0
  76. data/maps/bgnpcgn-amh-Ethi-Latn-1967.imp +393 -0
  77. data/maps/bgnpcgn-ara-Arab-Latn-1956.imp +472 -0
  78. data/maps/bgnpcgn-arm-Armn-Latn-1981.imp +125 -0
  79. data/maps/bgnpcgn-aze-Cyrl-Latn-1993.imp +111 -0
  80. data/maps/bgnpcgn-bak-Cyrl-Latn-2007.imp +169 -0
  81. data/maps/bgnpcgn-bal-Arab-Latn-2008.imp +296 -0
  82. data/maps/bgnpcgn-bel-Cyrl-Latn-1979.imp +200 -0
  83. data/maps/bgnpcgn-bul-Cyrl-Latn-1952.imp +137 -0
  84. data/maps/bgnpcgn-bul-Cyrl-Latn-2013.imp +38 -0
  85. data/maps/bgnpcgn-che-Cyrl-Latn-2008.imp +176 -0
  86. data/maps/bgnpcgn-deu-Latn-Latn-2000.imp +56 -0
  87. data/maps/bgnpcgn-div-Thaa-Latn-1972.imp +90 -0
  88. data/maps/bgnpcgn-div-Thaa-Latn-1988.imp +71 -0
  89. data/maps/bgnpcgn-ell-Grek-Latn-1962.imp +443 -0
  90. data/maps/bgnpcgn-ell-Grek-Latn-1996.imp +269 -0
  91. data/maps/bgnpcgn-fao-Latn-Latn-1964.imp +41 -0
  92. data/maps/bgnpcgn-fao-Latn-Latn-1968.imp +28 -0
  93. data/maps/bgnpcgn-fas-Arab-Latn-1956.imp +111 -0
  94. data/maps/bgnpcgn-isl-Latn-Latn-1964.imp +42 -0
  95. data/maps/bgnpcgn-isl-Latn-Latn-1968.imp +32 -0
  96. data/maps/bgnpcgn-jpn-Hrkt-Latn-1976.imp +191 -0
  97. data/maps/bgnpcgn-kat-Geor-Latn-1981.imp +116 -0
  98. data/maps/bgnpcgn-kat-Geor-Latn-2009.imp +43 -0
  99. data/maps/bgnpcgn-kaz-Cyrl-Latn-1979.imp +193 -0
  100. data/maps/bgnpcgn-kir-Cyrl-Latn-1979.imp +170 -0
  101. data/maps/bgnpcgn-kor-Hang-Latn-kn-1945.imp +177 -0
  102. data/maps/bgnpcgn-kor-Hang-Latn-rok-2011.imp +40 -0
  103. data/maps/bgnpcgn-kor-Kore-Latn-rok-2011.imp +41 -0
  104. data/maps/bgnpcgn-kur-Arab-Latn-2007.imp +240 -0
  105. data/maps/bgnpcgn-mkd-Cyrl-Latn-1981.imp +132 -0
  106. data/maps/bgnpcgn-mkd-Cyrl-Latn-2013.imp +174 -0
  107. data/maps/bgnpcgn-mon-Cyrl-Latn-1964.imp +168 -0
  108. data/maps/bgnpcgn-nep-Deva-Latn-2011.imp +208 -0
  109. data/maps/bgnpcgn-per-Arab-Latn-1958.imp +312 -0
  110. data/maps/bgnpcgn-prs-Arab-Latn-2007.imp +552 -0
  111. data/maps/bgnpcgn-prs-Arab-Latn-yaghoubi.imp +445 -0
  112. data/maps/bgnpcgn-pus-Arab-Latn-1968.imp +289 -0
  113. data/maps/bgnpcgn-ron-cyrl-latn-2002.imp +165 -0
  114. data/maps/bgnpcgn-rue-Cyrl-Latn-2016.imp +133 -0
  115. data/maps/bgnpcgn-rus-Cyrl-Latn-1947.imp +195 -0
  116. data/maps/bgnpcgn-sme-Latn-Latn-1984.imp +48 -0
  117. data/maps/bgnpcgn-srp-Cyrl-Latn-1962.imp +55 -0
  118. data/maps/bgnpcgn-srp-Cyrl-Latn-2005.imp +146 -0
  119. data/maps/bgnpcgn-tat-Cyrl-Latn-2007.imp +185 -0
  120. data/maps/bgnpcgn-tgk-Cyrl-Latn-1994.imp +188 -0
  121. data/maps/bgnpcgn-ukr-Cyrl-Latn-1965.imp +136 -0
  122. data/maps/bgnpcgn-ukr-Cyrl-Latn-2019.imp +88 -0
  123. data/maps/bgnpcgn-urd-Arab-Latn-2007.imp +333 -0
  124. data/maps/bgnpcgn-uzb-Cyrl-Latn-1979.imp +145 -0
  125. data/maps/bgnpcgn-uzb-Cyrl-Latn-2000.imp +74 -0
  126. data/maps/bgnpcgn-zho-Hans-Latn-1979.imp +7463 -0
  127. data/maps/bis-asm-Beng-Latn-13194-1991.imp +154 -0
  128. data/maps/bis-ben-Beng-Latn-13194-1991.imp +151 -0
  129. data/maps/bis-dev-Deva-Latn-13194-1991.imp +178 -0
  130. data/maps/bis-guj-Gujr-Latn-13194-1991.imp +172 -0
  131. data/maps/bis-kan-Kana-Latn-13194-1991.imp +166 -0
  132. data/maps/bis-mlm-Mlym-Latn-13194-1991.imp +170 -0
  133. data/maps/bis-ori-Orya-Latn-13194-1991.imp +168 -0
  134. data/maps/bis-pnj-Guru-Latn-13194-1991.imp +169 -0
  135. data/maps/bis-tel-Telu-Latn-13194-1991.imp +165 -0
  136. data/maps/bis-tml-Taml-Latn-13194-1991.imp +149 -0
  137. data/maps/by-bel-Cyrl-Latn-1998.imp +123 -0
  138. data/maps/by-bel-Cyrl-Latn-2007.imp +77 -0
  139. data/maps/din-grc-Grek-Latn-31634-2011-t1.imp +627 -0
  140. data/maps/din-hin-Deva-Latn-33904-2018.imp +101 -0
  141. data/maps/din-kat-Geor-Latn-32707-2010.imp +103 -0
  142. data/maps/din-mar-Deva-Latn-33904-2018.imp +83 -0
  143. data/maps/din-nep-Deva-Latn-33904-2018.imp +110 -0
  144. data/maps/din-pli-Deva-Latn-33904-2018.imp +72 -0
  145. data/maps/din-pra-Deva-Latn-33904-2018.imp +66 -0
  146. data/maps/din-san-Deva-Latn-33904-2018.imp +294 -0
  147. data/maps/din-tam-Taml-Latn-33903-2016.imp +187 -0
  148. data/maps/dos-nep-Deva-Latn-1997.imp +47 -0
  149. data/maps/elot-ell-Grek-Latn-743-1982-tl.imp +399 -0
  150. data/maps/elot-ell-Grek-Latn-743-1982-ts.imp +397 -0
  151. data/maps/elot-ell-Grek-Latn-743-2001-tl.imp +34 -0
  152. data/maps/elot-ell-Grek-Latn-743-2001-ts.imp +178 -0
  153. data/maps/ggg-kat-Geor-Latn-2002.imp +75 -0
  154. data/maps/gki-bel-Cyrl-Latn-1992.imp +44 -0
  155. data/maps/gki-bel-Cyrl-Latn-2000.imp +159 -0
  156. data/maps/gost-rus-Cyrl-Latn-16876-71-1983.imp +179 -0
  157. data/maps/gost-rus-Cyrl-Latn-7.79-2000-2002.imp +132 -0
  158. data/maps/hk-yue-Hani-Latn-1888.imp +29201 -0
  159. data/maps/icao-bel-Cyrl-Latn-9303.imp +136 -0
  160. data/maps/icao-bul-Cyrl-Latn-9303.imp +127 -0
  161. data/maps/icao-fas-Arab-Latn-9303.imp +112 -0
  162. data/maps/icao-heb-Hebr-Latn-9303.imp +160 -0
  163. data/maps/icao-mkd-Cyrl-Latn-9303.imp +126 -0
  164. data/maps/icao-rus-Cyrl-Latn-9303.imp +126 -0
  165. data/maps/icao-srp-Cyrl-Latn-9303.imp +126 -0
  166. data/maps/icao-ukr-Cyrl-Latn-9303.imp +127 -0
  167. data/maps/iso-ara-Arab-Latn-233-1984.imp +301 -0
  168. data/maps/iso-asm-Beng-Latn-15919-2001.imp +73 -0
  169. data/maps/iso-ben-Beng-Latn-15919-2001.imp +171 -0
  170. data/maps/iso-ell-Grek-Latn-843-1997-t1.imp +365 -0
  171. data/maps/iso-ell-Grek-Latn-843-1997-t2.imp +43 -0
  172. data/maps/iso-guj-Gujr-Latn-15919-2001.imp +214 -0
  173. data/maps/iso-hin-Deva-Latn-15919-2001.imp +73 -0
  174. data/maps/iso-inc-Deva-Latn-15919-2001.imp +61 -0
  175. data/maps/iso-jpn-Hrkt-Latn-3602-1989.imp +59 -0
  176. data/maps/iso-kan-Kana-Latn-15919-2001.imp +212 -0
  177. data/maps/iso-kat-Geor-Latn-9984-1996.imp +103 -0
  178. data/maps/iso-kor-Hang-Latn-1996-method1.imp +140 -0
  179. data/maps/iso-kor-Hang-Latn-1996-method2.imp +132 -0
  180. data/maps/iso-mal-Mlym-Latn-15919-2001.imp +276 -0
  181. data/maps/iso-mar-Deva-Latn-15919-2001.imp +68 -0
  182. data/maps/iso-nep-Deva-Latn-15919-2001.imp +75 -0
  183. data/maps/iso-ori-Orya-Latn-15919-2001.imp +188 -0
  184. data/maps/iso-pan-Guru-Latn-15919-2001.imp +217 -0
  185. data/maps/iso-pli-Beng-Latn-15919-2001.imp +66 -0
  186. data/maps/iso-pli-Deva-Latn-15919-2001.imp +68 -0
  187. data/maps/iso-pli-Sinh-Latn-15919-2001.imp +211 -0
  188. data/maps/iso-pli-Thai-Latn-15919-2001.imp +47 -0
  189. data/maps/iso-pra-Deva-Latn-15919-2001.imp +60 -0
  190. data/maps/iso-prs-Arab-Latn-233-3-1999.imp +352 -0
  191. data/maps/iso-rus-Cyrl-Latn-9-1995.imp +279 -0
  192. data/maps/iso-san-Deva-Latn-15919-2001.imp +215 -0
  193. data/maps/iso-tam-Taml-Latn-15919-2001.imp +153 -0
  194. data/maps/iso-tel-Telu-Latn-15919-2001.imp +214 -0
  195. data/maps/iso-tha-Thai-Latn-11940-1998.imp +114 -0
  196. data/maps/kp-kor-Hang-Latn-2002.imp +540 -0
  197. data/maps/lshk-yue-Hani-Latn-jyutping-1993.imp +29005 -0
  198. data/maps/masm-mon-Cyrl-Latn-5217-2012.imp +136 -0
  199. data/maps/masm-mon-Latn-Cyrl-5217-2012.imp +162 -0
  200. data/maps/mext-jpn-Hrkt-Latn-1954.imp +403 -0
  201. data/maps/moct-kor-Hang-Latn-2000.imp +475 -0
  202. data/maps/mofa-jpn-Hrkt-Latn-1989.imp +484 -0
  203. data/maps/mv-div-Thaa-Latn-1987.imp +144 -0
  204. data/maps/mvd-bel-Cyrl-Latn-2008.imp +224 -0
  205. data/maps/mvd-bel-Cyrl-Latn-2010.imp +64 -0
  206. data/maps/mvd-rus-Cyrl-Latn-2008.imp +110 -0
  207. data/maps/mvd-rus-Cyrl-Latn-2010.imp +40 -0
  208. data/maps/odni-ara-Arab-Latn-2004.imp +106 -0
  209. data/maps/odni-ara-Arab-Latn-2015.imp +281 -0
  210. data/maps/odni-aze-Cyrl-Latn-2015.imp +158 -0
  211. data/maps/odni-bel-Cyrl-Latn-2015.imp +138 -0
  212. data/maps/odni-bul-Cyrl-Latn-2005.imp +90 -0
  213. data/maps/odni-bul-Cyrl-Latn-2015.imp +103 -0
  214. data/maps/odni-che-Cyrl-Latn-2015.imp +165 -0
  215. data/maps/odni-fas-Arab-Latn-2004.imp +268 -0
  216. data/maps/odni-fas-Arab-Latn-2015.imp +398 -0
  217. data/maps/odni-hin-Deva-Latn-2004.imp +180 -0
  218. data/maps/odni-hin-Deva-Latn-2015.imp +256 -0
  219. data/maps/odni-kat-Geor-Latn-2015.imp +76 -0
  220. data/maps/odni-kaz-Cyrl-Latn-2015.imp +164 -0
  221. data/maps/odni-kir-Cyrl-Latn-2015.imp +149 -0
  222. data/maps/odni-kor-Hang-Latn-2015.imp +307 -0
  223. data/maps/odni-mkd-Cyrl-Latn-2005.imp +28 -0
  224. data/maps/odni-mkd-Cyrl-Latn-2015.imp +124 -0
  225. data/maps/odni-prs-Arab-Latn-2004.imp +120 -0
  226. data/maps/odni-prs-Arab-Latn-2015.imp +225 -0
  227. data/maps/odni-pus-Arab-Latn-2011.imp +327 -0
  228. data/maps/odni-rus-Cyrl-Latn-2015.imp +79 -0
  229. data/maps/odni-srp-Cyrl-Latn-2005.imp +35 -0
  230. data/maps/odni-srp-Cyrl-Latn-2015.imp +130 -0
  231. data/maps/odni-tat-Cyrl-Latn-2015.imp +157 -0
  232. data/maps/odni-tgk-Cyrl-Latn-2015.imp +161 -0
  233. data/maps/odni-tuk-Cyrl-Latn-2015.imp +159 -0
  234. data/maps/odni-uig-Cyrl-Latn-2015.imp +151 -0
  235. data/maps/odni-ukr-Cyrl-Latn-2015.imp +136 -0
  236. data/maps/odni-urd-Arab-Latn-2015.imp +220 -0
  237. data/maps/odni-uzb-Cyrl-Latn-2015.imp +165 -0
  238. data/maps/sac-zho-Hans-Latn-1979.imp +20940 -0
  239. data/maps/sasm-mon-Mong-Latn-general-1978.imp +294 -0
  240. data/maps/sasm-mon-Mong-Latn-phonetic-1978.imp +261 -0
  241. data/maps/ses-ara-Arab-Latn-1930.imp +225 -0
  242. data/maps/stategeocadastre-ukr-Cyrl-Latn-1993.imp +171 -0
  243. data/maps/ua-ukr-Cyrl-Latn-1996.imp +149 -0
  244. data/maps/ua-ukr-Cyrl-Latn-2007.imp +69 -0
  245. data/maps/ua-ukr-Cyrl-Latn-2010.imp +128 -0
  246. data/maps/un-amh-Ethi-Latn-2016.imp +483 -0
  247. data/maps/un-ara-Arab-Latn-1971.imp +137 -0
  248. data/maps/un-ara-Arab-Latn-1972.imp +155 -0
  249. data/maps/un-ara-Arab-Latn-2017.imp +375 -0
  250. data/maps/un-asm-Beng-Latn-1972.imp +188 -0
  251. data/maps/un-bel-Cyrl-Latn-2007.imp +78 -0
  252. data/maps/un-ben-Beng-Latn-2016.imp +516 -0
  253. data/maps/un-ell-Grek-Latn-1987-phonetic.imp +437 -0
  254. data/maps/un-ell-Grek-Latn-1987-tl.imp +27 -0
  255. data/maps/un-ell-Grek-Latn-1987-ts.imp +269 -0
  256. data/maps/un-guj-Gujr-Latn-1972.imp +196 -0
  257. data/maps/un-hin-Deva-Latn-2016.imp +356 -0
  258. data/maps/un-kan-Kana-Latn-2016.imp +214 -0
  259. data/maps/un-mal-Mlym-Latn-1972.imp +215 -0
  260. data/maps/un-mar-Deva-Latn-2016.imp +96 -0
  261. data/maps/un-mon-Mong-Latn-general-2013.imp +170 -0
  262. data/maps/un-mon-Mong-Latn-phonetic-2013.imp +170 -0
  263. data/maps/un-nep-Deva-Latn-1972.imp +295 -0
  264. data/maps/un-nep-Deva-Latn-2013.imp +62 -0
  265. data/maps/un-ori-Orya-Latn-1972.imp +208 -0
  266. data/maps/un-pan-Guru-Latn-1972.imp +321 -0
  267. data/maps/un-prs-Arab-Latn-1967.imp +214 -0
  268. data/maps/un-rus-Cyrl-Latn-1987.imp +96 -0
  269. data/maps/un-sin-Sinh-Latn-1972.imp +193 -0
  270. data/maps/un-tam-Taml-Latn-1972.imp +173 -0
  271. data/maps/un-tel-Telu-Latn-1972.imp +229 -0
  272. data/maps/un-ukr-Cyrl-Latn-1998.imp +58 -0
  273. data/maps/un-ukr-Cyrl-Latn-2012.imp +95 -0
  274. data/maps/un-urd-Arab-Latn-1972.imp +290 -0
  275. data/maps/var-amh-Ethi-Latn-eae-2003.imp +414 -0
  276. data/maps/var-gez-Ethi-Latn-eae-2003.imp +54 -0
  277. data/maps/var-hin-Deva-Latn-hunterian-1872.imp +212 -0
  278. data/maps/var-jpn-Hrkt-Latn-hepburn-1886.imp +399 -0
  279. data/maps/var-jpn-Hrkt-Latn-hepburn-1954.imp +382 -0
  280. data/maps/var-kor-Hang-Hang-jamo.imp +11196 -0
  281. data/maps/var-kor-Hang-Latn-mr-1939.imp +574 -0
  282. data/maps/var-kor-Kore-Hang-2013.imp +59764 -0
  283. data/maps/var-kor-Kore-Latn-mr-1939.imp +36 -0
  284. data/maps/var-mar-Deva-Latn-hunterian-1872.imp +39 -0
  285. data/maps/var-mon-Mong-Latn-1930.imp +101 -0
  286. data/maps/var-mon-Mong-Latn-lessing.imp +181 -0
  287. data/maps/var-mon-Mong-Latn-vpmc.imp +182 -0
  288. data/maps/var-pra-Deva-Latn-iast-1912.imp +36 -0
  289. data/maps/var-san-Deva-Latn-iast-1912.imp +147 -0
  290. data/maps/var-zho-Hani-Latn-wd-1979.imp +27549 -0
  291. metadata +335 -0
@@ -0,0 +1,137 @@
1
+ metadata {
2
+ authority_id: ungegn
3
+ id: 1971
4
+ language: iso-639-2:ara
5
+ source_script: Arab
6
+ destination_script: Latn
7
+ name: 1971 "Beirut system"
8
+ url: https://unstats.un.org/unsd/geoinfo/UNGEGN/docs/2nd-uncsgn-docs/E_Conf61_4_Add1_e.pdf
9
+ creation_date: 1971
10
+ confirmation_date: 2018-06
11
+ description: |
12
+ The current United Nations recommended romanization
13
+ system was approved in 2017 (resolution XI/3), based on
14
+ the system adopted by Arabic experts at the conference
15
+ held in Beirut in 2007, the Unified Arabic
16
+ Transliteration System, taking into account the
17
+ practical amendments and corrections carried out and
18
+ agreed upon by the representatives of the Arabic-
19
+ speaking countries at the Fourth Arab Conference on
20
+ Geographical Names, held in Beirut in 2008, and some
21
+ clarifications and amendments agreed in Riyadh in 20171.
22
+ Previously, the United Nations had approved a
23
+ romanization system in 1972 (resolution II/8), based on the
24
+ system adopted by Arabic experts at the conference
25
+ held at Beirut in 1971 with the practical amendments carried out
26
+ and agreed upon by the representatives of the Arabic-speaking
27
+ countries at their conference. The table was published in volume
28
+ II of the conference report.
29
+ In UN resolution XI/3 it is specifically stated that the
30
+ system was recommended for the “romanization of the
31
+ geographical names within those Arabic-speaking countries
32
+ where this system is officially adopted”. There is
33
+ evidence of its partial implementation in Jordan, Oman and
34
+ Saudi Arabia. The UNGEGN Working Group on Romanization
35
+ Systems intends to continue monitoring the UN system’s
36
+ implementation across Arabic-speaking countries.
37
+ In some countries there exist local romanization schemes
38
+ or practices. The geographical names of Algeria, Djibouti,
39
+ Mauritania, Morocco and Tunisia are generally rendered in
40
+ the traditional manner which conforms to the principles of
41
+ the French orthography.
42
+ The previous UN-approved system is still found in
43
+ considerable international usage.
44
+ Arabic is written from right to left. The Arabic script
45
+ usually omits vowel points and diacritical marks from
46
+ writing which makes it difficult to obtain uniform results
47
+ in the romanization of Arabic. It is essential to identify
48
+ correctly the words which appear in any particular name
49
+ and to know the standard Arabic-script spelling including
50
+ the relevant vowels. One must also take into account
51
+ dialectal and idiosyncratic deviations. The romanization
52
+ is generally reversible though there may be some ambiguous
53
+ letter sequences (dh, kh, sh, th) which may also point to
54
+ combinations of Arabic characters in addition to the
55
+ respective single characters.
56
+ notes:
57
+ - |
58
+ ث is t͟h (th with sub marcon)
59
+ خ is k͟h (kh with sub marcon)
60
+ ذ is d͟h (dh with sub marcon)
61
+ ش is s͟h (sh with sub marcon)
62
+ ظ is z͟h (zh with sub marcon)
63
+ غ is g͟h (gh witg sub marcon)
64
+ The previous UN 1972 System had the following differences:
65
+ the character (ظ) was romanized as z̧ instead of d͟h;
66
+ the cedilla (¸) was used instead of sub-macron (_) in all characters with sub-macrons. - |
67
+ }
68
+
69
+ tests {
70
+ # Examples taken from:
71
+ # https://unstats.un.org/unsd/geoinfo/UNGEGN/docs/2nd-uncsgn-docs/E_Conf61_4_Add1_e.pdf
72
+ # page 31 (38 digital)
73
+ test "خَيبَر", "K͟haybar"
74
+ test "ظَهران", "Z͟hahrān"
75
+ test "القُدس", "Al Quds"
76
+ test "شَرم الشَيْخ", "S͟harm as͟h S͟hayk͟h"
77
+ }
78
+
79
+ dependency "un-ara-Arab-Latn-2017", as: arablatn
80
+
81
+ stage {
82
+
83
+
84
+ # CHARACTERS
85
+ parallel {
86
+
87
+ # sun letters
88
+ sub boundary + "\u0627\u0644\u062b", "at͟h t͟h" # الث
89
+ sub boundary + "\u0627\u0644\u0630", "ad͟h d͟h" # الذ
90
+ sub boundary + "\u0627\u0644\u0634", "as͟h s͟h" # الش
91
+ sub boundary + "\u0627\u0644\u0638", "az͟h z͟h" # الظ
92
+
93
+ # shadda
94
+ sub "\u062e\u0651", "k͟hk͟h" # خ
95
+ sub "\u0630\u0651", "d͟hd͟h" # ذ
96
+ sub "\u0634\u0651", "s͟h" # ش
97
+ sub "\u0638\u0651", "z͟hz͟h" # ظ
98
+ sub "\u063a\u0651", "g͟hg͟h" # غ
99
+
100
+ sub "\u062b", "t͟h" # ث
101
+ sub "\ufe9b", "t͟h" # ﺛ
102
+ sub "\ufe9c", "t͟h" # ﺜ
103
+ sub "\ufe9a", "t͟h" # ﺚ
104
+
105
+ sub "\u062e", "k͟h" # خ
106
+ sub "\ufea7", "k͟h" # ﺧ
107
+ sub "\ufea8", "k͟h" # ﺨ
108
+ sub "\ufea6", "k͟h" # ﺦ
109
+
110
+ sub "\u063a", "g͟h" # غ
111
+ sub "\ufecf", "g͟h" # ﻏ
112
+ sub "\ufed0", "g͟h" # ﻐ
113
+ sub "\ufece", "g͟h" # ﻎ
114
+
115
+ sub "\u0630", "d͟h" # ذ
116
+ sub "\ufeac", "d͟h" # ﺬ
117
+
118
+ sub "\u0634", "s͟h" # ش
119
+ sub "\ufeb7", "s͟h" # ﺷ
120
+ sub "\ufeb8", "s͟h" # ﺸ
121
+ sub "\ufeb6", "s͟h" # ﺶ
122
+
123
+ sub "\u0638", "z͟h" # ظ
124
+ sub "\ufec7", "z͟h" # ﻇ
125
+ sub "\ufec8", "z͟h" # ﻈ
126
+ sub "\ufec6", "z͟h" # ﻆ
127
+ }
128
+
129
+ run map.arablatn.stage.main
130
+
131
+ # POSTRULES
132
+ sub " At͟h T͟h", " at͟h T͟h" # الث
133
+ sub " Ad͟h D͟h", " ad͟h D͟h" # الذ
134
+ sub " As͟h S͟h", " as͟h S͟h" # الش
135
+ sub " Az͟h Z͟h", " az͟h Z͟h" # الظ
136
+
137
+ }
@@ -0,0 +1,155 @@
1
+ metadata {
2
+ authority_id: ungegn
3
+ id: 1972
4
+ language: iso-639-2:ara
5
+ source_script: Arab
6
+ destination_script: Latn
7
+ name: ROMANIZATION OF ARABIC -- UNGEGN 1972 System
8
+ url: http://www.eki.ee/wgrs/obs_rom_vers/rom1_ar_v4_0.pdf
9
+ creation_date: 1972
10
+ confirmation_date: 2018-06
11
+ description: |
12
+ The United Nations recommended romanization
13
+ system was approved in 1972 (resolution II/8),
14
+ based on the system adopted by Arabic experts at
15
+ the conference held at Beirut in 1971 with the
16
+ practical amendments carried out and agreed upon
17
+ by the representatives of the Arabic-speaking
18
+ countries at their conference. The table was
19
+ published in volume II of the conference report1
20
+ . In the UN resolution it was specifically
21
+ pointed out that the system was recommended "for
22
+ the romanization of the geographical names within
23
+ those Arabic-speaking countries where this system
24
+ is officially acknowledged". It cannot be
25
+ definitely ascertained which of the
26
+ Arabicspeaking countries have adopted this system
27
+ officially, especially since 2007 when there are
28
+ efforts by the Arabic Division to promote a
29
+ modification of the UN system (ADEGN
30
+ romanization, see the section on other
31
+ romanization systems below), with varying
32
+ success2 . Judging by the use of names in
33
+ international cartographic products which rely
34
+ mostly on national sources it appears that the UN
35
+ system or its modification is more or less
36
+ current in Iraq, Kuwait, Libya, Saudi Arabia3 ,
37
+ United Arab Emirates and Yemen, there and in some
38
+ other countries the system is often used without
39
+ diacritical marks. For the geographical names of
40
+ the Syrian Arab Republic international maps
41
+ favour the UN system while the local usage seems
42
+ to prefer a French-oriented romanization. Also in
43
+ Egypt and Sudan there exist local romanization
44
+ schemes or practices side by side with the UN
45
+ system. The geographical names of Algeria,
46
+ Djibouti, Mauritania, Morocco and Tunisia are
47
+ generally rendered in the traditional manner
48
+ which conforms to the principles of the French
49
+ orthography. Resolution 7 of the Seventh UN
50
+ Conference on the Standardization of Geographical
51
+ Names (1998) recommended that "the League of Arab
52
+ States should, through its specialized
53
+ structures, continue its efforts to organize a
54
+ conference with a view to considering the
55
+ difficulties encountered in applying the amended
56
+ Beirut system of 1972 for the romanization of
57
+ Arabic script, and submit, as soon as possible, a
58
+ solution to the United Nations Group of Experts
59
+ on Geographical Names". At the Eighth UN
60
+ Conference on the Standardization of Geographical
61
+ Names (2002), the Arabic Division of the UN Group
62
+ of Experts announced that it had finalised
63
+ proposed modifications to the UN recommended
64
+ romanization system. These proposals would be
65
+ submitted to the League of Arab States for
66
+ approval. Arabic is written from right to left.
67
+ The Arabic script usually omits vowel points and
68
+ diacritical marks from writing which makes it
69
+ difficult to obtain uniform results in the
70
+ romanization of Arabic. It is essential to
71
+ identify correctly the words which appear in any
72
+ particular name and to know the standard Arabic-
73
+ script spelling including proper pointing. One
74
+ must also take into account dialectal and
75
+ idiosyncratic deviations. The romanization is
76
+ generally reversible though there are some
77
+ ambiguous letter sequences (dh, kh, sh, th) which
78
+ may also point to combinations of Arabic
79
+ characters in addition to the respective single
80
+ characters.
81
+ notes:
82
+ - |
83
+ The previous UN 1972 System had the following differences:
84
+ the character (ظ) was romanized as z̧ instead of d͟h;
85
+ ح, ص, ض the cedilla (¸) was used instead of sub-macron (_) in all characters with sub-macrons. - |
86
+ When the definite article al precedes a word beginning with one of the "sun letters" (t,
87
+ th, d, dh, r, z, s, sh, ş, ḑ, ţ, z, l, n ̧ ) the l of the definite article is assimilated with the first
88
+ consonant of the word: ash-Sh الشارقة āriqah.
89
+ }
90
+
91
+ tests {
92
+ # Examples taken from:
93
+ # https://unstats.un.org/unsd/geoinfo/geonames/
94
+ test "مِصر", "Mişr"
95
+ test "قَطَر", "Qaţar"
96
+ test "الجُمهُورِيَّة العِراقِيَّة", "Al Jumhūrīyah al ‘Irāqīyah"
97
+ test "جُمهُورِيَّة مِصر العَرَبِيَّة", "Jumhūrīyat Mişr al ‘Arabīyah"
98
+ test "الرِيَاض", "Ar Riyāḑ"
99
+ test "الشارِقة", "Ash Shāriqah"
100
+ }
101
+
102
+ dependency "un-ara-Arab-Latn-2017", as: arablatn
103
+
104
+ stage {
105
+
106
+
107
+ # CHARACTERS
108
+ parallel {
109
+
110
+ sub boundary + "\u0627\u0644\u0635", "aş ş" # الص
111
+ sub boundary + "\u0627\u0644\u0636", "aḑ ḑ" # الض
112
+ sub boundary + "\u0627\u0644\u0637", "aţ ţ" # الط
113
+
114
+ sub "\u062d\u0651", "ḩḩ" # ح
115
+ sub "\u0635\u0651", "şş" # ص
116
+ sub "\u0636\u0651", "ḑḑ" # ض
117
+ sub "\u0637\u0651", "ţţ" # ط
118
+ sub "\u0638\u0651", "z̧z̧" # ظ
119
+
120
+ sub "\u062d", "ḩ" # ح
121
+ sub "\ufea3", "ḩ" # ﺣ
122
+ sub "\ufea4", "ḩ" # ﺤ
123
+ sub "\ufea2", "ḩ" # ﺢ
124
+
125
+ sub "\u0635", "ş" # ص
126
+ sub "\ufebb", "ş" # ﺻ
127
+ sub "\ufebc", "ş" # ﺼ
128
+ sub "\ufeba", "ş" # ﺺ
129
+
130
+ sub "\u0636", "ḑ" # ض
131
+ sub "\ufebf", "ḑ" # ﺿ
132
+ sub "\ufec0", "ḑ" # ﻀ
133
+ sub "\ufebe", "ḑ" # ﺾ
134
+
135
+ sub "\u0637", "ţ" # ط
136
+ sub "\ufec3", "ţ" # ﻃ
137
+ sub "\ufec4", "ţ" # ﻄ
138
+ sub "\ufec2", "ţ" # ﻂ
139
+
140
+ sub "\u0638", "z̧" # ظ
141
+ sub "\ufec7", "z̧" # ﻇ
142
+ sub "\ufec8", "z̧" # ﻈ
143
+ sub "\ufec6", "z̧" # ﻆ
144
+ }
145
+
146
+ run map.arablatn.stage.main
147
+
148
+ # POSTRULES
149
+ sub " Aş Ş", " aş Ş" # الص
150
+ sub " Aḑ Ḑ", " aḑ Ḑ" # الض
151
+ sub " Aţ Ţ", " aţ Ţ" # الط
152
+
153
+ compose
154
+
155
+ }
@@ -0,0 +1,375 @@
1
+ metadata {
2
+ authority_id: ungegn
3
+ id: 2017
4
+ language: iso-639-2:ara
5
+ source_script: Arab
6
+ destination_script: Latn
7
+ name: ROMANIZATION OF ARABIC -- UNGEGN 2017 System
8
+ url: http://www.eki.ee/wgrs/rom1_ar.pdf
9
+ creation_date: 2017
10
+ confirmation_date: 2018-06
11
+ description: |
12
+ The current United Nations recommended romanization
13
+ system was approved in 2017 (resolution XI/3), based on
14
+ the system adopted by Arabic experts at the conference
15
+ held in Beirut in 2007, the Unified Arabic
16
+ Transliteration System, taking into account the
17
+ practical amendments and corrections carried out and
18
+ agreed upon by the representatives of the Arabic-
19
+ speaking countries at the Fourth Arab Conference on
20
+ Geographical Names, held in Beirut in 2008, and some
21
+ clarifications and amendments agreed in Riyadh in 20171.
22
+ Previously, the United Nations had approved a
23
+ romanization system in 1972 (resolution II/8), based on the
24
+ system adopted by Arabic experts at the conference
25
+ held at Beirut in 1971 with the practical amendments carried out
26
+ and agreed upon by the representatives of the Arabic-speaking
27
+ countries at their conference. The table was published in volume
28
+ II of the conference report.
29
+ In UN resolution XI/3 it is specifically stated that the
30
+ system was recommended for the “romanization of the
31
+ geographical names within those Arabic-speaking countries
32
+ where this system is officially adopted”. There is
33
+ evidence of its partial implementation in Jordan, Oman and
34
+ Saudi Arabia. The UNGEGN Working Group on Romanization
35
+ Systems intends to continue monitoring the UN system’s
36
+ implementation across Arabic-speaking countries.
37
+ In some countries there exist local romanization schemes
38
+ or practices. The geographical names of Algeria, Djibouti,
39
+ Mauritania, Morocco and Tunisia are generally rendered in
40
+ the traditional manner which conforms to the principles of
41
+ the French orthography.
42
+ The previous UN-approved system is still found in
43
+ considerable international usage.
44
+ Arabic is written from right to left. The Arabic script
45
+ usually omits vowel points and diacritical marks from
46
+ writing which makes it difficult to obtain uniform results
47
+ in the romanization of Arabic. It is essential to identify
48
+ correctly the words which appear in any particular name
49
+ and to know the standard Arabic-script spelling including
50
+ the relevant vowels. One must also take into account
51
+ dialectal and idiosyncratic deviations. The romanization
52
+ is generally reversible though there may be some ambiguous
53
+ letter sequences (dh, kh, sh, th) which may also point to
54
+ combinations of Arabic characters in addition to the
55
+ respective single characters.
56
+ notes:
57
+ - |
58
+ When the definite article al precedes a word beginning with
59
+ one of the "sun letters" (t, th, d, dh, r, z, s, sh, s̱, ḏ, ṯ,
60
+ d͟h, l, n) the l of the definite article is assimilated with
61
+ the first consonant of the word: الشارقة Ash Shāriqah.
62
+ - |
63
+ The definite article is always written with a capital
64
+ initial: الزيتون Az Zaytūn, البلد Al Balad, منية الضنية Minyat Aḏ
65
+ Ḏinniyyah.
66
+ - |
67
+ Nunation is unlikely to be found in geographical names and
68
+ the last letter remains silent: جبل = جبلٌ Jabal (not Jabalun).
69
+ - |
70
+ In order to disambiguate certain character sequences a
71
+ middle dot (·) may be used: سهيلة S·haylah (cf. شيلة Shaylah), دهيب
72
+ D·hayb (cf. ذيب Dhayb), أدهم Ad·ham (cf. أذم Adham).
73
+ - |
74
+ ta' marboota should be transliterated to 'ah' if it's in
75
+ a definite article, or at the end of the sentence
76
+ otherwise it should be transliterated to 'at'
77
+ to handle words starting with AL and ending with ta' marboota
78
+ which is pronounced as "ah" not "at" divided into multiple
79
+ regex because lookbehind in ruby doesn't support variable length
80
+ - |
81
+ مَكّة should be transliterated to makkah, shadda above ك
82
+ is to double the consonant, same applies to all arabic letters
83
+ }
84
+
85
+ tests {
86
+ # Examples taken from:
87
+ # https://unstats.un.org/unsd/geoinfo/geonames/
88
+ test "مِصر", "Mis̱r"
89
+ test "قَطَر", "Qaṯar"
90
+ test "المَغرِب", "Al Maghrib"
91
+ test "الجُمهُورِيَّة العِراقِيَّة", "Al Jumhūrīyah al ‘Irāqīyah"
92
+ test "جُمهُورِيَّة العِراق", "Jumhūrīyat al ‘Irāq"
93
+ test "جُمهُورِيَّة مِصر العَرَبِيَّة", "Jumhūrīyat Mis̱r al ‘Arabīyah"
94
+ test "بَغداد", "Baghdād"
95
+ test "تُونِس", "Tūnis"
96
+ test "السُعُودِيَّة", "As Su‘ūdīyah"
97
+ test "اليَمَن", "Al Yaman"
98
+ test "السُودان", "As Sūdān"
99
+ test "الجَزائِر", "Al Jazā'ir"
100
+ test "الجُمهُورِيَّة اللُبنانِيَّة", "Al Jumhūrīyah al Lubnānīyah"
101
+ test "أسمَرة", "Asmarah"
102
+ test "جِدَّة", "Jiddah"
103
+ test "مَكَّة", "Makkah"
104
+ test "الرِيَاض", "Ar Riyāḏ"
105
+ }
106
+
107
+ stage {
108
+ # CHARACTERS
109
+ parallel {
110
+
111
+ # Tool used for Unicode finding:
112
+ # https://www.branah.com/unicode-converter
113
+
114
+ # pointing
115
+ sub "\u064e", "a" # َ fatha
116
+ sub "\u064e", "", after: "\u0629" # َ fatha followed by ta' marboota
117
+ sub "\u064e", "", after: "a" + any("ht") # َ fatha followed by ta' marboota, handling different order of conversion
118
+ sub "\u0650", "i" # ِ kasra
119
+ sub "\u064f", "u" # ُ damma
120
+ sub "\u0652", "" # ْ sokoon, see note A below
121
+
122
+
123
+ # special pointed letters
124
+ sub "\u0639\u064e", "‘a" # عَ
125
+ sub "\u0639\u0650", "‘i" # عِ
126
+ sub "\u0639\u064f", "‘ū" # عُ
127
+ # handle MacOS regex difference
128
+ sub "\u0639\u064f\u0648", "‘ū" # عُو damma followed by و
129
+
130
+ sub "\u0650\u064a", "ī" # ـِي kasra followed by ي
131
+ sub "\u0650\u064a\u0651\u064e", "īy" # ـِيَّ
132
+ sub "\u0650\u064a", "iy", after: any("\u064e\u064f") # ـِي kasra followed by ي
133
+ sub "\u064f\u0648", "ū" # ـُو damma followed by و
134
+ sub "\u064e\u0627", "ā" # ـَا fatha followed by ا
135
+ sub "\u064e\u0649", "á" # ـَى fatha followed by ى which is ا not ي
136
+ sub "\u064e\u0648\u0652", "aw" # ـَوْ
137
+ sub "\u064e\u064a\u0652", "ay" # ـَيْ
138
+ sub "\u0622", "ā" # آ
139
+
140
+ # (A) Marks absence of the vowel.
141
+ # (B) Marks doubling of the consonant.
142
+
143
+ # Sun letters
144
+ sub boundary + "\u0627\u0644\u062a", "at t" # الت
145
+ sub boundary + "\u0627\u0644\u062b", "ath th" # الث
146
+ sub boundary + "\u0627\u0644\u062f", "ad d" # الد
147
+ sub boundary + "\u0627\u0644\u0630", "adh dh" # الذ
148
+ sub boundary + "\u0627\u0644\u0631", "ar r" # الر
149
+ sub boundary + "\u0627\u0644\u0632", "az z" # الز
150
+ sub boundary + "\u0627\u0644\u0633", "as s" # الس
151
+ sub boundary + "\u0627\u0644\u0634", "ash sh" # الش
152
+ sub boundary + "\u0627\u0644\u0635", "as̱ s̱" # الص
153
+ sub boundary + "\u0627\u0644\u0636", "aḏ ḏ" # الض
154
+ sub boundary + "\u0627\u0644\u0637", "aṯ ṯ" # الط
155
+ sub boundary + "\u0627\u0644\u0638", "ad͟h d͟h" # الظ
156
+ sub boundary + "\u0627\u0644\u0644", "al l" # الل
157
+ sub boundary + "\u0627\u0644\u0646", "an n" # الن
158
+
159
+ # TODO: shorten this fragment
160
+ # ta' marboota
161
+ sub "\u0629", "at" # ة in the middle of the sentence
162
+ sub "\u0629" + line_end, "ah"
163
+ sub "\u0629", "ah", before: boundary + "\u0627\u0644" + any("\u0600".."\u06ff") + any("\u0600".."\u06ff")
164
+ sub "\u0629", "ah", before: boundary + "\u0627\u0644" + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff")
165
+ sub "\u0629", "ah", before: boundary + "\u0627\u0644" + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff")
166
+ sub "\u0629", "ah", before: boundary + "\u0627\u0644" + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff")
167
+ sub "\u0629", "ah", before: boundary + "\u0627\u0644" + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff")
168
+ sub "\u0629", "ah", before: boundary + "\u0627\u0644" + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff")
169
+ sub "\u0629", "ah", before: boundary + "\u0627\u0644" + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff")
170
+ sub "\u0629", "ah", before: boundary + "\u0627\u0644" + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff")
171
+ sub "\u0629", "ah", before: boundary + "\u0627\u0644" + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff")
172
+ sub "\u0629", "ah", before: boundary + "\u0627\u0644" + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff")
173
+ sub "\u0629", "ah", before: boundary + "\u0627\u0644" + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff")
174
+ sub "\u0629", "ah", before: boundary + "\u0627\u0644" + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff") + any("\u0600".."\u06ff")
175
+
176
+ # shadda
177
+
178
+ sub "\u0628\u0651", "bb" # ب
179
+ sub "\u062a\u0651", "tt" # ت
180
+ sub "\u062b\u0651", "thth" # ث
181
+ sub "\u062c\u0651", "jj" # ج
182
+ sub "\u062d\u0651", "ẖẖ" # ح
183
+ sub "\u062e\u0651", "khkh" # خ
184
+ sub "\u062f\u0651", "dd" # د
185
+ sub "\u0630\u0651", "dhdh" # ذ
186
+ sub "\u0631\u0651", "rr" # ر
187
+ sub "\u0632\u0651", "zz" # ز
188
+ sub "\u0633\u0651", "ss" # س
189
+ sub "\u0634\u0651", "sh" # ش
190
+ sub "\u0635\u0651", "s̱s̱" # ص
191
+ sub "\u0636\u0651", "ḏḏ" # ض
192
+ sub "\u0637\u0651", "ṯṯ" # ط
193
+ sub "\u0638\u0651", "d͟hd͟h" # ظ
194
+ sub "\u063a\u0651", "ghgh" # غ
195
+ sub "\u0641\u0651", "ff" # ف
196
+ sub "\u0642\u0651", "qq" # ق
197
+ sub "\u0643\u0651", "kk" # ك
198
+ sub "\u0644\u0651", "ll" # ل
199
+ sub "\u0645\u0651", "mm" # م
200
+ sub "\u0646\u0651", "nn" # ن
201
+ sub "\u0647\u0651", "hh" # ه
202
+ sub "\u0648\u0651", "ww" # و
203
+ sub "\u064a\u0651", "yy" # ي
204
+
205
+ sub "\u0626", "'" # ئ
206
+
207
+
208
+ sub "\u0621", any(["’", ""]) # ء# see note A
209
+
210
+ sub "\u0623", "a" # أ
211
+ sub "\u0627", "ā" # ا
212
+
213
+ # See note B
214
+ sub boundary + "\u0627\u0644", "al " # ال
215
+ # '\uFE8E' : '' # ﺎ
216
+
217
+ sub "\u0628", "b" # ب
218
+ sub "\uFE91", "b" # ﺑ
219
+ sub "\uFE92", "b" # ﺒ
220
+ sub "\uFE90", "b" # ﺐ
221
+
222
+ # See note C
223
+ sub "\u062a", "t" # ت
224
+ sub "\ufe97", "t" # ﺗ
225
+ sub "\ufe98", "t" # ﺘ
226
+ sub "\ufe96", "t" # ﺖ
227
+
228
+ sub "\u062b", "th" # ث
229
+ sub "\ufe9b", "th" # ﺛ
230
+ sub "\ufe9c", "th" # ﺜ
231
+ sub "\ufe9a", "th" # ﺚ
232
+
233
+ sub "\u062c", "j" # ج
234
+ sub "\ufe9f", "j" # ﺟ
235
+ sub "\ufea0", "j" # ﺠ
236
+ sub "\ufe9e", "j" # ﺞ
237
+
238
+ sub "\u062d", "ẖ" # ح
239
+ sub "\ufea3", "ẖ" # ﺣ
240
+ sub "\ufea4", "ẖ" # ﺤ
241
+ sub "\ufea2", "ẖ" # ﺢ
242
+
243
+ sub "\u062e", "kh" # خ
244
+ sub "\ufea7", "kh" # ﺧ
245
+ sub "\ufea8", "kh" # ﺨ
246
+ sub "\ufea6", "kh" # ﺦ
247
+
248
+ sub "\u062f", "d" # د
249
+ sub "\ufeaa", "d" # ﺪ
250
+
251
+ sub "\u0630", "dh" # ذ
252
+ sub "\ufeac", "dh" # ﺬ
253
+
254
+ sub "\u0631", "r" # ر
255
+ sub "\ufeae", "r" # ﺮ
256
+
257
+ sub "\u0632", "z" # ز
258
+ sub "\ufeb0", "z" # ﺰ
259
+
260
+ sub "\u0633", "s" # س
261
+ sub "\ufeb3", "s" # ﺳ
262
+ sub "\ufeb4", "s" # ﺴ
263
+ sub "\ufeb2", "s" # ﺲ
264
+
265
+ sub "\u0634", "sh" # ش
266
+ sub "\ufeb7", "sh" # ﺷ
267
+ sub "\ufeb8", "sh" # ﺸ
268
+ sub "\ufeb6", "sh" # ﺶ
269
+
270
+ sub "\u0635", "s̱" # ص
271
+ sub "\ufebb", "s̱" # ﺻ
272
+ sub "\ufebc", "s̱" # ﺼ
273
+ sub "\ufeba", "s̱" # ﺺ
274
+
275
+ sub "\u0636", "ḏ" # ض
276
+ sub "\ufebf", "ḏ" # ﺿ
277
+ sub "\ufec0", "ḏ" # ﻀ
278
+ sub "\ufebe", "ḏ" # ﺾ
279
+
280
+ sub "\u0637", "ṯ" # ط
281
+ sub "\ufec3", "ṯ" # ﻃ
282
+ sub "\ufec4", "ṯ" # ﻄ
283
+ sub "\ufec2", "ṯ" # ﻂ
284
+
285
+ sub "\u0638", "d͟h" # ظ
286
+ sub "\ufec7", "d͟h" # ﻇ
287
+ sub "\ufec8", "d͟h" # ﻈ
288
+ sub "\ufec6", "d͟h" # ﻆ
289
+
290
+ sub "\u0639", "‘" # ع
291
+ sub "\ufecb", "‘" # ﻋ
292
+ sub "\ufecc", "‘" # ﻌ
293
+ sub "\ufeca", "‘" # ﻊ
294
+
295
+ sub "\u063a", "gh" # غ
296
+ sub "\ufecf", "gh" # ﻏ
297
+ sub "\ufed0", "gh" # ﻐ
298
+ sub "\ufece", "gh" # ﻎ
299
+
300
+ sub "\u0641", "f" # ف
301
+ sub "\ufed3", "f" # ﻓ
302
+ sub "\ufed4", "f" # ﻔ
303
+ sub "\ufed2", "f" # ﻒ
304
+
305
+ sub "\u0642", "q" # ق
306
+ sub "\ufed7", "q" # ﻗ
307
+ sub "\ufed8", "q" # ﻘ
308
+ sub "\ufed6", "q" # ﻖ
309
+
310
+ sub "\u0643", "k" # ك
311
+ sub "\ufedb", "k" # ﻛ
312
+ sub "\ufedc", "k" # ﻜ
313
+ sub "\ufeda", "k" # ﻚ
314
+
315
+ sub "\u0644", "l" # ل
316
+ sub "\ufedf", "l" # ﻟ
317
+ sub "\ufee0", "l" # ﻠ
318
+ sub "\ufede", "l" # ﻞ
319
+
320
+ sub "\u0645", "m" # م
321
+ sub "\ufee3", "m" # ﻣ
322
+ sub "\ufee4", "m" # ﻤ
323
+ sub "\ufee2", "m" # ﻢ
324
+
325
+ sub "\u0646", "n" # ن
326
+ sub "\ufee7", "n" # ﻧ
327
+ sub "\ufee8", "n" # ﻨ
328
+ sub "\ufee6", "n" # ﻦ
329
+
330
+ # See note C
331
+ sub "\u0647", "h" # ه
332
+ sub "\ufeeb", "h" # ﻫ
333
+ sub "\ufeec", "h" # ﻬ
334
+ sub "\ufeea", "h" # ﻪ
335
+
336
+ sub "\u0648", "w" # و
337
+ sub "\ufeee", "w" # ﻮ
338
+
339
+ sub "\u064a", "y" # ي
340
+ sub "\ufef3", "y" # ﻳ
341
+ sub "\ufef4", "y" # ﻴ
342
+ sub "\ufef1", "y" # ﻱ
343
+
344
+ # (A) Not romanized word-initially.
345
+
346
+ # (B) Not romanized, but see romanizations accompanying alif (ا) in the table for vowels.
347
+
348
+ # (C) In certain endings, an original tā’ (ت) is written ة, i.e., like hā’ (ه) with two dots, and is known as tā’ marbūṯah. It is romanized h, except in the construct form of feminine nouns, where it is romanized t, instead.
349
+
350
+
351
+ # Vowels, diphthongs and diacritical marks
352
+ # (ـ stands for any consonant)
353
+ }
354
+
355
+
356
+ # POSTRULES
357
+ sub any("\u0061".."\uFFFF"), upcase, before: boundary, not_before: boundary + any("‘’'")
358
+ # don't capitalize defined article in the middle of a sentence
359
+ sub " At T", " at T" # الت
360
+ sub " Ath Th", " ath th" # الث
361
+ sub " Ad D", " ad D" # الد
362
+ sub " Adh Dh", " adh Dh" # الذ
363
+ sub " Ar R", " ar R" # الر
364
+ sub " Az Z", " az Z" # الز
365
+ sub " As S", " as S" # الس
366
+ sub " Ash Sh", " ash Sh" # الش
367
+ sub " As̱ S̱", " as̱ S̱" # الص
368
+ sub " Aḏ Ḏ", " aḏ Ḏ" # الض
369
+ sub " Aṯ Ṯ", " aṯ Ṯ" # الط
370
+ sub " Ad͟h D͟h", " ad͟h D͟h" # الظ
371
+ sub " Al L", " al L" # الل
372
+ sub " An N", " an N" # الن
373
+ sub " Al ", " al " # ال
374
+
375
+ }