interscript 0.1.3 → 0.1.9
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.
- checksums.yaml +4 -4
- data/README.adoc +10 -11
- data/aliases.json +1 -0
- data/lib/interscript.rb +62 -59
- data/lib/interscript/command.rb +3 -2
- data/lib/interscript/fs.rb +96 -0
- data/lib/interscript/mapping.rb +36 -17
- data/lib/interscript/opal.rb +196 -0
- data/lib/interscript/opal/entrypoint.rb +20 -0
- data/lib/interscript/opal/exports.rb +11 -0
- data/lib/interscript/opal/maps.js.erb +8 -0
- data/lib/interscript/version.rb +1 -1
- data/maps/acadsin-zho-Hani-Latn-2002.yaml +6 -2
- data/maps/alalc-amh-Ethi-Latn-1997.yaml +513 -0
- data/maps/alalc-amh-Ethi-Latn-2011.yaml +138 -0
- data/maps/alalc-ara-Arab-Latn-1997.yaml +1287 -0
- data/maps/alalc-asm-Deva-Latn-1997.yaml +259 -0
- data/maps/alalc-asm-Deva-Latn-2012.yaml +55 -0
- data/maps/alalc-aze-Arab-Latn-1997.yaml +376 -0
- data/maps/alalc-aze-Cyrl-Latn-1997.yaml +145 -0
- data/maps/{alalc-bel-cyrl-latn-1997.yaml → alalc-bel-Cyrl-Latn-1997.yaml} +7 -3
- data/maps/alalc-ben-Beng-Latn-1997.yaml +291 -0
- data/maps/alalc-ben-Beng-Latn-2017.yaml +1 -1
- data/maps/alalc-bul-Cyrl-Latn-1997.yaml +5 -1
- data/maps/alalc-div-Thaa-Latn-1997.yaml +211 -0
- data/maps/alalc-ell-Grek-Latn-1997.yaml +7 -4
- data/maps/alalc-ell-Grek-Latn-2010.yaml +3 -5
- data/maps/alalc-guj-Gujr-Latn-1997.yaml +266 -0
- data/maps/alalc-guj-Gujr-Latn-2011.yaml +64 -0
- data/maps/alalc-hin-Deva-Latn-1997.yaml +303 -0
- data/maps/alalc-hin-Deva-Latn-2011.yaml +65 -0
- data/maps/alalc-kan-Kana-Latn-1997.yaml +274 -0
- data/maps/alalc-kan-Kana-Latn-2011.yaml +63 -0
- data/maps/alalc-kat-Geok-Latn-1997.yaml +2 -3
- data/maps/alalc-kat-Geor-Latn-1997.yaml +5 -1
- data/maps/alalc-kor-Hang-Latn-1997.yaml +6 -2
- data/maps/alalc-mal-Mlym-Latn-1997.yaml +303 -0
- data/maps/alalc-mal-Mlym-Latn-2012.yaml +73 -0
- data/maps/alalc-mar-Deva-Latn-1997.yaml +189 -0
- data/maps/alalc-mar-Deva-Latn-2011.yaml +45 -0
- data/maps/{alalc-mkd-cyrl-latn-1997.yaml → alalc-mkd-Cyrl-Latn-1997.yaml} +1 -1
- data/maps/alalc-mkd-Cyrl-Latn-2013.yaml +1 -1
- data/maps/alalc-mon-Cyrl-Latn-1997.yaml +220 -0
- data/maps/alalc-ori-Orya-Latn-1997.yaml +284 -0
- data/maps/alalc-ori-Orya-Latn-2011.yaml +67 -0
- data/maps/alalc-pan-Guru-Latn-1997.yaml +256 -0
- data/maps/alalc-pan-Guru-Latn-2011.yaml +78 -0
- data/maps/alalc-per-Arab-Latn-1997.yaml +375 -0
- data/maps/alalc-pli-Deva-Latn-2012.yaml +144 -0
- data/maps/alalc-pra-Deva-Latn-2012.yaml +47 -0
- data/maps/alalc-rus-Cyrl-Latn-1997.yaml +225 -0
- data/maps/alalc-rus-Cyrl-Latn-2012.yaml +162 -0
- data/maps/alalc-san-Deva-Latn-2012.yaml +241 -0
- data/maps/alalc-sin-Sinh-Latn-1997.yaml +292 -0
- data/maps/alalc-sin-Sinh-Latn-2011.yaml +71 -0
- data/maps/alalc-srp-Cyrl-Latn-1997.yaml +5 -1
- data/maps/{alalc-srp-cyrl-latn-2013.yaml → alalc-srp-Cyrl-Latn-2013.yaml} +1 -1
- data/maps/alalc-tam-Taml-Latn-1997.yaml +62 -0
- data/maps/alalc-tam-Taml-Latn-2011.yaml +58 -0
- data/maps/alalc-tel-Telu-Latn-1997.yaml +284 -0
- data/maps/alalc-tel-Telu-Latn-2011.yaml +64 -0
- data/maps/alalc-ukr-Cyrl-Latn-1997.yaml +5 -1
- data/maps/alalc-ukr-Cyrl-Latn-2011.yaml +1 -1
- data/maps/apcbg-bul-Cyrl-Latn-1995.yaml +1 -1
- data/maps/az-aze-Cyrl-Latn-1939.yaml +105 -0
- data/maps/az-aze-Cyrl-Latn-1958.yaml +45 -0
- data/maps/bas-rus-Cyrl-Latn-2017-bss.yaml +1 -2
- data/maps/bas-rus-Cyrl-Latn-2017-oss.yaml +1 -1
- data/maps/bgn-jpn-Hrkt-Latn-1962.yaml +1 -3
- data/maps/bgn-kor-Hang-Latn-1943.yaml +8 -4
- data/maps/bgn-kor-Kore-Latn-1943.yaml +4 -4
- data/maps/bgna-bul-Cyrl-Latn-2006.yaml +1 -1
- data/maps/bgna-bul-Cyrl-Latn-2009.yaml +1 -1
- data/maps/bgnpcgn-amh-Ethi-Latn-1967.yaml +532 -0
- data/maps/bgnpcgn-ara-Arab-Latn-1956.yaml +598 -0
- data/maps/bgnpcgn-arm-Armn-Latn-1981.yaml +1 -1
- data/maps/bgnpcgn-aze-Cyrl-Latn-1993.yaml +111 -104
- data/maps/bgnpcgn-bak-Cyrl-Latn-2007.yaml +188 -0
- data/maps/bgnpcgn-bal-Arab-Latn-2008.yaml +329 -0
- data/maps/{bgnpcgn-bel-cyrl-latn-1979.yaml → bgnpcgn-bel-Cyrl-Latn-1979.yaml} +5 -1
- data/maps/bgnpcgn-bul-Cyrl-Latn-1952.yaml +14 -10
- data/maps/bgnpcgn-bul-Cyrl-Latn-2013.yaml +5 -1
- data/maps/bgnpcgn-che-Cyrl-Latn-2008.yaml +184 -0
- data/maps/bgnpcgn-div-Thaa-Latn-1988.yaml +75 -0
- data/maps/bgnpcgn-ell-Grek-Latn-1962.yaml +8 -5
- data/maps/bgnpcgn-ell-Grek-Latn-1996.yaml +5 -2
- data/maps/bgnpcgn-far-Latn-Latn-1964.yaml +28 -0
- data/maps/{bgnpcgn-per-Arab-Latn-1956.yaml → bgnpcgn-fas-Arab-Latn-1956.yaml} +5 -2
- data/maps/bgnpcgn-isl-Latn-Latn-1964.yaml +37 -0
- data/maps/bgnpcgn-jpn-Hrkt-Latn-1976.yaml +1 -1
- data/maps/bgnpcgn-kat-Geor-Latn-1981.yaml +5 -1
- data/maps/bgnpcgn-kat-Geor-Latn-2009.yaml +1 -2
- data/maps/bgnpcgn-kaz-Cyrl-Latn-1979.yaml +247 -0
- data/maps/bgnpcgn-kir-Cyrl-Latn-1979.yaml +218 -0
- data/maps/bgnpcgn-kor-Hang-Latn-kn-1945.yaml +18 -18
- data/maps/bgnpcgn-kor-Hang-Latn-rok-2011.yaml +3 -3
- data/maps/bgnpcgn-kor-Kore-Latn-rok-2011.yaml +3 -3
- data/maps/bgnpcgn-kur-Arab-Latn-2007.yaml +249 -0
- data/maps/bgnpcgn-mkd-Cyrl-Latn-1981.yaml +5 -1
- data/maps/bgnpcgn-mkd-Cyrl-Latn-2013.yaml +2 -2
- data/maps/bgnpcgn-mon-Cyrl-Latn-1964.yaml +223 -0
- data/maps/bgnpcgn-nep-Deva-Latn-2011.yaml +230 -0
- data/maps/bgnpcgn-per-Arab-Latn-1958.yaml +338 -0
- data/maps/bgnpcgn-prs-Arab-Latn-2007.yaml +673 -0
- data/maps/bgnpcgn-prs-Arab-Latn-yaghoubi.yaml +459 -0
- data/maps/bgnpcgn-pus-Arab-Latn-1968.yaml +377 -0
- data/maps/bgnpcgn-rue-Cyrl-Latn-2016.yaml +168 -0
- data/maps/bgnpcgn-rus-Cyrl-Latn-1947.yaml +5 -1
- data/maps/bgnpcgn-srp-Cyrl-Latn-1962.yaml +73 -0
- data/maps/bgnpcgn-srp-Cyrl-Latn-2005.yaml +5 -1
- data/maps/bgnpcgn-tat-Cyrl-Latn-2007.yaml +220 -0
- data/maps/bgnpcgn-tgk-Cyrl-Latn-1994.yaml +240 -0
- data/maps/bgnpcgn-ukr-Cyrl-Latn-1965.yaml +5 -2
- data/maps/bgnpcgn-ukr-Cyrl-Latn-2019.yaml +3 -92
- data/maps/bgnpcgn-urd-Arab-Latn-2007.yaml +459 -0
- data/maps/bgnpcgn-uzb-Cyrl-Latn-1979.yaml +127 -0
- data/maps/bgnpcgn-uzb-Cyrl-Latn-2000.yaml +82 -0
- data/maps/{bgnpcgn-chn-Hans-Latn-1979.yaml → bgnpcgn-zho-Hans-Latn-1979.yaml} +1 -1
- data/maps/bis-asm-Beng-Latn-13194-1991.yaml +159 -0
- data/maps/bis-ben-Beng-Latn-13194-1991.yaml +156 -0
- data/maps/bis-dev-Deva-Latn-13194-1991.yaml +184 -0
- data/maps/bis-guj-Gujr-Latn-13194-1991.yaml +181 -0
- data/maps/bis-kan-Kana-Latn-13194-1991.yaml +173 -0
- data/maps/bis-mlm-Mlym-Latn-13194-1991.yaml +176 -0
- data/maps/bis-ori-Orya-Latn-13194-1991.yaml +175 -0
- data/maps/bis-pnj-Guru-Latn-13194-1991.yaml +175 -0
- data/maps/bis-tel-Telu-Latn-13194-1991.yaml +170 -0
- data/maps/bis-tml-Taml-Latn-13194-1991.yaml +155 -0
- data/maps/by-bel-Cyrl-Latn-1998.yaml +9 -5
- data/maps/by-bel-Cyrl-Latn-2007.yaml +4 -4
- data/maps/din-grc-Grek-Latn-31634-2011-t1.yaml +899 -0
- data/maps/din-hin-Deva-Latn-33904-2018.yaml +100 -0
- data/maps/din-kat-Geor-Latn-32707-2010.yaml +145 -0
- data/maps/din-mar-Deva-Latn-33904-2018.yaml +84 -0
- data/maps/din-nep-Deva-Latn-33904-2018.yaml +119 -0
- data/maps/din-pli-Deva-Latn-33904-2018.yaml +75 -0
- data/maps/din-pra-Deva-Latn-33904-2018.yaml +63 -0
- data/maps/din-san-Deva-Latn-33904-2018.yaml +338 -0
- data/maps/din-tam-Taml-Latn-33903-2016.yaml +213 -0
- data/maps/dos-nep-Deva-Latn-1997.yaml +47 -0
- data/maps/elot-ell-Grek-Latn-743-1982-tl.yaml +7 -8
- data/maps/elot-ell-Grek-Latn-743-1982-ts.yaml +6 -7
- data/maps/elot-ell-Grek-Latn-743-2001-tl.yaml +2 -3
- data/maps/elot-ell-Grek-Latn-743-2001-ts.yaml +2 -3
- data/maps/ggg-kat-Geor-Latn-2002.yaml +5 -2
- data/maps/{gki-bel-cyrl-latn-1992.yaml → gki-bel-Cyrl-Latn-1992.yaml} +2 -2
- data/maps/{gki-bel-cyrl-latn-2000.yaml → gki-bel-Cyrl-Latn-2000.yaml} +2 -2
- data/maps/{gost-rus-cyrl-latn-16876-71-1983.yaml → gost-rus-Cyrl-Latn-16876-71-1983.yaml} +8 -4
- data/maps/gost-rus-Cyrl-Latn-7.79-2000-2002.yaml +157 -0
- data/maps/hk-yue-Hani-Latn-1888.yaml +1 -1
- data/maps/icao-bel-Cyrl-Latn-9303.yaml +1 -6
- data/maps/icao-bul-Cyrl-Latn-9303.yaml +1 -5
- data/maps/{icao-per-Arab-Latn-9303.yaml → icao-fas-Arab-Latn-9303.yaml} +1 -2
- data/maps/icao-heb-Hebr-Latn-9303.yaml +1 -1
- data/maps/icao-mkd-Cyrl-Latn-9303.yaml +1 -1
- data/maps/icao-rus-Cyrl-Latn-9303.yaml +1 -2
- data/maps/icao-srp-Cyrl-Latn-9303.yaml +1 -1
- data/maps/icao-ukr-Cyrl-Latn-9303.yaml +1 -2
- data/maps/iso-ara-Arab-Latn-233-1984.yaml +323 -0
- data/maps/iso-asm-Beng-Latn-15919-2001.yaml +75 -0
- data/maps/iso-ben-Beng-Latn-15919-2001.yaml +175 -0
- data/maps/iso-ell-Grek-Latn-843-1997-t1.yaml +11 -8
- data/maps/iso-ell-Grek-Latn-843-1997-t2.yaml +8 -5
- data/maps/iso-guj-Gujr-Latn-15919-2001.yaml +220 -0
- data/maps/iso-hin-Deva-Latn-15919-2001.yaml +87 -0
- data/maps/iso-inc-Deva-Latn-15919-2001.yaml +61 -0
- data/maps/iso-jpn-Hrkt-Latn-3602-1989.yaml +10 -6
- data/maps/iso-kan-Kana-Latn-15919-2001.yaml +220 -0
- data/maps/iso-kat-Geor-Latn-9984-1996.yaml +145 -0
- data/maps/iso-kor-Hang-Latn-1996-method1.yaml +240 -0
- data/maps/iso-kor-Hang-Latn-1996-method2.yaml +226 -0
- data/maps/iso-mal-Mlym-Latn-15919-2001.yaml +281 -0
- data/maps/iso-mar-Deva-Latn-15919-2001.yaml +75 -0
- data/maps/iso-nep-Deva-Latn-15919-2001.yaml +87 -0
- data/maps/iso-ori-Orya-Latn-15919-2001.yaml +193 -0
- data/maps/iso-pan-Guru-Latn-15919-2001.yaml +222 -0
- data/maps/iso-pli-Beng-Latn-15919-2001.yaml +73 -0
- data/maps/iso-pli-Deva-Latn-15919-2001.yaml +74 -0
- data/maps/iso-pli-Sinh-Latn-15919-2001.yaml +219 -0
- data/maps/iso-pli-Thai-Latn-15919-2001.yaml +55 -0
- data/maps/iso-pra-Deva-Latn-15919-2001.yaml +59 -0
- data/maps/iso-prs-Arab-Latn-233-3-1999.yaml +366 -0
- data/maps/iso-rus-Cyrl-Latn-9-1995.yaml +3 -4
- data/maps/iso-san-Deva-Latn-15919-2001.yaml +220 -0
- data/maps/iso-tam-Taml-Latn-15919-2001.yaml +159 -0
- data/maps/iso-tel-Telu-Latn-15919-2001.yaml +220 -0
- data/maps/iso-tha-Thai-Latn-11940-1998.yaml +2 -2
- data/maps/kp-kor-Hang-Latn-2002.yaml +29 -21
- data/maps/lshk-yue-Hani-Latn-jyutping-1993.yaml +3 -3
- data/maps/masm-mon-Cyrl-Latn-5217-2012.yaml +163 -0
- data/maps/masm-mon-Latn-Cyrl-5217-2012.yaml +200 -0
- data/maps/mext-jpn-Hrkt-Latn-1954.yaml +1 -1
- data/maps/moct-kor-Hang-Latn-2000.yaml +6 -2
- data/maps/mofa-jpn-Hrkt-Latn-1989.yaml +1 -1
- data/maps/mv-div-Thaa-Latn-1987.yaml +200 -0
- data/maps/mvd-bel-Cyrl-Latn-2008.yaml +225 -0
- data/maps/mvd-bel-Cyrl-Latn-2010.yaml +63 -0
- data/maps/mvd-rus-Cyrl-Latn-2008.yaml +109 -0
- data/maps/mvd-rus-Cyrl-Latn-2010.yaml +37 -0
- data/maps/odni-ara-Arab-Latn-2004.yaml +137 -0
- data/maps/odni-ara-Arab-Latn-2015.yaml +315 -0
- data/maps/odni-aze-Cyrl-Latn-2015.yaml +144 -0
- data/maps/odni-bel-Cyrl-Latn-2015.yaml +148 -0
- data/maps/odni-bul-Cyrl-Latn-2005.yaml +90 -0
- data/maps/odni-bul-Cyrl-Latn-2015.yaml +96 -0
- data/maps/odni-che-Cyrl-Latn-2015.yaml +169 -0
- data/maps/odni-fas-Arab-Latn-2004.yaml +276 -0
- data/maps/odni-fas-Arab-Latn-2015.yaml +406 -0
- data/maps/odni-hin-Deva-Latn-2004.yaml +182 -0
- data/maps/odni-hin-Deva-Latn-2015.yaml +258 -0
- data/maps/odni-kat-Geor-Latn-2015.yaml +2 -3
- data/maps/odni-kaz-Cyrl-Latn-2015.yaml +148 -0
- data/maps/odni-kir-Cyrl-Latn-2015.yaml +136 -0
- data/maps/odni-kor-Hang-Latn-2015.yaml +375 -0
- data/maps/odni-mkd-Cyrl-Latn-2005.yaml +21 -0
- data/maps/odni-mkd-Cyrl-Latn-2015.yaml +122 -0
- data/maps/odni-prs-Arab-Latn-2004.yaml +123 -0
- data/maps/odni-prs-Arab-Latn-2015.yaml +228 -0
- data/maps/odni-rus-Cyrl-Latn-2015.yaml +77 -0
- data/maps/odni-srp-Cyrl-Latn-2005.yaml +36 -0
- data/maps/odni-srp-Cyrl-Latn-2015.yaml +129 -0
- data/maps/odni-tat-Cyrl-Latn-2015.yaml +142 -0
- data/maps/odni-tgk-Cyrl-Latn-2015.yaml +148 -0
- data/maps/odni-tuk-Cyrl-Latn-2015.yaml +170 -0
- data/maps/odni-uig-Cyrl-Latn-2015.yaml +138 -0
- data/maps/odni-ukr-Cyrl-Latn-2015.yaml +6 -2
- data/maps/odni-urd-Arab-Latn-2015.yaml +221 -0
- data/maps/odni-uzb-Cyrl-Latn-2015.yaml +166 -0
- data/maps/royin-tha-Thai-Latn-1939-generic.yaml +5 -5
- data/maps/royin-tha-Thai-Latn-1968.yaml +9 -5
- data/maps/royin-tha-Thai-Latn-1999-chained.yaml +5 -5
- data/maps/royin-tha-Thai-Latn-1999.yaml +8 -4
- data/maps/sac-zho-Hans-Latn-1979.yaml +5 -1
- data/maps/sasm-mon-Mong-Latn-general-1978.yaml +389 -0
- data/maps/sasm-mon-Mong-Latn-phonetic-1978.yaml +354 -0
- data/maps/ses-ara-Arab-Latn-1930.yaml +283 -0
- data/maps/stategeocadastre-ukr-Cyrl-Latn-1993.yaml +1 -1
- data/maps/ua-ukr-Cyrl-Latn-1996.yaml +6 -2
- data/maps/ua-ukr-Cyrl-Latn-2007.yaml +75 -0
- data/maps/ua-ukr-Cyrl-Latn-2010.yaml +192 -0
- data/maps/un-amh-Ethi-Latn-2016.yaml +602 -0
- data/maps/un-ara-Arab-Latn-1971.yaml +139 -0
- data/maps/un-ara-Arab-Latn-1972.yaml +159 -0
- data/maps/un-ara-Arab-Latn-2017.yaml +420 -0
- data/maps/un-asm-Beng-Latn-1972.yaml +223 -0
- data/maps/un-bel-Cyrl-Latn-2007.yaml +4 -4
- data/maps/un-ben-Beng-Latn-2016.yaml +1 -1
- data/maps/{un-ell-Grek-Latn-phonetic-1987.yaml → un-ell-Grek-Latn-1987-phonetic.yaml} +44 -44
- data/maps/un-ell-Grek-Latn-1987-tl.yaml +3 -4
- data/maps/un-ell-Grek-Latn-1987-ts.yaml +3 -4
- data/maps/un-guj-Gujr-Latn-1972.yaml +229 -0
- data/maps/un-hin-Deva-Latn-2016.yaml +316 -0
- data/maps/un-kan-Kana-Latn-2016.yaml +254 -0
- data/maps/un-mal-Mlym-Latn-1972.yaml +251 -0
- data/maps/un-mar-Deva-Latn-2016.yaml +102 -0
- data/maps/un-mon-Mong-Latn-general-2013.yaml +264 -0
- data/maps/un-mon-Mong-Latn-phonetic-2013.yaml +264 -0
- data/maps/un-nep-Deva-Latn-1972.yaml +269 -0
- data/maps/un-nep-Deva-Latn-2013.yaml +74 -0
- data/maps/un-ori-Orya-Latn-1972.yaml +247 -0
- data/maps/un-pan-Guru-Latn-1972.yaml +402 -0
- data/maps/un-prs-Arab-Latn-1967.yaml +236 -0
- data/maps/un-rus-Cyrl-Latn-1987.yaml +2 -2
- data/maps/un-tam-Taml-Latn-1972.yaml +194 -0
- data/maps/un-tel-Telu-Latn-1972.yaml +270 -0
- data/maps/un-ukr-Cyrl-Latn-1998.yaml +53 -0
- data/maps/un-ukr-Cyrl-Latn-2012.yaml +162 -0
- data/maps/un-urd-Arab-Latn-1972.yaml +405 -0
- data/maps/var-amh-Ethi-Latn-eae-2003.yaml +466 -0
- data/maps/var-gez-Ethi-Latn-eae-2003.yaml +76 -0
- data/maps/var-hin-Deva-Latn-hunterian-1872.yaml +221 -0
- data/maps/var-jpn-Hrkt-Latn-hepburn-1886.yaml +1 -1
- data/maps/var-jpn-Hrkt-Latn-hepburn-1954.yaml +1 -1
- data/maps/{nil-kor-Hang-Hang-jamo.yaml → var-kor-Hang-Hang-jamo.yaml} +4 -4
- data/maps/var-kor-Hang-Latn-mr-1939.yaml +4 -4
- data/maps/var-kor-Kore-Hang-2013.yaml +2 -2
- data/maps/var-kor-Kore-Latn-mr-1939.yaml +2 -3
- data/maps/var-mar-Deva-Latn-hunterian-1872.yaml +43 -0
- data/maps/var-mon-Mong-Latn-1930.yaml +102 -0
- data/maps/var-mon-Mong-Latn-lessing.yaml +272 -0
- data/maps/var-mon-Mong-Latn-vpmc.yaml +274 -0
- data/maps/var-pra-Deva-Latn-iast-1912.yaml +30 -0
- data/maps/var-san-Deva-Latn-iast-1912.yaml +149 -0
- data/maps/var-tha-Thai-Thai-phonemic.yaml +6 -6
- data/maps/var-tha-Thai-Zsym-ipa.yaml +13 -13
- data/maps/{var-zho-Hani-Latn-1979.yaml → var-zho-Hani-Latn-wd-1979.yaml} +13 -9
- data/spec/interscript/filenames_spec.rb +21 -0
- data/spec/interscript_spec.rb +16 -5
- metadata +275 -27
- data/bin/interscript +0 -41
- data/bin/rspec +0 -29
- data/bin/setup +0 -8
- data/maps/un-mon-Mong-Latn-2013.yaml +0 -93
- data/maps/un-ukr-cyrl-latn-1998.yaml +0 -30
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
authority_id: bgnpcgn
|
3
3
|
id: kn-1945
|
4
|
-
language: kor
|
4
|
+
language: iso-639-2:kor
|
5
5
|
source_script: Hang
|
6
6
|
destination_script: Latn
|
7
7
|
name: BGN/PCGN 1945 Agreement
|
@@ -12,42 +12,42 @@ description:
|
|
12
12
|
|
13
13
|
notes: "
|
14
14
|
|
15
|
-
1. At the end of a syllable, the character ᄋ should be romanized ng,
|
16
|
-
as in the following example:
|
15
|
+
1. At the end of a syllable, the character ᄋ should be romanized ng,
|
16
|
+
as in the following example:
|
17
17
|
|
18
18
|
평양 → P’yŏngyang
|
19
19
|
|
20
|
-
At the beginning of a syllable, the character ᄋ is silent and
|
21
|
-
should not be romanized. An example follows:
|
20
|
+
At the beginning of a syllable, the character ᄋ is silent and
|
21
|
+
should not be romanized. An example follows:
|
22
22
|
|
23
|
-
용화 → Yonghwa
|
23
|
+
용화 → Yonghwa
|
24
24
|
|
25
25
|
2. Syllable boundaries within words are not reflected in romanization.
|
26
|
-
In the different types of syllables shown in the table below, C
|
26
|
+
In the different types of syllables shown in the table below, C
|
27
27
|
represents any consonant character, V represents any vowel character
|
28
28
|
and / represents a syllable boundary.
|
29
29
|
|
30
|
-
Han’gŭl 개성 남포 안양
|
30
|
+
Han’gŭl 개성 남포 안양
|
31
31
|
Syllable boundaries CV/CVC CVC/CV VC/VC
|
32
32
|
Romanization Kaesŏng Namp’o Anyang
|
33
33
|
|
34
|
-
3. Euphonic changes occurring within a word, including between the
|
35
|
-
specific and generic of a geographical name, should be reflected in
|
36
|
-
romanization. Generic terms are usually seen separated from the name
|
37
|
-
by a hyphen and with a lower case initial letter rather than as a
|
38
|
-
separate word:
|
34
|
+
3. Euphonic changes occurring within a word, including between the
|
35
|
+
specific and generic of a geographical name, should be reflected in
|
36
|
+
romanization. Generic terms are usually seen separated from the name
|
37
|
+
by a hyphen and with a lower case initial letter rather than as a
|
38
|
+
separate word:
|
39
39
|
|
40
40
|
영진리 → Yŏngjil-li
|
41
41
|
덕흥리 → Tŏkhŭng-ni
|
42
42
|
압록강 → Amnok-kang
|
43
43
|
대동강 → Taedong-gang
|
44
44
|
|
45
|
-
4. As a result of 조선말규범집 (‘Standard Korean Language’ guidelines
|
46
|
-
published in North Korea in 1966), unlike the Korean spoken in the
|
47
|
-
Republic of Korea, the language spoken in the Democratic People’s
|
45
|
+
4. As a result of 조선말규범집 (‘Standard Korean Language’ guidelines
|
46
|
+
published in North Korea in 1966), unlike the Korean spoken in the
|
47
|
+
Republic of Korea, the language spoken in the Democratic People’s
|
48
48
|
Republic of Korea maintains and pronounces the word-initial ᆯ (‘r’).
|
49
|
-
The use of the word-initial ᄅ ('r') can be seen in official news
|
50
|
-
reports as well as native mapping. Since such examples exist, the
|
49
|
+
The use of the word-initial ᄅ ('r') can be seen in official news
|
50
|
+
reports as well as native mapping. Since such examples exist, the
|
51
51
|
word initial ᄅ ('r') is reflected as an option in the tables given above.
|
52
52
|
|
53
53
|
5. The Romanization column shows only lowercase forms but, when romanizing,
|
@@ -1,12 +1,12 @@
|
|
1
1
|
---
|
2
2
|
authority_id: bgnpcgn
|
3
3
|
id: 2011
|
4
|
-
language: kor
|
4
|
+
language: iso-639-2:kor
|
5
5
|
source_script: Hang
|
6
6
|
destination_script: Latn
|
7
7
|
name: Ministry of Culture and Tourism System (2000) BGN/PCGN 2011 Agreement
|
8
|
-
url:
|
9
|
-
creation_date:
|
8
|
+
url:
|
9
|
+
creation_date:
|
10
10
|
adoption_date:
|
11
11
|
description:
|
12
12
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
---
|
2
2
|
authority_id: bgnpcgn
|
3
3
|
id: 2011
|
4
|
-
language: kor
|
4
|
+
language: iso-639-2:kor
|
5
5
|
source_script: Kore
|
6
6
|
destination_script: Latn
|
7
7
|
name: Ministry of Culture and Tourism System (2000) BGN/PCGN 2011 Agreement
|
8
|
-
url:
|
9
|
-
creation_date:
|
8
|
+
url:
|
9
|
+
creation_date:
|
10
10
|
adoption_date:
|
11
11
|
description:
|
12
12
|
|
@@ -0,0 +1,249 @@
|
|
1
|
+
---
|
2
|
+
authority_id: bgnpcgn
|
3
|
+
id: 2007
|
4
|
+
language: kur
|
5
|
+
source_script: Arab
|
6
|
+
destination_script: Latn
|
7
|
+
name: ROMANIZATION OF KURDISH -- BGN/PCGN 2007
|
8
|
+
url: https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/693727/ROMANIZATION_OF_KURDISH.pdf
|
9
|
+
creation_date: 2007
|
10
|
+
confirmation date: 2017-12
|
11
|
+
description: |
|
12
|
+
The tabulation below is applicable to the Kurdish language as a
|
13
|
+
whole. It is based for the most part on the Hawar Roman alphabet used
|
14
|
+
in the Library of Congress Standard Kurdish Orthography Table, but it
|
15
|
+
also incorporates certain non-Hawar elements found in A Kurdish-English
|
16
|
+
Dictionary (Taufiq Wahby & C J Edmonds, OUP, 1966). The tabulation
|
17
|
+
covers both major varieties of the Kurdish language: Kurmanji and
|
18
|
+
Sorani. Kurmanji is spoken principally in Turkey and in Iraq north of
|
19
|
+
the Great Zab River (Dahūk/Dihok Governorate). It is generally written
|
20
|
+
in Roman script, and usually employs the Roman orthography. Sorani is
|
21
|
+
spoken principally in Iraq south of the Great Zab river (Arbīl/Hewlêr
|
22
|
+
and As Sulaymānīyah/Slêmanî governorates). It is generally written in
|
23
|
+
Perso-Arabic script, and usually employs the Perso-Arabic script
|
24
|
+
orthography.
|
25
|
+
|
26
|
+
Kurdish forms of geographical names in Turkey will usually be found
|
27
|
+
in Roman script, and so no romanization process will be required. The
|
28
|
+
digraph options for consonant letters '\u0686', '\u0634', and '\u063A'
|
29
|
+
will not be encountered for such names. In Iraq, Syria, and Iran,
|
30
|
+
Kurdish will usually be encountered in Perso-Arabic script, in which
|
31
|
+
case it should be romanized into the corresponding Roman script form.
|
32
|
+
Kurdish geographical names for places and features outside Turkey,
|
33
|
+
found in Roman script form, should, where necessary and if possible, be
|
34
|
+
tailored to fit the orthography of the Romanization shown below and
|
35
|
+
should employ the digraph options for consonant letters '\u0686',
|
36
|
+
'\u0634', and '\u063A'.
|
37
|
+
|
38
|
+
notes:
|
39
|
+
|
40
|
+
- In pure Kurdish words hamza is borne by yā’ ( ئ ) and occurs only
|
41
|
+
before initial vowels; it is not romanized. Medial and final hamza in
|
42
|
+
Arabic borrowings are romanized by ’ (apostrophe – Unicode encoding
|
43
|
+
2019).
|
44
|
+
|
45
|
+
- The letters ث ذ ص ض ط ظ do not occur in pure Kurdish words. In Arabic
|
46
|
+
borrowings some writers retain these letters, others substitute س ز س ز
|
47
|
+
ت ز respectively. Only the letters ط ض and ص are catered for in the
|
48
|
+
Library of Congress tabulation, as reflected in lines 16-18 of the
|
49
|
+
above Consonant table. Words of obvious Arabic origin occurring in a
|
50
|
+
Kurdish toponymic environment will be treated as Kurdish rather than
|
51
|
+
Arabic, as will words of other non-Kurdish origins.
|
52
|
+
|
53
|
+
- The digraph options appearing in rows 6, 15 and 20 of the consonants
|
54
|
+
table should be used for Kurdish geographical names in Iraq, Iran, and
|
55
|
+
Syria. The single character options should be used for Kurdish
|
56
|
+
geographical names in Turkey.
|
57
|
+
|
58
|
+
- ڨ is used to represent v in foreign words. Some southern Kurdish
|
59
|
+
writers use it to represent the v in borrowings from northern Kurdish
|
60
|
+
dialects. و is pronounced as a v in the north and as a w elsewhere.
|
61
|
+
|
62
|
+
- Hā’ can be used as a vowel or a consonant. The initial (ه) and medial
|
63
|
+
(forms are used for the consonant h, Consonant table, row 31, while the
|
64
|
+
final (ه) and independent (forms are used to represent the vowel e,
|
65
|
+
Vowel table, row 1. Therefore, when used as a consonant, the final and
|
66
|
+
independent forms of hā’ will be seen as ‘ه’ instead of ‘and ‘ه’,
|
67
|
+
respectively. For example, مهه meh, (“month”). When used as ‘e’, the
|
68
|
+
hā’ behaves like the letters alif (ا) , wāw, dāl (د) , and rā (ر) , in
|
69
|
+
that it never joins to the following letter (i.e., it has no medial
|
70
|
+
form). Consequently, the following letter will display the initial
|
71
|
+
form, e.g. هەولێر Hewlêr (unless there is only one following letter, in
|
72
|
+
which case it will be written in the independent form, e.g. ماوەت
|
73
|
+
Mawet). As with other vowels (see special rules 2 and 3), initial e is
|
74
|
+
preceded by the kursî hamza, yielding initial ئه , e.g. ئهني enî
|
75
|
+
“forehead”.
|
76
|
+
|
77
|
+
- In pure Kurdish words, the vowel ى is always long î, e.g. كانى ماسێ
|
78
|
+
Kanî Masê. When it represents îzafe, it is also romanized î and joined
|
79
|
+
by means of a hyphen to its preceding word e.g. پارێزگاى دهۆك Parêzga-î
|
80
|
+
Dihok.
|
81
|
+
|
82
|
+
- |
|
83
|
+
An inventory of letter-diacritic combinations, used in addition to
|
84
|
+
the unmodified letters of the basic Roman script in the Romanization of
|
85
|
+
Kurdish, with their Unicode encoding, is:
|
86
|
+
|
87
|
+
'‘': '\u2018' , '’': '2019'
|
88
|
+
'Ç': '00C7' , 'ç': '00E7'
|
89
|
+
'Ḍ': '1E0C' , 'ḍ': '1E0D'
|
90
|
+
'Ê': '00CA' , 'ê': '00EA'
|
91
|
+
|
92
|
+
# There is no single Unicode encoding for these letter-diacritic combinations.
|
93
|
+
'Ḧ': '0048+0308' , 'ḧ': '0068+0308'
|
94
|
+
'Î': '00CE' , 'î': '00EE'
|
95
|
+
'Ł': '0141' , 'ł': '0142'
|
96
|
+
'Ö': '00D6' , 'ö': '00F6'
|
97
|
+
'Ṟ': '1E5E' , 'ṟ': '1E5F'
|
98
|
+
'Ş': '015E' , 'ş': '015F'
|
99
|
+
'Ṣ': '1E62' , 'ṣ': '1E63'
|
100
|
+
'Ṭ': '1E6C' , 'ṭ': '1E6D'
|
101
|
+
'Û': '00DB' , 'û': '00FB'
|
102
|
+
'Ü': '00DC' , 'ü': '00FC'
|
103
|
+
'Ẍ': '1E8C' , 'ẍ': '1E8D'
|
104
|
+
|
105
|
+
- The Romanization column shows only lowercase forms but, when
|
106
|
+
romanizing, uppercase and lowercase Roman letters as appropriate should
|
107
|
+
be used.
|
108
|
+
|
109
|
+
# Special Rules
|
110
|
+
- The conjunction و (and) should be rendered u if the
|
111
|
+
preceding word ends in a consonant, and w if the preceding
|
112
|
+
word ends in a vowel. It should be separated by spaces from
|
113
|
+
the preceding and following words.
|
114
|
+
|
115
|
+
- In the Perso-Arabic orthography for Kurdish, all vowels are
|
116
|
+
written, with the exception of the short i, which is
|
117
|
+
expressed with a kasrah under the preceding consonant (ِ).
|
118
|
+
In Perso-Arabic script, the kasrah will rarely be written (
|
119
|
+
e.g., كرن kirin “to do”). Like all Kurdish vowels, the
|
120
|
+
short i will be preceded by a kursî hamza )ئ )if it appears
|
121
|
+
at the beginning of a word (see 3 below; see row 4 of vowel
|
122
|
+
table).
|
123
|
+
|
124
|
+
- In the Perso-Arabic orthography for Kurdish, when a vowel
|
125
|
+
comes at the beginning of a word, or when a vowel directly
|
126
|
+
follows another vowel, a kursî hamza )ئ )precedes it (e.g.,
|
127
|
+
ئاگر agir “fire”).
|
128
|
+
|
129
|
+
- A Kurdish word will never start with alif )ا .)A Kurdish
|
130
|
+
word may begin with a yā’ (ي) or wāw )و ,)but only when
|
131
|
+
they are used as a consonant, when they will be romanized
|
132
|
+
as y and w, respectively.
|
133
|
+
|
134
|
+
- When preceded by a consonant, yā’ (ي )and wāw )و )should be
|
135
|
+
romanized î and u, respectively. When preceded by a vowel (
|
136
|
+
including short i, which is not written), yā’ (ي )and wāw (
|
137
|
+
و )should be romanized y and w, respectively.
|
138
|
+
|
139
|
+
- The Arabic sign shaddah ( ّ ) denoting a doubled consonant
|
140
|
+
is not used in Kurdish; doubled consonants, which are rare,
|
141
|
+
are written twice e.g. موحەممەد Muḧemmed; ننا موسه Musanna.
|
142
|
+
Shaddah might be used in Arabic borrowings but, as in
|
143
|
+
unpointed Arabic, would generally be omitted.
|
144
|
+
|
145
|
+
- Particles such as له le (= at, in, on) and به be (= to,
|
146
|
+
for, by, with) should be written separately from their
|
147
|
+
following word, e.g. كوردستانێ له Le Kurdistanê “in
|
148
|
+
Kurdistan”
|
149
|
+
|
150
|
+
- Occasionally the character sequences چه ,سه and گه occur.
|
151
|
+
They may be romanized c·h, s·h, and g·h in order to
|
152
|
+
differentiate those romanizations from the digraphs ch, sh,
|
153
|
+
and gh.
|
154
|
+
|
155
|
+
tests:
|
156
|
+
- source: كاني ماسێ
|
157
|
+
expected: Kanî Masê
|
158
|
+
|
159
|
+
- source: كِرِن
|
160
|
+
expected: Kirin
|
161
|
+
|
162
|
+
- source: ئاگِر
|
163
|
+
expected: Agir
|
164
|
+
|
165
|
+
- source: موحەممەد
|
166
|
+
expected: Muḧemmed
|
167
|
+
|
168
|
+
# - source: موسەننا # issue 604
|
169
|
+
# expected: Musanna
|
170
|
+
|
171
|
+
- source: لەكوردِستانێ
|
172
|
+
expected: Le Kurdistanê
|
173
|
+
|
174
|
+
map:
|
175
|
+
postrules:
|
176
|
+
- pattern: (?<=\b)(?<!\b[‘|’|'])[\u0061-\uFFFF]
|
177
|
+
result: "upcase"
|
178
|
+
|
179
|
+
characters:
|
180
|
+
|
181
|
+
'\u0650' : 'i' # ِ kasra special rule 2
|
182
|
+
'\u0644\u06d5' : 'le ' # special rule 7
|
183
|
+
'\u0628\u06d5' : 'be ' # special rule 7
|
184
|
+
# Note 1
|
185
|
+
'\u0621' : '’' # ء
|
186
|
+
'\u0624' : '’' # ؤ
|
187
|
+
'\u0626' : '’' # ئ
|
188
|
+
|
189
|
+
"(?<=[\u0621|\u0628|\u067E|\u062A|\u062C|\u0686|\u062D|\u062E|\u062F|\u0631|\u0695|\u0632|\u0698|\u0633|\u0634|\u0635|\u0636|\u0637|\u0639|\u063A|\u0341|\u06A8|\u0642|\u06A9|\u0643|\u06AF|\u0644|\u06B5|\u0645|\u0646|\u0648|\u0647|\u064A])\u0648" : 'u' # special note 4/5
|
190
|
+
"(?<=[\u0621|\u0628|\u067E|\u062A|\u062C|\u0686|\u062D|\u062E|\u062F|\u0631|\u0695|\u0632|\u0698|\u0633|\u0634|\u0635|\u0636|\u0637|\u0639|\u063A|\u0341|\u06A8|\u0642|\u06A9|\u0643|\u06AF|\u0644|\u06B5|\u0645|\u0646|\u0648|\u0647|\u064A])\u064A" : 'î' # special note 4/5
|
191
|
+
'\u0621': '’' # ء (see note 1 and 7)
|
192
|
+
'\u0628': 'b' # ب
|
193
|
+
'\u067E': 'p' # پ
|
194
|
+
'\u062A': 't' # ت (see note 2)
|
195
|
+
'\u062C': 'c' # ج
|
196
|
+
'\u0686': # چ (see notes 3 and 7)
|
197
|
+
- 'ch'
|
198
|
+
- 'ç'
|
199
|
+
'\u062D': 'ḧ' # ح
|
200
|
+
'\u062E': 'x' # خ
|
201
|
+
'\u062F': 'd' # د
|
202
|
+
'\u0631': 'r' # ر
|
203
|
+
'\u0695': 'ṟ' # ڕ (Formerly written ڒ ڔ or رر according to typeface available; may vary on older sources. See note 7.)
|
204
|
+
'\u0632': 'z' # ز (see note 2)
|
205
|
+
'\u0698': 'j' # ژ
|
206
|
+
'\u0633': 's' # س (see note 2)
|
207
|
+
'\u0634': # ش (see notes 3 and 7)
|
208
|
+
- 'sh'
|
209
|
+
- 'ş'
|
210
|
+
'\u0635': 'ṣ' # ص (see notes 2 and 7)
|
211
|
+
'\u0636': 'ḍ' # ض (see notes 2 and 7)
|
212
|
+
'\u0637': 'ṭ' # ط (see notes 2 and 7)
|
213
|
+
'\u0639': '‘' # ع (see note 7)
|
214
|
+
'\u063A': # غ (see notes 3 and 7)
|
215
|
+
- 'gh'
|
216
|
+
- 'ẍ'
|
217
|
+
'\u0341': 'f' # ف
|
218
|
+
'\u06A8': 'v' # ڨ (see note 4)
|
219
|
+
'\u0642': 'q' # ق
|
220
|
+
'\u06A9': 'k' # ك
|
221
|
+
'\u0643': 'k' # ك
|
222
|
+
'\u06AF': 'g' # گ
|
223
|
+
'\u0644': 'l' # ل
|
224
|
+
'\u06B5': 'ł' # ڵ (Formerly written ڶ according to type available; may vary on older sources. See note 7)
|
225
|
+
'\u0645': 'm' # م
|
226
|
+
'\u0646': 'n' # ن
|
227
|
+
'\u0648': 'w' # و (see note 4)
|
228
|
+
'\u0647': 'h' # ه (see note 5)
|
229
|
+
'\u064A': 'y' # ي
|
230
|
+
|
231
|
+
# VOWELS
|
232
|
+
'\u0647\b': 'e' # See notes 1 and 5
|
233
|
+
'\u06D5': 'e' # See notes 1 and 5
|
234
|
+
'\u0626\u06D5': 'e' # See notes 1 and 5
|
235
|
+
'\u0627': 'a' # See note 1
|
236
|
+
'\u0626\u0627': 'a' # See note 1
|
237
|
+
'\u064A': 'î' # See notes 1, 6 and 7
|
238
|
+
'\u0626\u064A': 'î' # See notes 1, 6 and 7
|
239
|
+
'\u0626': 'i'
|
240
|
+
'\u06CE': 'ê' # See note 7
|
241
|
+
'\u0626\u06CE': 'ê' # See note 7
|
242
|
+
'\u0648': 'u'
|
243
|
+
'\u0626\u0648': 'u'
|
244
|
+
'\u0648\u0648': 'û' # See note 7
|
245
|
+
'\u0626\u0648\u0648': 'û' # See note 7
|
246
|
+
'\u06C6': 'o'
|
247
|
+
'\u0626\u06C6': 'o'
|
248
|
+
'\u0648': 'ö' # Rare; previously written وي . See note 7
|
249
|
+
'\u06CA': 'ü' # Only appearing in some dialects and only in old sources. Often equated to /û/ (row 7 above). Sometimes written يو See note 7.
|
@@ -1,10 +1,14 @@
|
|
1
1
|
---
|
2
2
|
authority_id: bgnpcgn
|
3
3
|
id: 1981
|
4
|
-
language: mkd
|
4
|
+
language: iso-639-2:mkd
|
5
5
|
source_script: Cyrl
|
6
6
|
destination_script: Latn
|
7
7
|
name: Makedonian Romanization, BGN/PCGN 1981 System
|
8
|
+
alias:
|
9
|
+
ogc11122:
|
10
|
+
code: mkd_Cyrl2Latn_BGN_1981
|
11
|
+
description: Macedonian US Board on Geographic Names(BGN)/Permanent Committee on Geographical Names for British Official Use(PCGN) 1981 System
|
8
12
|
url: https://github.com/riboseinc/interscript/files/4247920/USBGN_romanization_Macedonian_1981.pdf
|
9
13
|
creation_date: 1981
|
10
14
|
description: BGN/PCGN Romanization table for Makedonian.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
authority_id: bgnpcgn
|
3
3
|
id: 2013
|
4
|
-
language: mkd
|
4
|
+
language: iso-639-2:mkd
|
5
5
|
source_script: Cyrl
|
6
6
|
destination_script: Latn
|
7
7
|
name: Makedonian Romanization, BGN/PCGN 2013 System
|
@@ -25,7 +25,7 @@ notes:
|
|
25
25
|
has been used here for illustrative purposes.
|
26
26
|
- The Macedonian Cyrillic lowercase italic Т may sometimes be seen as w̄.
|
27
27
|
There is no specific Unicode encoding for this variant form so a comparable character
|
28
|
-
has been used here for illustrative purposes.
|
28
|
+
has been used here for illustrative purposes.
|
29
29
|
- |
|
30
30
|
An inventory of letter-diacritic combinations, with their Unicode encoding,
|
31
31
|
in addition to the unmodified letters of the basic Roman script is:
|
@@ -0,0 +1,223 @@
|
|
1
|
+
---
|
2
|
+
authority_id: bgnpcgn
|
3
|
+
id: 1964
|
4
|
+
language: iso-639-2:mon
|
5
|
+
source_script: Cyrl
|
6
|
+
destination_script: Latn
|
7
|
+
name: BGN/PCGN 1964 System
|
8
|
+
alias:
|
9
|
+
ogc11122:
|
10
|
+
code: mon_Cyrl2Latn_BGN_1964
|
11
|
+
description: Mongolian US Board on Geographic Names(BGN)/Permanent Committee on Geographical Names for British Official Use(PCGN) 1964 System
|
12
|
+
url: https://github.com/interscript/interscript/files/5180767/BGN_Romanization_Guide_1964_mongolian_1964.pdf
|
13
|
+
creation_date:
|
14
|
+
confirmation_date:
|
15
|
+
description: |
|
16
|
+
This system was originated by the PCGN in 1957 and adopted as a
|
17
|
+
BGN/PCGN System in 1964. It is intended for use in the romanization of
|
18
|
+
geographic names in the "Mongolian People's Republic" but not to romanize
|
19
|
+
Mongolian names in adjacent parts of China and the U.S.S.R.
|
20
|
+
|
21
|
+
notes: |
|
22
|
+
- b occurs initially and after л, м, and б.
|
23
|
+
- v occurs medially in Mongolian words and initially in foreign words.
|
24
|
+
- y occurs only as the second element of diphthongs.
|
25
|
+
- k, p, f, and shch occurs foreign words only.
|
26
|
+
- "\u2019" occurs only in Russion words.
|
27
|
+
- ï occurs only in suffixes to words containing back vowels (a, o, and u).
|
28
|
+
- In monosyllables yu or yü depending on pronunciation; in polysyllables yu when followed by a, o, or u, but yü when followed by i, e, ö, or ü.
|
29
|
+
|
30
|
+
tests:
|
31
|
+
- source: Эрдэнэт Сум
|
32
|
+
expected: Erdenet Sum
|
33
|
+
- source: Эрдэнэт
|
34
|
+
expected: Erdenet
|
35
|
+
- source: Эрдэнэ
|
36
|
+
expected: Erdene
|
37
|
+
- source: Шивээговь Сум
|
38
|
+
expected: Shiveegovĭ Sum
|
39
|
+
- source: Шивээговь
|
40
|
+
expected: Shiveegovĭ
|
41
|
+
- source: Шарынгол Сум
|
42
|
+
expected: Sharïngol Sum
|
43
|
+
- source: Шарынгол
|
44
|
+
expected: Sharïngol
|
45
|
+
- source: Цагааннуур
|
46
|
+
expected: Tsagaannuur
|
47
|
+
- source: Хонгор Сум
|
48
|
+
expected: Hongor Sum
|
49
|
+
- source: Хонгор
|
50
|
+
expected: Hongor
|
51
|
+
- source: Хайлаастай
|
52
|
+
expected: Haylaastay
|
53
|
+
- source: Түнэл Сум
|
54
|
+
expected: Tünel Sum
|
55
|
+
- source: Түнэл
|
56
|
+
expected: Tünel
|
57
|
+
- source: Сүхбаатар
|
58
|
+
expected: Sühbaatar
|
59
|
+
- source: Сүмбэр Сум
|
60
|
+
expected: Sümber Sum
|
61
|
+
- source: Сүмбэр
|
62
|
+
expected: Sümber
|
63
|
+
- source: Сайншанд Сум
|
64
|
+
expected: Saynshand Sum
|
65
|
+
- source: Сайншанд
|
66
|
+
expected: Saynshand
|
67
|
+
- source: Орхон Сум
|
68
|
+
expected: Orhon Sum
|
69
|
+
- source: Орхон
|
70
|
+
expected: Orhon
|
71
|
+
- source: Нарст
|
72
|
+
expected: Narst
|
73
|
+
- source: Мөрөн Сум
|
74
|
+
expected: Mörön Sum
|
75
|
+
- source: Мөрөн
|
76
|
+
expected: Mörön
|
77
|
+
- source: Зүүнхөвөө
|
78
|
+
expected: Dzüünhövöö
|
79
|
+
- source: Жаргалант Сум
|
80
|
+
expected: Jargalant Sum
|
81
|
+
- source: Жаргалант
|
82
|
+
expected: Jargalant
|
83
|
+
- source: Дархан Сум
|
84
|
+
expected: Darhan Sum
|
85
|
+
- source: Даланзадгад Сум
|
86
|
+
expected: Dalandzadgad Sum
|
87
|
+
- source: Даланзадгад
|
88
|
+
expected: Dalandzadgad
|
89
|
+
- source: Давст Сум
|
90
|
+
expected: Davst Sum
|
91
|
+
- source: Давст
|
92
|
+
expected: Davst
|
93
|
+
- source: Говьсүмбэр Сум
|
94
|
+
expected: Govĭsümber Sum
|
95
|
+
- source: Говь
|
96
|
+
expected: Govĭ
|
97
|
+
- source: Буга
|
98
|
+
expected: Buga
|
99
|
+
- source: Бор-Өндөр Сум
|
100
|
+
expected: Bor-Öndör Sum
|
101
|
+
- source: Бор-Өндөр
|
102
|
+
expected: Bor-Öndör
|
103
|
+
- source: Баянхонгор
|
104
|
+
expected: Bayanhongor
|
105
|
+
- source: Баянтал
|
106
|
+
expected: Bayantal
|
107
|
+
- source: Баяндэлгэр Сум
|
108
|
+
expected: Bayandelger Sum
|
109
|
+
- source: Баяндэлгэр
|
110
|
+
expected: Bayandelger
|
111
|
+
- source: Баян-Өндөр Сум
|
112
|
+
expected: Bayan-Öndör Sum
|
113
|
+
- source: Баруун-Урт Сум
|
114
|
+
expected: Baruun-Urt Sum
|
115
|
+
- source: Баруун-Урт
|
116
|
+
expected: Baruun-Urt
|
117
|
+
- source: Архуст
|
118
|
+
expected: Arhust
|
119
|
+
- source: Арвайхээр Сум
|
120
|
+
expected: Arvayheer Sum
|
121
|
+
- source: Арвайхээр
|
122
|
+
expected: Arvayheer
|
123
|
+
- source: Есөнбулаг Сум
|
124
|
+
expected: Yösönbulag Sum
|
125
|
+
- source: Ерөө Сум
|
126
|
+
expected: Yöröö Sum
|
127
|
+
- source: Есөнзүйл Сум
|
128
|
+
expected: Yösöndzüyl Sum
|
129
|
+
- source: Ноён Сум
|
130
|
+
expected: Noyon Sum
|
131
|
+
- source: Родник Балянгийн-Булак
|
132
|
+
expected: Rodnik Balyangiyn-Bulak
|
133
|
+
- source: Замын-Үүд Сум
|
134
|
+
expected: Dzamïn-Üüd Sum
|
135
|
+
- source: Адаацаг Сум
|
136
|
+
expected: Adaatsag Sum
|
137
|
+
- source: Чандмань Сум
|
138
|
+
expected: Chandmanĭ Sum
|
139
|
+
- source: Хяргас Сум
|
140
|
+
expected: Hyargas Sum
|
141
|
+
|
142
|
+
map:
|
143
|
+
rules:
|
144
|
+
- pattern: \u042e(?=[АаОоУу]) # Ю before а, о, or у
|
145
|
+
result: "Yu"
|
146
|
+
- pattern: \u044e(?=[АаОоУу]) # ю before а, о, or у
|
147
|
+
result: "yu"
|
148
|
+
- pattern: \u042e(?=[ИиЭэӨөҮү]) # Ю before и, э, ө, or ү
|
149
|
+
result: "Yü"
|
150
|
+
- pattern: \u044e(?=[ИиЭэӨөҮү]) # ю before и, э, ө, or ү
|
151
|
+
result: "yü"
|
152
|
+
|
153
|
+
characters:
|
154
|
+
"А": "A" # \u0410
|
155
|
+
"Б": "B" # \u0411
|
156
|
+
"В": "V" # \u0412
|
157
|
+
"Г": "G" # \u0413
|
158
|
+
"Д": "D" # \u0414
|
159
|
+
"Е": "Yö" # \u0415
|
160
|
+
"Ё": "Yo" # \u0401
|
161
|
+
"Ж": "J" # \u0416
|
162
|
+
"З": "Dz" # \u0417
|
163
|
+
"И": "I" # \u0418
|
164
|
+
"Й": "Y" # \u0419
|
165
|
+
"К": "K" # \u041a
|
166
|
+
"Л": "L" # \u041b
|
167
|
+
"М": "M" # \u041c
|
168
|
+
"Н": "N" # \u041d
|
169
|
+
"О": "O" # \u041e
|
170
|
+
"Ө": "Ö" # \u04e8
|
171
|
+
"П": "P" # \u041f
|
172
|
+
"Р": "R" # \u0420
|
173
|
+
"С": "S" # \u0421
|
174
|
+
"Т": "T" # \u0422
|
175
|
+
"У": "U" # \u0423
|
176
|
+
"Ү": "Ü" # \u04ae
|
177
|
+
"Ф": "F" # \u0424
|
178
|
+
"Х": "H" # \u0425
|
179
|
+
"Ц": "Ts" # \u0426
|
180
|
+
"Ч": "Ch" # \u0427
|
181
|
+
"Ш": "Sh" # \u0428
|
182
|
+
"Щ": "Shch" # \u0429
|
183
|
+
"Ъ": "\u2019" # \u042a
|
184
|
+
"Ы": "Ï" # \u042b
|
185
|
+
"Ь": "Ĭ" # \u042c
|
186
|
+
"Э": "E" # \u042d
|
187
|
+
"Ю": "Yu" # \u042e
|
188
|
+
"Я": "Ya" # \u042f
|
189
|
+
"а": "a" # \u0430
|
190
|
+
"б": "b" # \u0431
|
191
|
+
"в": "v" # \u0432
|
192
|
+
"г": "g" # \u0433
|
193
|
+
"д": "d" # \u0434
|
194
|
+
"е": "yö" # \u0435
|
195
|
+
"ё": "yo" # \u0451
|
196
|
+
"ж": "j" # \u0436
|
197
|
+
"з": "dz" # \u0437
|
198
|
+
"и": "i" # \u0438
|
199
|
+
"й": "y" # \u0439
|
200
|
+
"к": "k" # \u043a
|
201
|
+
"л": "l" # \u043b
|
202
|
+
"м": "m" # \u043c
|
203
|
+
"н": "n" # \u043d
|
204
|
+
"о": "o" # \u043e
|
205
|
+
"ө": "ö" # \u04e9
|
206
|
+
"п": "p" # \u043f
|
207
|
+
"р": "r" # \u0440
|
208
|
+
"с": "s" # \u0441
|
209
|
+
"т": "t" # \u0442
|
210
|
+
"у": "u" # \u0443
|
211
|
+
"ү": "ü" # \u04af
|
212
|
+
"ф": "f" # \u0444
|
213
|
+
"х": "h" # \u0445
|
214
|
+
"ц": "ts" # \u0446
|
215
|
+
"ч": "ch" # \u0447
|
216
|
+
"ш": "sh" # \u0448
|
217
|
+
"щ": "shch" # \u0449
|
218
|
+
"ъ": "\u2019" # \u044a
|
219
|
+
"ы": "ï" # \u044b
|
220
|
+
"ь": "ĭ" # \u044c
|
221
|
+
"э": "e" # \u044d
|
222
|
+
"ю": "yu" # \u044e
|
223
|
+
"я": "ya" # \u044f
|