interscript 0.1.3 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -0,0 +1,316 @@
|
|
1
|
+
---
|
2
|
+
authority_id: ungegn
|
3
|
+
id: 2016
|
4
|
+
language: iso-639-2:hin
|
5
|
+
source_script: Deva
|
6
|
+
destination_script: Latn
|
7
|
+
name: REPORT ON THE CURRENT STATUS OF UNITED NATIONS ROMANIZATION SYSTEMS FOR GEOGRAPHICAL NAMES -- Hindi Romanization, 1972
|
8
|
+
url: https://www.eki.ee/wgrs/rom1_hi.pdf
|
9
|
+
creation_date: 1972
|
10
|
+
confirmation_date: 2016
|
11
|
+
description: |
|
12
|
+
The United Nations recommended system was approved in 1972 (II/11) and amended in 1977
|
13
|
+
(III/12), based on a report prepared by D. N. Sharma. The tables and their corrections were
|
14
|
+
published in volume II of the conference reports.
|
15
|
+
|
16
|
+
There is no evidence of the use of the system either in India or in international cartographic
|
17
|
+
products. It was stated in 1987 that the appropriate resolution had not been implemented in
|
18
|
+
India and the Hunterian system was still in use in large-scale mapping
|
19
|
+
|
20
|
+
Hindi uses the alphasyllabic script Devanāgarī whereby each character represents a syllable
|
21
|
+
rather than one sound. Vowels and diphthongs are marked in two ways: as independent
|
22
|
+
characters (used syllable-initially) and in an abbreviated form, to denote vowels after
|
23
|
+
consonants. The romanization table is unambiguous but the user would have to recognize
|
24
|
+
many ligatures not given in the original table (only three are given). The system is mostly
|
25
|
+
reversible but there may exist some ambiguities in the romanization of vowels (independent
|
26
|
+
vs. abbreviated characters) and consonants
|
27
|
+
|
28
|
+
notes:
|
29
|
+
- |
|
30
|
+
It is recommended that the vowel अ (a) should always be romanized except when it ends a
|
31
|
+
name. If a name ends with a consonant, the consonant should carry a sub-macron. Such
|
32
|
+
cases, however, will be very rare. For example, कानपुर Kānapur (not Kānapura), जगत्
|
33
|
+
Jagat.
|
34
|
+
- |
|
35
|
+
If each letter of a digraph or any two parts of a trigraph has a distinct independent sound
|
36
|
+
then it should be indicated by a hyphen, thus d-h.
|
37
|
+
|
38
|
+
######################################## Additional Note ############################################################
|
39
|
+
# It is recommended that the vowel अ (a) should always be romanized except when it ends a #
|
40
|
+
# name. In the scheme we are not yet able to detect a name. Analysing language pattern and the example #
|
41
|
+
# we found that actually when a word ends with a consonant it should be transliterated without the vowel in it. #
|
42
|
+
# so we are applying this rule as if a word ends with a consonant, in this case we are removing the ending 'a'. #
|
43
|
+
#####################################################################################################################
|
44
|
+
|
45
|
+
tests:
|
46
|
+
- source: "दिल्ली"
|
47
|
+
expected: "dillī"
|
48
|
+
- source: "भारत"
|
49
|
+
expected: "bhārat"
|
50
|
+
- source: "परिपक्क"
|
51
|
+
expected: "paripakk"
|
52
|
+
- source: "जगत्"
|
53
|
+
expected: "jagat"
|
54
|
+
- source: "संख्या"
|
55
|
+
expected: "saṁkhyā"
|
56
|
+
- source: "गंभीर मरीजों के मामले में भारत दूसरे नंबर पर"
|
57
|
+
expected: "gaṁbhīr marījoṁ ke māmale meṁ bhārat dūsare naṁbar par"
|
58
|
+
- source: "कोरोना अपडेट्स"
|
59
|
+
expected: "koronā apaḍeṭs"
|
60
|
+
- source: "सीडीसी चीफ का बयान अहम"
|
61
|
+
expected: "sīḍīsī chīph kā bayān aham"
|
62
|
+
- source: "गूगल प्ले स्टोर पर पेटीएम की वापसी"
|
63
|
+
expected: "gūgal ple sṭor par peṭīem kī vāpasī"
|
64
|
+
- source: "भारत में गैंबलिंग की इजाजत नहीं"
|
65
|
+
expected: "bhārat meṁ gaiṁbaliṁg kī ijājat nahīṁ"
|
66
|
+
- source: "कोरोना वैक्सीन मुद्दे पर घिरे राष्ट्रपति; जो बाइडेन बोले- मुझे और देश को वैज्ञानिकों पर भरोसा है, डोनाल्ड ट्रम्प पर नहीं"
|
67
|
+
expected: "koronā vaiksīn mudde par ghire rāṣhṭrapati; jo bāiḍen bole- mujhe aur desh ko vaijñānikoṁ par bharosā hai, ḍonālḍ ṭramp par nahīṁ"
|
68
|
+
- source: "गूगल की कार्रवाई पर पेटीएम ने कहा था कि ऐप को अस्थायी तौर पर प्ले-स्टोर से हटाया गया है, आपके पैसे सुरक्षित हैं"
|
69
|
+
expected: "gūgal kī kārravāī par peṭīem ne kahā thā ki aip ko asthāyī taur par ple-sṭor se haṭāyā gayā hai, āpake paise surakṣhit haiṁ"
|
70
|
+
|
71
|
+
map:
|
72
|
+
|
73
|
+
rules:
|
74
|
+
- pattern: (([क]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([क])(?=\b))
|
75
|
+
result: 'k'
|
76
|
+
- pattern: (([ख]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([ख])(?=\b))
|
77
|
+
result: 'kh'
|
78
|
+
- pattern: (([ग]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([ग])(?=\b))
|
79
|
+
result: 'g'
|
80
|
+
- pattern: (([घ]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([घ])(?=\b))
|
81
|
+
result: 'gh'
|
82
|
+
- pattern: (([ङ]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([ङ])(?=\b))
|
83
|
+
result: 'ṅ'
|
84
|
+
- pattern: (([च]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([च])(?=\b))
|
85
|
+
result: 'ch'
|
86
|
+
- pattern: (([छ]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([छ])(?=\b))
|
87
|
+
result: 'chh'
|
88
|
+
- pattern: (([ज]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([ज])(?=\b))
|
89
|
+
result: 'j'
|
90
|
+
- pattern: (([झ]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([झ])(?=\b))
|
91
|
+
result: 'jh'
|
92
|
+
- pattern: (([ञ]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([ञ])(?=\b))
|
93
|
+
result: 'ñ'
|
94
|
+
- pattern: (([ट]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([ट])(?=\b))
|
95
|
+
result: 'ṭ'
|
96
|
+
- pattern: (([ठ]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([ठ])(?=\b))
|
97
|
+
result: 'ṭh'
|
98
|
+
- pattern: (([ड]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([ड])(?=\b))
|
99
|
+
result: 'ḍ'
|
100
|
+
- pattern: (([ढ]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([ढ])(?=\b))
|
101
|
+
result: 'ḍh'
|
102
|
+
- pattern: (([ण]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([ण])(?=\b))
|
103
|
+
result: 'ṇ'
|
104
|
+
- pattern: (([त]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([त])(?=\b))
|
105
|
+
result: 't'
|
106
|
+
- pattern: (([थ]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([थ])(?=\b))
|
107
|
+
result: 'th'
|
108
|
+
- pattern: (([द]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([द])(?=\b))
|
109
|
+
result: 'd'
|
110
|
+
- pattern: (([ध]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([ध])(?=\b))
|
111
|
+
result: 'dh'
|
112
|
+
- pattern: (([न]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([न])(?=\b))
|
113
|
+
result: 'n'
|
114
|
+
- pattern: (([प]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([प])(?=\b))
|
115
|
+
result: 'p'
|
116
|
+
- pattern: (([फ]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([फ])(?=\b))
|
117
|
+
result: 'ph'
|
118
|
+
- pattern: (([ब]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([ब])(?=\b))
|
119
|
+
result: 'b'
|
120
|
+
- pattern: (([भ]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([भ])(?=\b))
|
121
|
+
result: 'bh'
|
122
|
+
- pattern: (([म]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([म])(?=\b))
|
123
|
+
result: 'm'
|
124
|
+
- pattern: (([य]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([य])(?=\b))
|
125
|
+
result: 'y'
|
126
|
+
- pattern: (([र]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([र])(?=\b))
|
127
|
+
result: 'r'
|
128
|
+
- pattern: (([ल]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([ल])(?=\b))
|
129
|
+
result: 'l'
|
130
|
+
- pattern: (([व]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([व])(?=\b))
|
131
|
+
result: 'v'
|
132
|
+
- pattern: (([श]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([श])(?=\b))
|
133
|
+
result: 'sh'
|
134
|
+
- pattern: (([ष]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([ष])(?=\b))
|
135
|
+
result: 'ṣh'
|
136
|
+
- pattern: (([स]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([स])(?=\b))
|
137
|
+
result: 's'
|
138
|
+
- pattern: (([क़]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([क़])(?=\b))
|
139
|
+
result: 'q'
|
140
|
+
- pattern: (([ख़]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([ख़])(?=\b))
|
141
|
+
result: 'ḳh'
|
142
|
+
- pattern: (([ग़]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([ग़])(?=\b))
|
143
|
+
result: 'g'
|
144
|
+
- pattern: (([ज़]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([ज़])(?=\b))
|
145
|
+
result: 'z'
|
146
|
+
- pattern: (([ड़]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([ड़])(?=\b))
|
147
|
+
result: 'ṙ'
|
148
|
+
- pattern: (([ढ़]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([ढ़])(?=\b))
|
149
|
+
result: 'ṙh'
|
150
|
+
- pattern: (([फ़]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([फ़])(?=\b))
|
151
|
+
result: 'f'
|
152
|
+
- pattern: (([ह]=?)(?=[\u093E\u093F\u0940\u0941\u0942\u0943\u0944\u0945\u0947\u0948\u0949\u094B\u094C\u0020\u094d]))|(([ह])(?=\b))
|
153
|
+
result: 'h'
|
154
|
+
|
155
|
+
characters:
|
156
|
+
|
157
|
+
# I. Independent vowel characters
|
158
|
+
'अ': 'a'
|
159
|
+
'आ': 'ā'
|
160
|
+
'इ': 'i'
|
161
|
+
'ई': 'ī'
|
162
|
+
'उ': 'u'
|
163
|
+
'ऊ': 'ū'
|
164
|
+
'ऋ': 'ṛ'
|
165
|
+
'ॠ': 'ṝ'
|
166
|
+
'ऌ': 'l̤'
|
167
|
+
'ए': 'e'
|
168
|
+
'ऐ': 'ai'
|
169
|
+
'ओ': 'o'
|
170
|
+
'औ': 'au'
|
171
|
+
|
172
|
+
# II. Abbreviated vowel characters
|
173
|
+
|
174
|
+
'ा': "ā" # का
|
175
|
+
'ॉ': "ā̆ " # additional mark: कॉ
|
176
|
+
'ि': "i" # कि i
|
177
|
+
'ी': "ī" # की
|
178
|
+
'ु': "u" # कु
|
179
|
+
'ू': "ū" # कू
|
180
|
+
'ृ': "ṛ" # कृ
|
181
|
+
'े': "e" # के
|
182
|
+
'ै': "ai" # कै
|
183
|
+
'ो': "o" # को
|
184
|
+
'ौ': "au" # कौ
|
185
|
+
|
186
|
+
|
187
|
+
# Consonants (see Note 1)
|
188
|
+
|
189
|
+
# Gutturals
|
190
|
+
'क': 'ka'
|
191
|
+
'ख': 'kha'
|
192
|
+
'ग': 'ga'
|
193
|
+
'घ': 'gha'
|
194
|
+
'ङ': 'ṅa'
|
195
|
+
|
196
|
+
# Palatals
|
197
|
+
'च': 'cha'
|
198
|
+
'छ': 'chha'
|
199
|
+
'ज': 'ja'
|
200
|
+
'झ': 'jha'
|
201
|
+
'ञ': 'ña'
|
202
|
+
|
203
|
+
# Cerebrals
|
204
|
+
'ट': 'ṭa'
|
205
|
+
'ठ': 'ṭha'
|
206
|
+
'ड': 'ḍa'
|
207
|
+
'ढ': 'ḍha'
|
208
|
+
'ण': 'ṇa'
|
209
|
+
|
210
|
+
# Dentals
|
211
|
+
'त': 'ta'
|
212
|
+
'थ': 'tha'
|
213
|
+
'द': 'da'
|
214
|
+
'ध': 'dha'
|
215
|
+
'न': 'na'
|
216
|
+
|
217
|
+
# Labials
|
218
|
+
'प': 'pa'
|
219
|
+
'फ': 'pha'
|
220
|
+
'ब': 'ba'
|
221
|
+
'भ': 'bha'
|
222
|
+
'म': 'ma'
|
223
|
+
|
224
|
+
# Semivowels
|
225
|
+
'य': 'ya'
|
226
|
+
'र': 'ra'
|
227
|
+
'ल': 'la'
|
228
|
+
'व': 'va'
|
229
|
+
|
230
|
+
# Sibilants
|
231
|
+
'श': 'sha'
|
232
|
+
'ष': 'ṣha'
|
233
|
+
'स': 'sa'
|
234
|
+
|
235
|
+
# Dotted variants
|
236
|
+
'क़': 'qa'
|
237
|
+
'ख़': 'ḳha'
|
238
|
+
'ग़': 'ġa'
|
239
|
+
'ज़': 'za'
|
240
|
+
'ड़': 'ṙa'
|
241
|
+
'ढ़': 'ṙha'
|
242
|
+
'फ़': 'fa'
|
243
|
+
|
244
|
+
|
245
|
+
# Aspirate
|
246
|
+
'ह': 'ha'
|
247
|
+
|
248
|
+
# Anusvāra
|
249
|
+
'ं': 'ṁ'
|
250
|
+
|
251
|
+
# Anunāsika
|
252
|
+
'ँ': 'm̐'
|
253
|
+
|
254
|
+
# halanta
|
255
|
+
'्': ''
|
256
|
+
|
257
|
+
# bisharga
|
258
|
+
'ः' : 'ḥ'
|
259
|
+
|
260
|
+
#V. Ligatures(To cover all Ligatures at unicode)
|
261
|
+
# Implemnting Pronunciation without a vowel: क् k.
|
262
|
+
|
263
|
+
# Gutturals
|
264
|
+
'क्': 'k'
|
265
|
+
'ख्': 'kh'
|
266
|
+
'ग्': 'g'
|
267
|
+
'घ्': 'gh'
|
268
|
+
'ङ्': 'ṅ'
|
269
|
+
|
270
|
+
# Palatals
|
271
|
+
'च्': 'ch'
|
272
|
+
'छ्': 'chh'
|
273
|
+
'ज्': 'j'
|
274
|
+
'झ्': 'jh'
|
275
|
+
'ञ्': 'ñ'
|
276
|
+
|
277
|
+
# Cerebrals
|
278
|
+
'ट्': 'ṭ'
|
279
|
+
'ठ्': 'ṭh'
|
280
|
+
'ड्': 'ḍ'
|
281
|
+
'ढ्': 'ḍh'
|
282
|
+
'ण्': 'ṇ'
|
283
|
+
|
284
|
+
# Dentals
|
285
|
+
'त्': 't'
|
286
|
+
'थ्': 'th'
|
287
|
+
'द्': 'd'
|
288
|
+
'ध्': 'dh'
|
289
|
+
'न्': 'n'
|
290
|
+
|
291
|
+
# Labials
|
292
|
+
'प्': 'p'
|
293
|
+
'फ्': 'ph'
|
294
|
+
'ब्': 'b'
|
295
|
+
'भ्': 'bh'
|
296
|
+
'म्': 'm'
|
297
|
+
|
298
|
+
# Semivowels
|
299
|
+
'य्': 'y'
|
300
|
+
'र्': 'r'
|
301
|
+
'ल्': 'l'
|
302
|
+
'व्': 'v'
|
303
|
+
|
304
|
+
# Sibilants
|
305
|
+
'श्': 'sh'
|
306
|
+
'ष्': 'ṣh'
|
307
|
+
'स्': 's'
|
308
|
+
|
309
|
+
# Dotted variants
|
310
|
+
'क़्': 'q'
|
311
|
+
'ख़्': 'ḳh'
|
312
|
+
'ग़्': 'ġ'
|
313
|
+
'ज़्': 'z'
|
314
|
+
'ड़्': 'ṙ'
|
315
|
+
'ढ़्': 'ṙh'
|
316
|
+
'फ़्': 'f'
|
@@ -0,0 +1,254 @@
|
|
1
|
+
---
|
2
|
+
authority_id: ungegn
|
3
|
+
id: 2016
|
4
|
+
language: iso-639-2:kan
|
5
|
+
source_script: Kana
|
6
|
+
destination_script: Latn
|
7
|
+
name: REPORT ON THE CURRENT STATUS OF UNITED NATIONS ROMANIZATION SYSTEMS FOR GEOGRAPHICAL NAMES -- Kannada Romanization, 1972
|
8
|
+
url: https://www.eki.ee/wgrs/rom1_kn.pdf
|
9
|
+
creation_date: 1972
|
10
|
+
confirmation_date: 2016
|
11
|
+
description: |
|
12
|
+
The United Nations recommended system was approved in 1972 (II/11) and amended in 1977
|
13
|
+
(III/12), based on a report prepared by D. N. Sharma. The tables and their corrections were
|
14
|
+
published in volume II of the conference reports
|
15
|
+
|
16
|
+
There is no evidence of the use of the system either in India or in international cartographic
|
17
|
+
products.
|
18
|
+
|
19
|
+
Kannada uses an alphasyllabic script whereby each character represents a syllable rather than
|
20
|
+
one sound. Vowels and diphthongs are marked in two ways: as independent characters (used
|
21
|
+
syllable-initially) and in an abbreviated form, to denote vowels after consonants. The
|
22
|
+
romanization table is unambiguous. The system is mostly reversible but there may exist some
|
23
|
+
ambiguities in the romanization of vowels (independent vs. abbreviated characters) and
|
24
|
+
consonants (combinations with subscript consonants vs. character sequences).
|
25
|
+
|
26
|
+
notes:
|
27
|
+
- |
|
28
|
+
While most consonants have a diacritic in the upper right corner of the character (like ಕ),
|
29
|
+
some do not, e.g. ಖ kha, ಜ ja, ನ na, ಬ ba, ಲ la.
|
30
|
+
- |
|
31
|
+
Combinations with r as the first component are written by adding a special symbol after the
|
32
|
+
second consonant: ರ್ಗ rga.
|
33
|
+
|
34
|
+
|
35
|
+
tests:
|
36
|
+
- source: "ಕರ್ಣಾಟಕ"
|
37
|
+
expected: "karṇāṭaka"
|
38
|
+
- source: "ಬೆಂಗಳೂರು"
|
39
|
+
expected: "bĕṁgaḷūru"
|
40
|
+
- source: "ಮಹಾರಾಷ್ಟ್ರದ ಯಾವುದೇ ಪ್ರಕರಣದ ತನಿಖೆಗೆ ಇನ್ನು ಸಿಬಿಐ ಪಡೆಯಬೇಕು ಅನುಮತಿ"
|
41
|
+
expected: "mahārāṣhṭrada yāvude prakaraṇada tanikhĕgĕ innu sibiai paḍĕyabeku anumati"
|
42
|
+
- source: "ಹರಕು ಬಾಯಿ: ಈಶ್ವರಪ್ಪಗೆ ಶಾಸಕ ಯತ್ನಾಳ ತಿರುಗೇಟು"
|
43
|
+
expected: "haraku bāyi: īshvarappagĕ shāsaka yatnāḷa tirugeṭu"
|
44
|
+
- source: "ಹಾಥರಸ್ ಪ್ರಕರಣ: ೨೯ರಂದು ರಾಷ್ಟ್ರವ್ಯಾಪಿ ಪ್ರತಿಭಟನೆಗೆ ಮಹಿಳಾ ಸಂಘಟನೆಗಳ ಕರೆ"
|
45
|
+
expected: "hātharas prakaraṇa: 29raṁdu rāṣhṭravyāpi pratibhaṭanĕgĕ mahiḷā saṁghaṭanĕgaḷa karĕ"
|
46
|
+
- source: "ಪೊಲೀಸ್ ಮಕ್ಕಳ ಶಾಲೆ ಮುಚ್ಚುವ ಯತ್ನಕ್ಕೆ ಹೊರಟ್ಟಿ ತೀವ್ರ ವಿರೋಧ"
|
47
|
+
expected: "pŏlīs makkaḷa shālĕ muchchuva yatnakkĕ hŏraṭṭi tīvra virodha"
|
48
|
+
- source: "ಅಮೆರಿಕ ಅಧ್ಯಕ್ಷೀಯ ಚುನಾವಣೆ: ಟ್ರಂಪ್–ಬೈಡನ್ ಅಂತಿಮ ಮುಖಾಮುಖಿಗೆ ವೇದಿಕೆ ಸಿದ್ಧ"
|
49
|
+
expected: "amĕrika adhyakṣhīya chunāvaṇĕ: ṭraṁp–baiḍan aṁtima mukhāmukhigĕ vedikĕ siddha"
|
50
|
+
- source: "ಅಂಜನಾದ್ರಿ ಆಂಜನೇಯನ ದರ್ಶನ ಪಡೆದ ಪವರ್ ಸ್ಟಾರ್ ಪುನೀತ್ ರಾಜ್ ಕುಮಾರ್"
|
51
|
+
expected: "aṁjanādri āṁjaneyana darshana paḍĕda pavar sṭār punīt rāj kumār"
|
52
|
+
- source: "ಇನ್ನು ಹಿಂದೂ ದೇವಸ್ಥಾನದ ಧಾರ್ಮಿಕ ಕಾರ್ಯದಲ್ಲಿ ಭಾಗಿಯಾಗಿದ್ದಕ್ಕೆ ಮೋಯಿದ್ದೀನ್ ಬಾವಾಗೆ ಬೆದರಿಕೆ ಒಡ್ಡಲಾಗಿದೆ"
|
53
|
+
expected: "innu hiṁdū devasthānada dhārmika kāryadalli bhāgiyāgiddakkĕ moyiddīn bāvāgĕ bĕdarikĕ ŏḍḍalāgidĕ"
|
54
|
+
- source: "ಇದು ಮೋದಿ ದೇಶ - ದನ ತಿಂದು ಹೋದ್ರೆ ಹುಷಾರ್ : ದೇಗುಲಕ್ಕೆ ಹೋಗಿದ್ದ ಬಾವಾಗೆ ಬೆದರಿಕೆ"
|
55
|
+
expected: "idu modi desha - dana tiṁdu hodrĕ huṣhār : degulakkĕ hogidda bāvāgĕ bĕdarikĕ"
|
56
|
+
|
57
|
+
map:
|
58
|
+
|
59
|
+
rules:
|
60
|
+
# to cover diacritic and vowel less consonants
|
61
|
+
- pattern: ([ಕ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
62
|
+
result: 'k'
|
63
|
+
- pattern: ([ಖ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
64
|
+
result: 'kh'
|
65
|
+
- pattern: ([ಗ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
66
|
+
result: 'g'
|
67
|
+
- pattern: ([ಘ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
68
|
+
result: 'gh'
|
69
|
+
- pattern: ([ಙ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
70
|
+
result: 'ṅ'
|
71
|
+
- pattern: ([ಚ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
72
|
+
result: 'ch'
|
73
|
+
- pattern: ([ಛ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
74
|
+
result: 'chh'
|
75
|
+
- pattern: ([ಜ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
76
|
+
result: 'j'
|
77
|
+
- pattern: ([ಝ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
78
|
+
result: 'jh'
|
79
|
+
- pattern: ([ಞ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
80
|
+
result: 'ñ'
|
81
|
+
- pattern: ([ಟ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
82
|
+
result: 'ṭ'
|
83
|
+
- pattern: ([ಠ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
84
|
+
result: 'ṭh'
|
85
|
+
- pattern: ([ಡ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
86
|
+
result: 'ḍ'
|
87
|
+
- pattern: ([ಢ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
88
|
+
result: 'ḍh'
|
89
|
+
- pattern: ([ಣ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
90
|
+
result: 'ṇ'
|
91
|
+
- pattern: ([ತ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
92
|
+
result: 't'
|
93
|
+
- pattern: ([ಥ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
94
|
+
result: 'th'
|
95
|
+
- pattern: ([ದ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
96
|
+
result: 'd'
|
97
|
+
- pattern: ([ಧ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
98
|
+
result: 'dh'
|
99
|
+
- pattern: ([ನ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
100
|
+
result: 'n'
|
101
|
+
- pattern: ([ಪ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
102
|
+
result: 'p'
|
103
|
+
- pattern: ([ಫ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
104
|
+
result: 'ph'
|
105
|
+
- pattern: ([ಬ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
106
|
+
result: 'b'
|
107
|
+
- pattern: ([ಭ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
108
|
+
result: 'bh'
|
109
|
+
- pattern: ([ಮ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
110
|
+
result: 'm'
|
111
|
+
- pattern: ([ಯ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
112
|
+
result: 'y'
|
113
|
+
- pattern: ([ರ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
114
|
+
result: 'r'
|
115
|
+
- pattern: ([ಲ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
116
|
+
result: 'l'
|
117
|
+
- pattern: ([ಳ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
118
|
+
result: 'ḷ'
|
119
|
+
- pattern: ([ವ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
120
|
+
result: 'v'
|
121
|
+
- pattern: ([ಶ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
122
|
+
result: 'sh'
|
123
|
+
- pattern: ([ಷ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
124
|
+
result: 'ṣh'
|
125
|
+
- pattern: ([ಸ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
126
|
+
result: 's'
|
127
|
+
- pattern: ([ಹ]=?)(?=[\u0cbe\u0cbf\u0cc0\u0cc1\u0cc2\u0cc3\u0cc6\u0cc7\u0cc8\u0cca\u0ccb\u0ccc\u0ccd])
|
128
|
+
result: 'h'
|
129
|
+
|
130
|
+
characters:
|
131
|
+
'ಅ': 'a'
|
132
|
+
'ಆ': 'ā'
|
133
|
+
'ಇ': 'i'
|
134
|
+
'ಈ': 'ī'
|
135
|
+
'ಉ': 'u'
|
136
|
+
'ಊ': 'ū'
|
137
|
+
'ಋ': 'ṛ'
|
138
|
+
|
139
|
+
'ಎ': 'ĕ'
|
140
|
+
'ಏ': 'e'
|
141
|
+
'ಐ': 'ai'
|
142
|
+
|
143
|
+
'ಒ': 'ŏ'
|
144
|
+
'ಓ': 'o'
|
145
|
+
'ಔ': 'au'
|
146
|
+
|
147
|
+
# Gutturals
|
148
|
+
'ಕ': 'ka'
|
149
|
+
'ಖ': 'kha'
|
150
|
+
'ಗ': 'ga'
|
151
|
+
'ಘ': 'gha'
|
152
|
+
'ಙ': 'ṅa'
|
153
|
+
|
154
|
+
# Palatals
|
155
|
+
'ಚ': 'cha'
|
156
|
+
'ಛ': 'chha'
|
157
|
+
'ಜ': 'ja'
|
158
|
+
'ಝ': 'jha'
|
159
|
+
'ಞ': 'ña'
|
160
|
+
|
161
|
+
# Cerebrals
|
162
|
+
'ಟ': 'ṭa'
|
163
|
+
'ಠ': 'ṭha'
|
164
|
+
'ಡ': 'ḍa'
|
165
|
+
'ಢ': 'ḍha'
|
166
|
+
'ಣ': 'ṇa'
|
167
|
+
|
168
|
+
# Dentals
|
169
|
+
'ತ': 'ta'
|
170
|
+
'ಥ': 'tha'
|
171
|
+
'ದ': 'da'
|
172
|
+
'ಧ': 'dha'
|
173
|
+
'ನ': 'na'
|
174
|
+
|
175
|
+
# Labials
|
176
|
+
'ಪ': 'pa'
|
177
|
+
'ಫ': 'pha'
|
178
|
+
'ಬ': 'ba'
|
179
|
+
'ಭ': 'bha'
|
180
|
+
'ಮ': 'ma'
|
181
|
+
|
182
|
+
# Semivowels
|
183
|
+
'ಯ': 'ya'
|
184
|
+
'ರ': 'ra'
|
185
|
+
'ಲ': 'la'
|
186
|
+
'ಳ': 'ḷa'
|
187
|
+
|
188
|
+
|
189
|
+
'ವ': 'va'
|
190
|
+
|
191
|
+
# Sibilants
|
192
|
+
'ಶ': 'sha'
|
193
|
+
'ಷ': 'ṣha'
|
194
|
+
'ಸ': 'sa'
|
195
|
+
|
196
|
+
|
197
|
+
# Aspirate
|
198
|
+
'ಹ': 'ha'
|
199
|
+
|
200
|
+
|
201
|
+
# Bisarga
|
202
|
+
'ಃ': 'ḥ'
|
203
|
+
|
204
|
+
# Anusvāra
|
205
|
+
'ಂ': 'ṁ'
|
206
|
+
|
207
|
+
'\u0cbc': '' #nukta
|
208
|
+
|
209
|
+
# Medials # Needed for connecting constants
|
210
|
+
'ಾ': "ā"
|
211
|
+
'ಿ': "i"
|
212
|
+
'ೀ': "ī"
|
213
|
+
'ು': "u"
|
214
|
+
'ೂ': "ū"
|
215
|
+
'ೃ': "ṛ"
|
216
|
+
|
217
|
+
|
218
|
+
'ೆ': "ĕ"
|
219
|
+
'ೇ': "e"
|
220
|
+
'ೈ': "ai"
|
221
|
+
|
222
|
+
|
223
|
+
'ೊ': 'ŏ'
|
224
|
+
'ೋ': 'o'
|
225
|
+
'ೌ': 'au'
|
226
|
+
|
227
|
+
|
228
|
+
'्': ''
|
229
|
+
'़': ''
|
230
|
+
'್': '' # used for pronounciation without vowel
|
231
|
+
"": '' # no need for zero with joiner
|
232
|
+
"": '' # no need for zero with non joiner
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
# Digits
|
237
|
+
|
238
|
+
'೦': '0'
|
239
|
+
'೧': '1'
|
240
|
+
'೨': '2'
|
241
|
+
'೩': '3'
|
242
|
+
'೪': '4'
|
243
|
+
'೫': '5'
|
244
|
+
'೬': '6'
|
245
|
+
'೭': '7'
|
246
|
+
'೮': '8'
|
247
|
+
'೯': '9'
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
|
254
|
+
|