interscript-maps 2.5.2 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. checksums.yaml +4 -4
  2. data/README.adoc +76 -5
  3. data/interscript-maps.gemspec +1 -1
  4. data/maps/alalc-ban-Bali-Latn-2025.isc +610 -0
  5. data/maps/alalc-bod-Tibt-Latn-2015.isc +2249 -0
  6. data/maps/alalc-btk-Batk-Latn-2012.isc +330 -0
  7. data/maps/alalc-cjm-Cham-Latn-2015.isc +18189 -0
  8. data/maps/alalc-jav-Java-Latn-2012.isc +3963 -0
  9. data/maps/alalc-khm-Khmr-Latn-2013.isc +3569 -0
  10. data/maps/alalc-lao-Laoo-Latn-2012.isc +2176 -0
  11. data/maps/alalc-lep-Lepc-Latn-2012.isc +10241 -0
  12. data/maps/alalc-lif-Limb-Latn-2011.isc +267 -0
  13. data/maps/alalc-mni-Mtei-Latn-2022.isc +289 -0
  14. data/maps/alalc-mya-Mymr-Latn-2011.isc +2723 -0
  15. data/maps/alalc-sat-Olck-Latn-2017.isc +77 -0
  16. data/maps/alalc-shn-Shan-Latn-2012.isc +906 -0
  17. data/maps/alalc-tha-Thai-Latn-2011.isc +1830 -0
  18. data/maps/bgnpcgn-ady-Cyrl-Latn-2012.isc +333 -0
  19. data/maps/bgnpcgn-av-Cyrl-Latn-2011.isc +181 -0
  20. data/maps/bgnpcgn-ava-Cyrl-Latn-2011.isc +264 -0
  21. data/maps/bgnpcgn-chv-Cyrl-Latn-2011.isc +242 -0
  22. data/maps/bgnpcgn-cv-Cyrl-Latn-2011.isc +179 -0
  23. data/maps/bgnpcgn-dzo-Tibt-Latn-2010.isc +523 -0
  24. data/maps/bgnpcgn-iu-Cans-Latn-2013.isc +280 -0
  25. data/maps/bgnpcgn-kbd-Cyrl-Latn-2011.isc +295 -0
  26. data/maps/bgnpcgn-krc-Cyrl-Latn-2008.isc +218 -0
  27. data/maps/bgnpcgn-kur-Arab-Latn-2007.isc +4 -1
  28. data/maps/bgnpcgn-os-Cyrl-Latn-2009.isc +187 -0
  29. data/maps/bgnpcgn-oss-Cyrl-Latn-2009.isc +259 -0
  30. data/maps/bgnpcgn-sah-Cyrl-Latn-2012.isc +257 -0
  31. data/maps/bgnpcgn-syc-Syrc-Latn-2011.isc +94 -0
  32. data/maps/bgnpcgn-syr-Syrc-Latn-2011.isc +118 -0
  33. data/maps/bgnpcgn-tha-Thai-Latn-2002.isc +595 -0
  34. data/maps/bgnpcgn-udm-Cyrl-Latn-2011.isc +225 -0
  35. data/maps/bsi-bel-Cyrl-Latn-1958.isc +148 -0
  36. data/maps/bsi-bul-Cyrl-Latn-1958.isc +137 -0
  37. data/maps/bsi-chu-Cyrl-Latn-1958.isc +226 -0
  38. data/maps/bsi-ell-Grek-Latn-1958.isc +445 -0
  39. data/maps/bsi-kor-Kore-Latn-6505-1982-t8.isc +2757 -0
  40. data/maps/bsi-kor-Kore-Latn-6505-1982.isc +11327 -0
  41. data/maps/bsi-mkd-Cyrl-Latn-1958.isc +140 -0
  42. data/maps/bsi-ron-Cyrl-Latn-1958.isc +244 -0
  43. data/maps/bsi-rus-Cyrl-Latn-1958.isc +199 -0
  44. data/maps/bsi-srp-Cyrl-Latn-1958.isc +134 -0
  45. data/maps/bsi-ukr-Cyrl-Latn-1958.isc +129 -0
  46. data/maps/din-ab-Cyrl-Latn-1460-2-2011.isc +83 -0
  47. data/maps/din-abq-Cyrl-Latn-1460-2-2011.isc +66 -0
  48. data/maps/din-ady-Cyrl-Latn-1460-2-2011.isc +73 -0
  49. data/maps/din-ara-Arab-Latn-31635-2011.isc +402 -0
  50. data/maps/din-atv-Cyrl-Latn-1460-2-2011.isc +80 -0
  51. data/maps/din-av-Cyrl-Latn-1460-2-2011.isc +74 -0
  52. data/maps/din-az-Cyrl-Latn-1460-2-2011.isc +80 -0
  53. data/maps/din-ba-Cyrl-Latn-1460-2-2011.isc +82 -0
  54. data/maps/din-bxr-Cyrl-Latn-1460-2-2011.isc +77 -0
  55. data/maps/din-ce-Cyrl-Latn-1460-2-2011.isc +81 -0
  56. data/maps/din-cjs-Cyrl-Latn-1460-2-2011.isc +79 -0
  57. data/maps/din-ckt-Cyrl-Latn-1460-2-2011.isc +73 -0
  58. data/maps/din-crh-Cyrl-Latn-1460-2-2011.isc +74 -0
  59. data/maps/din-cv-Cyrl-Latn-1460-2-2011.isc +87 -0
  60. data/maps/din-dar-Cyrl-Latn-1460-2-2011.isc +74 -0
  61. data/maps/din-dng-Cyrl-Latn-1460-2-2011.isc +78 -0
  62. data/maps/din-ess-Cyrl-Latn-1460-2-2011-s14.isc +79 -0
  63. data/maps/din-eve-Cyrl-Latn-1460-2-2011.isc +77 -0
  64. data/maps/din-evn-Cyrl-Latn-1460-2-2011.isc +75 -0
  65. data/maps/din-fas-Arab-Latn-31635-2011.isc +337 -0
  66. data/maps/din-gag-Cyrl-Latn-1460-2-2011.isc +78 -0
  67. data/maps/din-gld-Cyrl-Latn-1460-2-2011.isc +74 -0
  68. data/maps/din-heb-Hebr-Latn-31636-2018.isc +355 -0
  69. data/maps/din-hye-Armn-Latn-32706-2010.isc +197 -0
  70. data/maps/din-inh-Cyrl-Latn-1460-2-2011.isc +74 -0
  71. data/maps/din-jpn-Hrkt-Latn-32708-2014.isc +1316 -0
  72. data/maps/din-kaa-Cyrl-Latn-1460-2-2011.isc +81 -0
  73. data/maps/din-kbd-Cyrl-Latn-1460-2-2011.isc +74 -0
  74. data/maps/din-kca-Cyrl-Latn-1460-2-2011-s25.isc +78 -0
  75. data/maps/din-kca-Cyrl-Latn-1460-2-2011-s36.isc +75 -0
  76. data/maps/din-kca-Cyrl-Latn-1460-2-2011-s48.isc +75 -0
  77. data/maps/din-kca-Cyrl-Latn-1460-2-2011-s50.isc +81 -0
  78. data/maps/din-kca-Cyrl-Latn-1460-2-2011-s62.isc +81 -0
  79. data/maps/din-khk-Cyrl-Latn-1460-2-2011.isc +76 -0
  80. data/maps/din-kjh-Cyrl-Latn-1460-2-2011.isc +88 -0
  81. data/maps/din-kk-Cyrl-Latn-1460-2-2011.isc +82 -0
  82. data/maps/din-koi-Cyrl-Latn-1460-2-2011.isc +78 -0
  83. data/maps/din-kpy-Cyrl-Latn-1460-2-2011.isc +76 -0
  84. data/maps/din-krc-Cyrl-Latn-1460-2-2011-s23.isc +83 -0
  85. data/maps/din-krc-Cyrl-Latn-1460-2-2011-s7.isc +75 -0
  86. data/maps/din-ku-Cyrl-Latn-1460-2-2011-s32.isc +77 -0
  87. data/maps/din-kum-Cyrl-Latn-1460-2-2011.isc +78 -0
  88. data/maps/din-kur-Arab-Latn-31635-2011.isc +196 -0
  89. data/maps/din-kv-Cyrl-Latn-1460-2-2011.isc +78 -0
  90. data/maps/din-ky-Cyrl-Latn-1460-2-2011.isc +77 -0
  91. data/maps/din-lbe-Cyrl-Latn-1460-2-2011.isc +66 -0
  92. data/maps/din-lez-Cyrl-Latn-1460-2-2011.isc +74 -0
  93. data/maps/din-mdf-Cyrl-Latn-1460-2-2011.isc +78 -0
  94. data/maps/din-mhr-Cyrl-Latn-1460-2-2011.isc +79 -0
  95. data/maps/din-mns-Cyrl-Latn-1460-2-2011.isc +76 -0
  96. data/maps/din-mrj-Cyrl-Latn-1460-2-2011.isc +79 -0
  97. data/maps/din-myv-Cyrl-Latn-1460-2-2011.isc +74 -0
  98. data/maps/din-niv-Cyrl-Latn-1460-2-2011.isc +80 -0
  99. data/maps/din-nog-Cyrl-Latn-1460-2-2011.isc +74 -0
  100. data/maps/din-os-Cyrl-Latn-1460-2-2011.isc +89 -0
  101. data/maps/din-ro-Cyrl-Latn-1460-2-2011-s38.isc +72 -0
  102. data/maps/din-sah-Cyrl-Latn-1460-2-2011.isc +89 -0
  103. data/maps/din-sel-Cyrl-Latn-1460-2-2011.isc +80 -0
  104. data/maps/din-tab-Cyrl-Latn-1460-2-2011.isc +74 -0
  105. data/maps/din-tg-Cyrl-Latn-1460-2-2011.isc +83 -0
  106. data/maps/din-tk-Cyrl-Latn-1460-2-2011.isc +78 -0
  107. data/maps/din-tt-Cyrl-Latn-1460-2-2011.isc +53 -0
  108. data/maps/din-tyv-Cyrl-Latn-1460-2-2011.isc +77 -0
  109. data/maps/din-udm-Cyrl-Latn-1460-2-2011.isc +79 -0
  110. data/maps/din-ug-Cyrl-Latn-1460-2-2011.isc +81 -0
  111. data/maps/din-urd-Arab-Latn-31635-2011.isc +300 -0
  112. data/maps/din-uz-Cyrl-Latn-1460-2-2011.isc +76 -0
  113. data/maps/din-xal-Cyrl-Latn-1460-2-2011.isc +82 -0
  114. data/maps/din-yid-Hebr-Latn-31636-2018.isc +208 -0
  115. data/maps/din-yrk-Cyrl-Latn-1460-2-2011.isc +76 -0
  116. data/maps/icao-bel-Cyrl-Latn-9303.isc +41 -4
  117. data/maps/icao-bul-Cyrl-Latn-9303.isc +36 -5
  118. data/maps/icao-fas-Arab-Latn-9303.isc +28 -8
  119. data/maps/icao-heb-Hebr-Latn-9303.isc +5 -0
  120. data/maps/icao-mkd-Cyrl-Latn-9303.isc +49 -6
  121. data/maps/icao-mul-Latn-Latn-2015.isc +256 -0
  122. data/maps/icao-rus-Cyrl-Latn-9303.isc +29 -0
  123. data/maps/icao-srp-Cyrl-Latn-9303.isc +53 -4
  124. data/maps/icao-ukr-Cyrl-Latn-9303.isc +53 -7
  125. data/maps/iso-rus-Cyrl-Latn-9-1995.isc +14 -4
  126. data/maps/odni-kur-Arab-Latn-2011.isc +280 -0
  127. data/maps/odni-prs-Arab-Latn-2004.isc +0 -1
  128. data/maps/odni-zho-Hani-Latn-2015.isc +457 -0
  129. data/maps/royin-tha-Thai-Latn-1999.isc +60 -0
  130. data/maps/un-amh-Ethi-Latn-2016.isc +3 -0
  131. data/maps/un-ara-Arab-Latn-1971.isc +2 -0
  132. data/maps/un-ara-Arab-Latn-1972.isc +4 -0
  133. data/maps/un-ara-Arab-Latn-2017.isc +129 -15
  134. data/maps/un-asm-Beng-Latn-1972.isc +9 -1
  135. data/maps/un-bel-Cyrl-Latn-2007.isc +17 -0
  136. data/maps/un-ben-Beng-Latn-2016.isc +4422 -128
  137. data/maps/un-bul-Cyrl-Latn-1977.isc +49 -34
  138. data/maps/un-ell-Grek-Latn-1987-phonetic.isc +1 -0
  139. data/maps/un-ell-Grek-Latn-1987-tl.isc +8 -0
  140. data/maps/un-ell-Grek-Latn-1987-ts.isc +1 -0
  141. data/maps/un-guj-Gujr-Latn-1972.isc +2 -0
  142. data/maps/un-hin-Deva-Latn-2016.isc +6 -0
  143. data/maps/un-kan-Kana-Latn-2016.isc +2 -0
  144. data/maps/un-mal-Mlym-Latn-1972.isc +8 -2
  145. data/maps/un-mar-Deva-Latn-2016.isc +10 -9
  146. data/maps/un-mkd-Cyrl-Latn-1977.isc +11 -0
  147. data/maps/un-mon-Mong-Latn-general-2013.isc +3 -0
  148. data/maps/un-mon-Mong-Latn-phonetic-2013.isc +3 -0
  149. data/maps/un-nep-Deva-Latn-1972.isc +2 -0
  150. data/maps/un-nep-Deva-Latn-2013.isc +2 -0
  151. data/maps/un-ori-Orya-Latn-1972.isc +16 -6
  152. data/maps/un-pan-Guru-Latn-1972.isc +2 -0
  153. data/maps/un-prs-Arab-Latn-1967.isc +2 -6
  154. data/maps/un-rus-Cyrl-Latn-1987.isc +8 -4
  155. data/maps/un-sin-Sinh-Latn-1972.isc +4 -0
  156. data/maps/un-srp-Cyrl-Latn-1997.isc +9 -1
  157. data/maps/un-tam-Taml-Latn-1972.isc +2 -0
  158. data/maps/un-tel-Telu-Latn-1972.isc +2 -0
  159. data/maps/un-ukr-Cyrl-Latn-1998.isc +2 -0
  160. data/maps/un-ukr-Cyrl-Latn-2012.isc +7 -1
  161. data/maps/un-urd-Arab-Latn-1972.isc +9 -3
  162. data/maps/var-kor-Hang-Latn-mr-1939.isc +3 -3
  163. metadata +116 -1
@@ -0,0 +1,280 @@
1
+ system "ODNI:kur-Arab:Latn:2011" {
2
+
3
+ metadata {
4
+ authority_id odni
5
+ id 2011
6
+ language iso-639-2:kur
7
+ source_script Arab
8
+ destination_script Latn
9
+ name ICS-630-01 Romanization of Kurdish Personal Names (2011)
10
+ source ICS-630-01 Annex G
11
+ creation_date 2011
12
+ confirmation_date 2011-12
13
+ description { This system is the Intelligence Community standard for the
14
+ transliteration of Kurdish names that will be applied to all
15
+ final written reports and products for IC consumers. It is
16
+ not intended to eliminate variations of a name that can
17
+ contribute forensic information. Rather, it is to provide an
18
+ IC standard Romanized (English) transliteration from Kurdish
19
+ that can then be linked to forensic information in ways that
20
+ will help identify the referent of a name.
21
+
22
+ The system uses the 26 letters of the standard (English)
23
+ Roman alphabet plus the apostrophe. Some ambiguities in the
24
+ Romanized form will occur without the use of diacritics.
25
+ Within the context of a report, where additional information
26
+ about the individual is provided, the referent will be
27
+ clearly identified. The system is used in conjunction with
28
+ on-line tools, name dictionaries, and lists containing
29
+ conventional spellings of names of well-known individuals.
30
+
31
+ This system does not apply to names of Kurds from Turkey or
32
+ other regions where Roman script is used. For non-Kurdish
33
+ names, use the relevant IC transliteration standard for
34
+ names from that language. Names of individuals from
35
+ languages written in Roman letters are spelled as they are
36
+ spelled in those languages.
37
+
38
+ In cases where an individual's name has already been
39
+ transliterated in a variant spelling, that variant is
40
+ indicated in parentheses immediately following its rendition
41
+ in the transliteration standard. If the original Cyrillic or
42
+ Perso-Arabic-script spelling is known, that spelling should
43
+ also appear in parentheses following the name, following
44
+ best practices of the issuing organization and taking into
45
+ consideration information system capabilities. This
46
+ convention is designed to ensure that vital forensic
47
+ information is not lost.
48
+
49
+ For active senior government officials listed in the online
50
+ CIA World Factbook and the online directory of Chiefs of
51
+ State and Cabinet Members of Foreign Governments, the
52
+ spellings given in those reference works are used in place
53
+ of the IC Standard. For individuals no longer listed, the IC
54
+ Standard spelling appears first, with the previous reference
55
+ spelling in parentheses at first usage.
56
+
57
+ There is an effort in the region to purge Kurdish of Arabic
58
+ vocabulary, influencing how Kurdish names borrowed from
59
+ Arabic appear, especially in official publications. Defer to
60
+ the Kurdish IC Standard in these cases.
61
+ }
62
+
63
+ notes {
64
+ # Remark A — Arabic borrowings
65
+ note "Transliteration of names and titles borrowed from other\n languages, such as Islamic names, is based on the modified\n Kurdish spelling used in formal Kurdish publications. A\n transliteration based on the Arabic spelling standard (for\n Kurds from Iraq) or the Persian spelling standard (for Kurds\n from Iran) may be used in parentheses. For uniquely Arabic\n consonants, ث and ص transliterate as 's,' ط transliterates\n as 't' and ذ, ض, ظ transliterate as 'z.' (For example, the\n modified Kurdish spelling of عثمان is عوسمان and\n transliterates as 'Usman.)\n\n Vowels/diacritics that are unwritten in Arabic are\n represented by vowels in modified Kurdish spellings as\n follows: fatha = ه, kasra = ی, dhamma = و. Diphthongs based\n on the combination of a diacritic and a written vowel in the\n original Arabic should be fully represented even for cases\n in which some Kurdish spelling conventions adopt a single\n letter. (For example, the diphthong for the Arabic name\n حسين is based on the modified Kurdish spelling of حوسهين\n 'Husayn' rather than the alternate modified Kurdish of\n حوسێن 'Husen.')\n\n As an exception, religious titles follow this pattern:\n fatha + ێ = 'e' instead of هی 'ay' (شيخ transliterates\n according to the Kurdish spelling شێخ 'Shekh,' and درويش as\n دهروێش 'Darwesh'); fatha + ۆ = 'o' instead of هو 'aw'\n (صوفي transliterates according to the Kurdish spelling سۆفی\n 'Sofi').\n\n In names borrowed from Arabic, doubled consonants with an\n explicit or implicit shaddah in Arabic are written without\n shaddah in modified Kurdish spellings and are generally\n viewed as having single consonants. They should be\n transliterated as single, not double (e.g., عهباس Abas,\n دهباغ Dabagh, سهيد Sayid, عهمار 'Amar, جهبار Jabar,\n موحهرهم Muharam). The name محمد (spelled موحهممهد in\n Kurdish) is an exception: Muhammad.\n\n Exceptions to the doubling rule include compound names formed\n with 'Allah' (e.g., 'Abdulla) or with 'al' (the definite\n article) before names beginning with 'lam' (e.g.,\n 'Abdullatif).\n\n In Kurdish, all vowels are written with the exception of the\n short 'i' sound, which is understood as a hidden (unwritten)\n kasra under the preceding consonant. The kasra most often\n occurs when there are two or three consonants in a row.\n While the kasra is rarely typed in the original Kurdish\n Perso-Arabic script, in transliteration it is represented by\n the letter 'i': كرن Kirin, گرد Gird, فازل Fazil."
66
+ # Remark B
67
+ note "When a name is composed of multiple parts (e.g.,\n abd-al-rahman), the name is transliterated as one block\n rather than as separate parts with hyphens (e.g.,\n Abdulrahman)."
68
+ # Remark C
69
+ note "The ل of ال (al-, Arabic 'the', -ul in compound Arabic\n names) is retained in the Romanized form (e.g., Abdulrahman,\n not Abdurrahman). Compound names which contained 'الدين'\n (al din) in the original Arabic show up in Kurdish without\n the l, and should be transliterated as such (e.g.,\n نهجمهدين Najmadin, سهالحهدين Salahadin)."
70
+ # Remark D
71
+ note "The Arabic article ال (al-, Arabic 'the') is not added to\n Kurdish names (e.g., خالد شوانی Khalid Shwani, not\n خالد الشوانی Khalid al Shwani)."
72
+ # Remark E
73
+ note "Two letter sequences in Kurdish (e.g., سه) are\n transliterated the same as single characters. For example,\n سه (sh) is transliterated the same as ش (sh). Example:\n ئهسهی 'Ashi.'"
74
+ # Remark F
75
+ note "Because access to Kurdish keyboards is limited, the\n following substitutions frequently occur in informal Kurdish\n writing for non-Arabic characters. Arabic-keyboard variants\n are ب for پ, ج for چ, ر for ڕ, ز for ژ, ف for ڤ, ك for گ,\n ل for ڵ, و for ۆ, and ی for ێ. Persian-keyboard variants are\n ب for پ, ج for چ, ر for ڕ, ز for ژ, ف for ڤ, ك for گ,\n ل for ڵ, و for ۆ, and ی for ێ. Observing which Kurdish\n characters are present in a given text helps in deciphering\n the correct transliteration for names taken from that text.\n\n As a result, names such as گوالڤ 'Gulav', پێژان 'Pezhan',\n ڕاگر 'Ragir', ژيڤان 'Zhivan', چۆپی 'Chopi' and گواڵسۆر\n 'Gulasor' would be typed as كوالف, بيزان, راكر, زيفان, جوبى\n and كوالسور on an Arabic keyboard, and as گوالف, پيژان,\n راگر, ژيفان, چوپی and گوالسور on a Persian keyboard.\n\n The letter ه used as a vowel may show up in modified connected\n forms: ھه وار / ھهوار / ھةوار for ھهوار 'Hawar'; ئه وين /\n ئهوين / ئةوين for ئهوين 'Awin'; به رزين / بهرزين / بةرزين\n for پهرژين 'Parzhin'; جه له نك / جهلهنك / جةلةنك for\n چهلهنگ 'Chalang'; ره زى / رھزى / رةزى for ڕهزێ 'Raze';\n به رويز / بهرويز / بةرويز for پهروێز 'Parwez'; به يتو /\n بهيتو / بةيتو for بهيتۆ 'Bayto.'"
76
+ # Remark G
77
+ note "Because word processors do not already include fonts with\n uniquely Kurdish letters, official publications are often\n drafted using specialized Kurdish fonts. Most of these fonts\n superimpose the uniquely Kurdish letters over uniquely Arabic\n letters, so a document read without the original font shows\n Arabic letters in place of Kurdish ones: ث for پ, ذ for ژ,\n ر for ڕ, ص for ێ, ض for چ, ط for گ, ظ for ڤ, ل for ڵ,\n ل for اڵ, ؤ for ۆ, ي for ی, ي for ێ, and ة for ه. Thus\n names such as گوالڤ 'Gulav', پێژان 'Pezhan', ڕاگر 'Ragir',\n ژيڤان 'Zhivan', چۆپی 'Chopi', پهروێز 'Parwez', چهلهنگ\n 'Chalang' and گواڵسۆر 'Gulasor' could be displayed as طوالظ,\n (ثصذان or ثيذان), راطر, ذيظان, ضؤثي, (ثةروصز or ثةرويز),\n ضةلةنط and طوالسؤر."
78
+ # Remark H
79
+ note "The letter و (wau) may show up as a 'v' in alternate\n Romanizations due to the influence of Persian. In such cases,\n the alternate may be placed within parentheses to maintain\n forensic information: پهروين Parwin (Parvin), پهروانه Parwana\n (Parvaneh), ھاوناز Hawnaz (Havnaz), ھهمهوهندی Hamawandi\n (Homavandi), ئاواره Awara (Avareh), ئهڵوهن Alwan (Alvan),\n والی Wali (Vali), وهلی Wali (Vali), ھاونار Hawnaz (Havnaz),\n كاروان Karwan (Karvan), جهواد Jawad (Javad), پهروێز Parwez\n (Parviz)."
80
+ # Remark I
81
+ note "Follow this standard for personal names that are based on\n place names even when it may differ from the BGN standard;\n for example, Galali instead of Gełałî, Garmiyani instead of\n Germiyanî, Karkuki instead of Kerkukî, Khanaqini instead of\n Xaneqînî, Penjweni instead of Pênicwênî, Shinki instead of\n Şînkî."
82
+ # Remark J
83
+ note "The double vowel combination وو can transliterate to either\n a diphthong ('wu' or 'uw') or a single vowel ('u'). For the\n diphthong cases, transliteration depends on whether the وو\n directly follows or immediately precedes another vowel. If\n it directly follows the vowel, it transliterates to 'wu' (as\n in تاووس 'Tawus'). If it immediately precedes the vowel, it\n transliterates to 'uw' (as in ڕووانگه 'Ruwanga'). When a word\n starts with وو (without a seated hamza) and is followed by a\n consonant, it transliterates to 'wu' (as in ووریا 'Wuriya').\n\n In general there is inconsistency in the use of وو for both\n the vowel and diphthong cases. When writers use only one و\n it is understood that there is a hidden or implied second و\n similar to the hidden kasra described in Remarks A and K.\n Because of this, a single و may follow the double وو\n transliteration pattern above: the alternate spelling of\n ڕوانگه still transliterates to 'Ruwanga,' and the alternate\n spelling of وریا still transliterates to 'Wuriya.'"
84
+ # Remark K
85
+ note "The double vowel combination یی transliterates to a\n diphthong ('yi' or 'iy'). Transliteration depends on whether\n the یی directly follows or immediately precedes another\n vowel. If it directly follows the vowel, it transliterates\n to 'yi' (as in حهمایيل 'Hamayil'). If it immediately\n precedes the vowel, it transliterates to 'iy' (as in دیيه\n 'Diya'). There is some inconsistency in the use of یی in\n informal contexts. For cases in which a vowel follows the ی,\n a hidden kasra preserves the 'iy' transliteration. For cases\n in which the vowel precedes the ی (as in حهمایل/حهمایيل),\n the transliteration follows the double یی pattern described\n above: حهمایل still transliterates as 'Hamayil' even though\n it is written with a single ی."
86
+ }
87
+ }
88
+
89
+ tests {
90
+ # Examples printed in the annex and its remarks.
91
+ "ئومێد" -> "Umed"
92
+ "ئيران" -> "Iran"
93
+ "ئيمان" -> "Iman"
94
+ "پێژان" -> "Pezhan"
95
+ "چۆپی" -> "Chopi"
96
+ "ژيڤان" -> "Zhivan"
97
+ "ھهوار" -> "Hawar"
98
+ "ئهوين" -> "Awin"
99
+ "پهروانه" -> "Parwana"
100
+ "پهروين" -> "Parwin"
101
+ "تاووس" -> "Tawus"
102
+ "ڕووانگه" -> "Ruwanga"
103
+ "ووریا" -> "Wuriya"
104
+ "حهمایيل" -> "Hamayil"
105
+ "دیيه" -> "Diya"
106
+ "ئاواره" -> "Awara"
107
+ "ئهڵوهن" -> "Alwan"
108
+ "ھهمهوهندی" -> "Hamawandi"
109
+ "والی" -> "Wali"
110
+ "وهلی" -> "Wali"
111
+ "كاروان" -> "Karwan"
112
+ "جهواد" -> "Jawad"
113
+ "پهروێز" -> "Parwez"
114
+ "ڕهزێ" -> "Raze"
115
+ "بهيتۆ" -> "Bayto"
116
+ "نهجمهدين" -> "Najmadin"
117
+ # Arabic spelling with the modified-Kurdish reading given in Remark A
118
+ "عوسمان" -> "’Usman"
119
+ "موحهممهد" -> "Muhammad"
120
+ # The annex prints these two in visual RTL order; the logical
121
+ # spelling is tested here.
122
+ "گوڵاڤ" -> "Gulav"
123
+ "گوڵاسۆر" -> "Gulasor"
124
+ # Not tested: ئاگر (Agir) and ڕاگر (Ragir). Both depend on the
125
+ # unwritten short i of Remark A, which is lexical: the script
126
+ # omits it and only a Kurdish name dictionary can restore it.
127
+ }
128
+
129
+ stage main {
130
+ # CHARACTERS
131
+ # Declare multi-character rules first: in a parallel group the longest
132
+ # match wins, and declaration order breaks ties.
133
+ parallel {
134
+
135
+ # Diphthongs written with a seated hamza
136
+ sub "ئاو" "aw"
137
+ sub "ئاى" "ay"
138
+ sub "ئاي" "ay"
139
+ sub "ئوو" "u"
140
+ sub { from "ئهو" to "aw" not_after any("اويىۆێهە") }
141
+ sub { from "ئهي" to "ay" not_after any("اويىۆێهە") }
142
+ sub { from "ئهی" to "ay" not_after any("اويىۆێهە") }
143
+ sub "ئه" "a"
144
+ sub "ئا" "a"
145
+ sub "ئو" "u"
146
+ sub "ئۆ" "o"
147
+ sub "ئێ" "e"
148
+ sub "ئي" "i"
149
+ sub "ئى" "i"
150
+ sub "ئی" "i"
151
+
152
+ # Double waw: wu / uw / u (Remark J)
153
+ sub "اوو" "awu"
154
+ sub { from "وو" to "wu" before any("اويىۆێهە") }
155
+ sub { from "وو" to "uw" after any("اويىۆێهە") }
156
+ sub { from "وو" to "wu" before boundary }
157
+ sub "وو" "u"
158
+
159
+ # Diphthongs written with heh or yeh with small v
160
+ sub { from "هو" to "aw" not_after any("اويىۆێهە") }
161
+ sub { from "هي" to "ay" not_after any("اويىۆێهە") }
162
+ sub { from "هی" to "ay" not_after any("اويىۆێهە") }
163
+ sub { from "ێو" to "ew" not_after any("اويىۆێهە") }
164
+ sub { from "ێي" to "ey" not_after any("اويىۆێهە") }
165
+ sub { from "ێی" to "ey" not_after any("اويىۆێهە") }
166
+
167
+ # Double yeh: yi / iy (Remark K)
168
+ sub { from "يي" to "yi" before any("اويىۆێهە") }
169
+ sub { from "يی" to "yi" before any("اويىۆێهە") }
170
+ sub { from "یي" to "yi" before any("اويىۆێهە") }
171
+ sub { from "یی" to "yi" before any("اويىۆێهە") }
172
+ sub { from "يي" to "iy" after any("اويىۆێهە") }
173
+ sub { from "يی" to "iy" after any("اويىۆێهە") }
174
+ sub { from "یي" to "iy" after any("اويىۆێهە") }
175
+ sub { from "یی" to "iy" after any("اويىۆێهە") }
176
+ sub "يي" "i"
177
+ sub "يی" "i"
178
+ sub "یي" "i"
179
+ sub "یی" "i"
180
+
181
+ # Waw and yeh as consonants or vowels (Remarks H-J)
182
+ sub { from "ه" to "h" before boundary }
183
+ sub { from "و" to "w" before any("اويىۆێهە") }
184
+ sub { from "و" to "w" after any("اويىۆێهە") }
185
+ sub { from "و" to "w" before boundary }
186
+ sub { from "ي" to "y" before boundary }
187
+ sub { from "ی" to "y" before boundary }
188
+ sub { from "ى" to "y" before boundary }
189
+ sub { from "ي" to "yi" before any("ايىۆێهی") }
190
+ sub { from "ی" to "yi" before any("ايىۆێهی") }
191
+ sub { from "ى" to "yi" before any("ايىۆێهی") }
192
+ sub { from "ي" to "iy" after any("اويىۆێهە") }
193
+ sub { from "ی" to "iy" after any("اويىۆێهە") }
194
+ sub { from "ى" to "iy" after any("اويىۆێهە") }
195
+
196
+ # Consonants
197
+ sub "ء" ""
198
+ sub "ب" "b"
199
+ sub "پ" "p"
200
+ sub "ت" "t"
201
+ sub "ث" "s"
202
+ sub "ج" "j"
203
+ sub "چ" "ch"
204
+ sub "ح" "h"
205
+ sub "خ" "kh"
206
+ sub "د" "d"
207
+ sub "ذ" "z"
208
+ sub "ر" "r"
209
+ sub "ڕ" "r"
210
+ sub "ز" "z"
211
+ sub "ژ" "zh"
212
+ sub "س" "s"
213
+ sub "ش" "sh"
214
+ sub "ص" "s"
215
+ sub "ض" "z"
216
+ sub "ط" "t"
217
+ sub "ظ" "z"
218
+ sub "ع" "’"
219
+ sub "غ" "gh"
220
+ sub "ف" "f"
221
+ sub "ڤ" "v"
222
+ sub "ق" "q"
223
+ sub "ك" "k"
224
+ sub "ک" "k"
225
+ sub "گ" "g"
226
+ sub "ل" "l"
227
+ sub "ڵ" "l"
228
+ sub "م" "m"
229
+ sub "ن" "n"
230
+ sub "ه" "a"
231
+ sub "ھ" "h"
232
+ sub "و" "u"
233
+ sub "ي" "i"
234
+ sub "ی" "i"
235
+ sub "ى" "i"
236
+
237
+ # Vowels
238
+ sub "ا" "a"
239
+ sub "ة" "a"
240
+ sub "ە" "a"
241
+ sub "آ" "a"
242
+ sub "أ" "a"
243
+ sub "إ" "i"
244
+ sub "ؤ" "u"
245
+ sub "ۆ" "o"
246
+ sub "ێ" "e"
247
+
248
+ # Diacritics: the ICS system reads modified Kurdish spelling, so
249
+ # Arabic vowel points are dropped; the short i is written in the
250
+ # transliteration when the kasra is present.
251
+ sub "ِ" "i"
252
+ sub "َ" ""
253
+ sub "ُ" ""
254
+ sub "ّ" ""
255
+ sub "ْ" ""
256
+ sub "ً" ""
257
+ sub "ٌ" ""
258
+ sub "ٍ" ""
259
+ sub "ًَ" ""
260
+ sub "ـ" ""
261
+ sub "‌" ""
262
+ sub "‍" ""
263
+ }
264
+
265
+ # POSTRULES
266
+ # Capitalize the first letter of a word, including a word that begins
267
+ # with the apostrophe of an initial ayin.
268
+ sub {
269
+ from any("a".."￿")
270
+ to upcase
271
+ before boundary
272
+ not_before boundary + any("‘’'")
273
+ }
274
+ sub {
275
+ from any("a".."￿")
276
+ to upcase
277
+ before boundary + any("‘’'")
278
+ }
279
+ }
280
+ }
@@ -48,7 +48,6 @@ stage main {
48
48
 
49
49
  # CHARACTERS
50
50
  parallel {
51
- s
52
51
  sub "\u0626" ""
53
52
  sub "\u0624" ""
54
53