interscript 0.1.1 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.adoc +250 -17
- data/bin/interscript +38 -17
- data/bin/setup +8 -0
- data/lib/__pycache__/g2pwrapper.cpython-38.pyc +0 -0
- data/lib/g2pwrapper.py +34 -0
- data/lib/interscript-opal.rb +2 -0
- data/lib/interscript.rb +138 -20
- data/lib/interscript/command.rb +28 -0
- data/lib/interscript/fs.rb +71 -0
- data/lib/interscript/mapping.rb +142 -0
- data/lib/interscript/opal.rb +27 -0
- data/lib/interscript/opal/maps.js.erb +10 -0
- data/lib/interscript/opal_map_translate.rb +12 -0
- data/lib/interscript/version.rb +1 -1
- data/lib/model-7 +0 -0
- data/lib/tha-pt-b-7 +0 -0
- data/maps/acadsin-zho-Hani-Latn-2002.yaml +38912 -0
- data/maps/alalc-amh-Ethi-Latn-1997.yaml +509 -0
- data/maps/alalc-amh-Ethi-Latn-2011.yaml +138 -0
- data/maps/alalc-ara-Arab-Latn-1997.yaml +1283 -0
- data/maps/alalc-asm-Deva-Latn-1997.yaml +159 -0
- data/maps/alalc-aze-Cyrl-Latn-1997.yaml +141 -0
- data/maps/alalc-bel-Cyrl-Latn-1997.yaml +125 -0
- data/maps/alalc-ben-Beng-Latn-2017.yaml +130 -0
- data/maps/alalc-bul-Cyrl-Latn-1997.yaml +94 -0
- data/maps/alalc-ell-Grek-Latn-1997.yaml +624 -0
- data/maps/alalc-ell-Grek-Latn-2010.yaml +627 -0
- data/maps/alalc-hin-Deva-Latn-2020.yaml +159 -0
- data/maps/alalc-kat-Geok-Latn-1997.yaml +111 -0
- data/maps/alalc-kat-Geor-Latn-1997.yaml +146 -0
- data/maps/alalc-kor-Hang-Latn-1997.yaml +94 -0
- data/maps/alalc-mar-Deva-Latn-1997.yaml +170 -0
- data/maps/alalc-mkd-Cyrl-Latn-1997.yaml +114 -0
- data/maps/alalc-mkd-Cyrl-Latn-2013.yaml +103 -0
- data/maps/alalc-pan-Deva-Latn-1997.yaml +237 -0
- data/maps/alalc-rus-Cyrl-Latn-1997.yaml +221 -0
- data/maps/alalc-rus-Cyrl-Latn-2012.yaml +162 -0
- data/maps/alalc-srp-Cyrl-Latn-1997.yaml +114 -0
- data/maps/alalc-srp-Cyrl-Latn-2013.yaml +135 -0
- data/maps/alalc-ukr-Cyrl-Latn-1997.yaml +141 -0
- data/maps/alalc-ukr-Cyrl-Latn-2011.yaml +16 -0
- data/maps/apcbg-bul-Cyrl-Latn-1995.yaml +283 -0
- data/maps/bas-rus-Cyrl-Latn-2017-bss.yaml +174 -0
- data/maps/bas-rus-Cyrl-Latn-2017-oss.yaml +169 -0
- data/maps/bgn-jpn-Hrkt-Latn-1962.yaml +292 -0
- data/maps/bgn-kor-Hang-Latn-1943.yaml +31 -0
- data/maps/bgn-kor-Kore-Latn-1943.yaml +31 -0
- data/maps/bgna-bul-Cyrl-Latn-2006.yaml +208 -0
- data/maps/bgna-bul-Cyrl-Latn-2009.yaml +208 -0
- data/maps/bgnpcgn-amh-Ethi-Latn-1967.yaml +528 -0
- data/maps/bgnpcgn-ara-Arab-Latn-1956.yaml +592 -0
- data/maps/bgnpcgn-arm-Armn-Latn-1981.yaml +108 -0
- data/maps/bgnpcgn-aze-Cyrl-Latn-1993.yaml +104 -0
- data/maps/bgnpcgn-bak-Cyrl-Latn-2007.yaml +184 -0
- data/maps/bgnpcgn-bel-Cyrl-Latn-1979.yaml +285 -0
- data/maps/bgnpcgn-bul-Cyrl-Latn-1952.yaml +115 -0
- data/maps/bgnpcgn-bul-Cyrl-Latn-2013.yaml +38 -0
- data/maps/bgnpcgn-ell-Grek-Latn-1962.yaml +701 -0
- data/maps/bgnpcgn-ell-Grek-Latn-1996.yaml +19 -0
- data/maps/bgnpcgn-jpn-Hrkt-Latn-1976.yaml +257 -0
- data/maps/bgnpcgn-kat-Geor-Latn-1981.yaml +127 -0
- data/maps/bgnpcgn-kat-Geor-Latn-2009.yaml +42 -0
- data/maps/bgnpcgn-kor-Hang-Latn-kn-1945.yaml +253 -0
- data/maps/bgnpcgn-kor-Hang-Latn-rok-2011.yaml +48 -0
- data/maps/bgnpcgn-kor-Kore-Latn-rok-2011.yaml +48 -0
- data/maps/bgnpcgn-mkd-Cyrl-Latn-1981.yaml +159 -0
- data/maps/bgnpcgn-mkd-Cyrl-Latn-2013.yaml +190 -0
- data/maps/bgnpcgn-nep-Deva-Latn-2011.yaml +200 -0
- data/maps/bgnpcgn-per-Arab-Latn-1956.yaml +92 -0
- data/maps/bgnpcgn-rus-Cyrl-Latn-1947.yaml +314 -0
- data/maps/bgnpcgn-srp-Cyrl-Latn-2005.yaml +166 -0
- data/maps/bgnpcgn-ukr-Cyrl-Latn-1965.yaml +162 -0
- data/maps/bgnpcgn-ukr-Cyrl-Latn-2019.yaml +208 -0
- data/maps/bgnpcgn-zho-Hans-Latn-1979.yaml +7456 -0
- 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-gjr-Gujr-Latn-13194-1991.yaml +166 -0
- data/maps/bis-knd-Knda-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 +160 -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 +168 -0
- data/maps/by-bel-Cyrl-Latn-2007.yaml +115 -0
- data/maps/dos-nep-Deva-Latn-1997.yaml +33 -0
- data/maps/elot-ell-Grek-Latn-743-1982-tl.yaml +684 -0
- data/maps/elot-ell-Grek-Latn-743-1982-ts.yaml +680 -0
- data/maps/elot-ell-Grek-Latn-743-2001-tl.yaml +19 -0
- data/maps/elot-ell-Grek-Latn-743-2001-ts.yaml +31 -0
- data/maps/ggg-kat-Geor-Latn-2002.yaml +88 -0
- data/maps/gki-bel-Cyrl-Latn-1992.yaml +33 -0
- data/maps/gki-bel-Cyrl-Latn-2000.yaml +201 -0
- data/maps/gost-rus-Cyrl-Latn-16876-71-1983.yaml +186 -0
- data/maps/hk-yue-Hani-Latn-1888.yaml +38497 -0
- data/maps/icao-bel-Cyrl-Latn-9303.yaml +136 -0
- data/maps/icao-bul-Cyrl-Latn-9303.yaml +118 -0
- data/maps/icao-heb-Hebr-Latn-9303.yaml +151 -0
- data/maps/icao-mkd-Cyrl-Latn-9303.yaml +117 -0
- data/maps/icao-per-Arab-Latn-9303.yaml +103 -0
- data/maps/icao-rus-Cyrl-Latn-9303.yaml +117 -0
- data/maps/icao-srp-Cyrl-Latn-9303.yaml +117 -0
- data/maps/icao-ukr-Cyrl-Latn-9303.yaml +119 -0
- data/maps/iso-ara-Arab-Latn-233-1984.yaml +323 -0
- data/maps/iso-ell-Grek-Latn-843-1997-t1.yaml +609 -0
- data/maps/iso-ell-Grek-Latn-843-1997-t2.yaml +40 -0
- data/maps/iso-jpn-Hrkt-Latn-3602-1989.yaml +62 -0
- data/maps/iso-rus-Cyrl-Latn-9-1995.yaml +271 -0
- data/maps/iso-tha-Thai-Latn-11940-1998.yaml +109 -0
- data/maps/kp-kor-Hang-Latn-2002.yaml +901 -0
- data/maps/lshk-yue-Hani-Latn-jyutping-1993.yaml +44820 -0
- data/maps/mext-jpn-Hrkt-Latn-1954.yaml +411 -0
- data/maps/moct-kor-Hang-Latn-2000.yaml +803 -0
- data/maps/mofa-jpn-Hrkt-Latn-1989.yaml +541 -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/nil-kor-Hang-Hang-jamo.yaml +11193 -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-2015.yaml +96 -0
- data/maps/odni-hin-Deva-Latn-2015.yaml +258 -0
- data/maps/odni-kat-Geor-Latn-2015.yaml +87 -0
- data/maps/odni-kaz-Cyrl-Latn-2015.yaml +148 -0
- data/maps/odni-kir-Cyrl-Latn-2015.yaml +136 -0
- data/maps/odni-mkd-Cyrl-Latn-2015.yaml +122 -0
- data/maps/odni-rus-Cyrl-Latn-2015.yaml +77 -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-uig-Cyrl-Latn-2015.yaml +138 -0
- data/maps/odni-ukr-Cyrl-Latn-2015.yaml +157 -0
- 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 +90 -0
- data/maps/royin-tha-Thai-Latn-1968.yaml +179 -0
- data/maps/royin-tha-Thai-Latn-1999-chained.yaml +180 -0
- data/maps/royin-tha-Thai-Latn-1999.yaml +76 -0
- data/maps/sac-zho-Hans-Latn-1979.yaml +24759 -0
- data/maps/ses-ara-Arab-Latn-1930.yaml +279 -0
- data/maps/stategeocadastre-ukr-Cyrl-Latn-1993.yaml +222 -0
- data/maps/ua-ukr-Cyrl-Latn-1996.yaml +193 -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-bel-Cyrl-Latn-2007.yaml +114 -0
- data/maps/un-ben-Beng-Latn-2016.yaml +534 -0
- data/maps/un-ell-Grek-Latn-1987-tl.yaml +31 -0
- data/maps/un-ell-Grek-Latn-1987-ts.yaml +19 -0
- data/maps/un-ell-Grek-Latn-phonetic-1987.yaml +780 -0
- data/maps/un-mon-Mong-Latn-2013.yaml +99 -0
- data/maps/un-nep-Deva-Latn-1972.yaml +163 -0
- data/maps/un-rus-Cyrl-Latn-1987.yaml +166 -0
- data/maps/un-ukr-Cyrl-Latn-1998.yaml +30 -0
- data/maps/ungegn-amh-Ethi-Latn-2016.yaml +575 -0
- data/maps/var-jpn-Hrkt-Latn-hepburn-1886.yaml +406 -0
- data/maps/var-jpn-Hrkt-Latn-hepburn-1954.yaml +386 -0
- data/maps/var-kor-Hang-Latn-mr-1939.yaml +1054 -0
- data/maps/var-kor-Kore-Hang-2013.yaml +59754 -0
- data/maps/var-kor-Kore-Latn-mr-1939.yaml +36 -0
- data/maps/var-tha-Thai-Thai-phonemic.yaml +59 -0
- data/maps/var-tha-Thai-Zsym-ipa.yaml +301 -0
- data/maps/var-zho-Hani-Latn-1979.yaml +38908 -0
- data/spec/interscript/mapping_spec.rb +42 -0
- data/spec/interscript_spec.rb +26 -0
- data/spec/spec_helper.rb +3 -0
- metadata +298 -18
@@ -0,0 +1,42 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
require "interscript/mapping"
|
3
|
+
|
4
|
+
RSpec.describe Interscript::Mapping do
|
5
|
+
describe ".for" do
|
6
|
+
context "with a valid system code" do
|
7
|
+
it "returns a serialize system mappings" do
|
8
|
+
system_code = "un-ben-Beng-Latn-2016"
|
9
|
+
mapping = Interscript::Mapping.for(system_code)
|
10
|
+
|
11
|
+
expect(mapping.rules).to be_empty
|
12
|
+
expect(mapping.characters["অ"]).to eq("a")
|
13
|
+
expect(mapping.name).to eq("Bengali Romanization, Version 4.0")
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
context "with valid and inherited system" do
|
18
|
+
it "returns system mappings with inherited rules" do
|
19
|
+
system_code = "alalc-ben-Beng-Latn-2017"
|
20
|
+
|
21
|
+
mapping = Interscript::Mapping.for(system_code)
|
22
|
+
extended = Interscript::Mapping.for("un-ben-Beng-Latn-2016")
|
23
|
+
|
24
|
+
expect(mapping.rules).to be_empty
|
25
|
+
expect(mapping.characters["অ"]).to eq("a")
|
26
|
+
expect(mapping.characters["য"]).to eq("ya")
|
27
|
+
expect(mapping.name).to eq("Bengali Romanization, 2017")
|
28
|
+
expect(mapping.characters.count).to be >= extended.characters.count
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
context "with a invalid system code" do
|
33
|
+
it "raise an ruby exception without any mappings" do
|
34
|
+
invalid_system_code = "lets-make-up-a-system-code"
|
35
|
+
|
36
|
+
expect do
|
37
|
+
Interscript::Mapping.for(invalid_system_code)
|
38
|
+
end.to raise_error(Interscript::InvalidSystemError)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "timeout"
|
4
|
+
require "pycall/import"
|
5
|
+
include PyCall::Import
|
6
|
+
|
7
|
+
RSpec.describe Interscript do
|
8
|
+
mask = ENV["TRANSLIT_SYSTEM"] || "*"
|
9
|
+
maps = {}
|
10
|
+
Dir["maps/#{mask}.yaml"].each do |system_file|
|
11
|
+
context "#{system_file} system" do
|
12
|
+
system = YAML.load_file(system_file)
|
13
|
+
system_name = File.basename(system_file, ".yaml")
|
14
|
+
|
15
|
+
system["tests"]&.reduce([]) do |_, test|
|
16
|
+
it "test for #{test}" do
|
17
|
+
Timeout::timeout(5) do
|
18
|
+
result = Interscript.transliterate(system_name, test["source"], maps) || ""
|
19
|
+
expected = (test["expected"] || "").unicode_normalize
|
20
|
+
expect(result).to eq(expected)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
data/spec/spec_helper.rb
ADDED
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: interscript
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- project_contibutors
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2019-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: thor
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
20
|
-
type: :
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: debase
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,20 +38,62 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: pry
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pycall
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rambling-trie
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
41
83
|
- !ruby/object:Gem::Dependency
|
42
84
|
name: rake
|
43
85
|
requirement: !ruby/object:Gem::Requirement
|
44
86
|
requirements:
|
45
|
-
- - "
|
87
|
+
- - ">="
|
46
88
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
89
|
+
version: '0'
|
48
90
|
type: :development
|
49
91
|
prerelease: false
|
50
92
|
version_requirements: !ruby/object:Gem::Requirement
|
51
93
|
requirements:
|
52
|
-
- - "
|
94
|
+
- - ">="
|
53
95
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
96
|
+
version: '0'
|
55
97
|
- !ruby/object:Gem::Dependency
|
56
98
|
name: rspec
|
57
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,24 +122,259 @@ dependencies:
|
|
80
122
|
- - ">="
|
81
123
|
- !ruby/object:Gem::Version
|
82
124
|
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rambling-trie-opal
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: opal
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 1.0.3
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 1.0.3
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: guard
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: guard-rake
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: closure-compiler
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
83
195
|
description: Interoperable script conversion systems
|
84
|
-
email:
|
196
|
+
email:
|
85
197
|
executables:
|
86
198
|
- interscript
|
87
199
|
- rspec
|
200
|
+
- setup
|
88
201
|
extensions: []
|
89
202
|
extra_rdoc_files: []
|
90
203
|
files:
|
91
204
|
- README.adoc
|
92
205
|
- bin/interscript
|
93
206
|
- bin/rspec
|
207
|
+
- bin/setup
|
208
|
+
- lib/__pycache__/g2pwrapper.cpython-38.pyc
|
209
|
+
- lib/g2pwrapper.py
|
210
|
+
- lib/interscript-opal.rb
|
94
211
|
- lib/interscript.rb
|
212
|
+
- lib/interscript/command.rb
|
213
|
+
- lib/interscript/fs.rb
|
214
|
+
- lib/interscript/mapping.rb
|
215
|
+
- lib/interscript/opal.rb
|
216
|
+
- lib/interscript/opal/maps.js.erb
|
217
|
+
- lib/interscript/opal_map_translate.rb
|
95
218
|
- lib/interscript/version.rb
|
219
|
+
- lib/model-7
|
220
|
+
- lib/tha-pt-b-7
|
221
|
+
- maps/acadsin-zho-Hani-Latn-2002.yaml
|
222
|
+
- maps/alalc-amh-Ethi-Latn-1997.yaml
|
223
|
+
- maps/alalc-amh-Ethi-Latn-2011.yaml
|
224
|
+
- maps/alalc-ara-Arab-Latn-1997.yaml
|
225
|
+
- maps/alalc-asm-Deva-Latn-1997.yaml
|
226
|
+
- maps/alalc-aze-Cyrl-Latn-1997.yaml
|
227
|
+
- maps/alalc-bel-Cyrl-Latn-1997.yaml
|
228
|
+
- maps/alalc-ben-Beng-Latn-2017.yaml
|
229
|
+
- maps/alalc-bul-Cyrl-Latn-1997.yaml
|
230
|
+
- maps/alalc-ell-Grek-Latn-1997.yaml
|
231
|
+
- maps/alalc-ell-Grek-Latn-2010.yaml
|
232
|
+
- maps/alalc-hin-Deva-Latn-2020.yaml
|
233
|
+
- maps/alalc-kat-Geok-Latn-1997.yaml
|
234
|
+
- maps/alalc-kat-Geor-Latn-1997.yaml
|
235
|
+
- maps/alalc-kor-Hang-Latn-1997.yaml
|
236
|
+
- maps/alalc-mar-Deva-Latn-1997.yaml
|
237
|
+
- maps/alalc-mkd-Cyrl-Latn-1997.yaml
|
238
|
+
- maps/alalc-mkd-Cyrl-Latn-2013.yaml
|
239
|
+
- maps/alalc-pan-Deva-Latn-1997.yaml
|
240
|
+
- maps/alalc-rus-Cyrl-Latn-1997.yaml
|
241
|
+
- maps/alalc-rus-Cyrl-Latn-2012.yaml
|
242
|
+
- maps/alalc-srp-Cyrl-Latn-1997.yaml
|
243
|
+
- maps/alalc-srp-Cyrl-Latn-2013.yaml
|
244
|
+
- maps/alalc-ukr-Cyrl-Latn-1997.yaml
|
245
|
+
- maps/alalc-ukr-Cyrl-Latn-2011.yaml
|
246
|
+
- maps/apcbg-bul-Cyrl-Latn-1995.yaml
|
247
|
+
- maps/bas-rus-Cyrl-Latn-2017-bss.yaml
|
248
|
+
- maps/bas-rus-Cyrl-Latn-2017-oss.yaml
|
249
|
+
- maps/bgn-jpn-Hrkt-Latn-1962.yaml
|
250
|
+
- maps/bgn-kor-Hang-Latn-1943.yaml
|
251
|
+
- maps/bgn-kor-Kore-Latn-1943.yaml
|
252
|
+
- maps/bgna-bul-Cyrl-Latn-2006.yaml
|
253
|
+
- maps/bgna-bul-Cyrl-Latn-2009.yaml
|
254
|
+
- maps/bgnpcgn-amh-Ethi-Latn-1967.yaml
|
255
|
+
- maps/bgnpcgn-ara-Arab-Latn-1956.yaml
|
256
|
+
- maps/bgnpcgn-arm-Armn-Latn-1981.yaml
|
257
|
+
- maps/bgnpcgn-aze-Cyrl-Latn-1993.yaml
|
258
|
+
- maps/bgnpcgn-bak-Cyrl-Latn-2007.yaml
|
259
|
+
- maps/bgnpcgn-bel-Cyrl-Latn-1979.yaml
|
260
|
+
- maps/bgnpcgn-bul-Cyrl-Latn-1952.yaml
|
261
|
+
- maps/bgnpcgn-bul-Cyrl-Latn-2013.yaml
|
262
|
+
- maps/bgnpcgn-ell-Grek-Latn-1962.yaml
|
263
|
+
- maps/bgnpcgn-ell-Grek-Latn-1996.yaml
|
264
|
+
- maps/bgnpcgn-jpn-Hrkt-Latn-1976.yaml
|
265
|
+
- maps/bgnpcgn-kat-Geor-Latn-1981.yaml
|
266
|
+
- maps/bgnpcgn-kat-Geor-Latn-2009.yaml
|
267
|
+
- maps/bgnpcgn-kor-Hang-Latn-kn-1945.yaml
|
268
|
+
- maps/bgnpcgn-kor-Hang-Latn-rok-2011.yaml
|
269
|
+
- maps/bgnpcgn-kor-Kore-Latn-rok-2011.yaml
|
270
|
+
- maps/bgnpcgn-mkd-Cyrl-Latn-1981.yaml
|
271
|
+
- maps/bgnpcgn-mkd-Cyrl-Latn-2013.yaml
|
272
|
+
- maps/bgnpcgn-nep-Deva-Latn-2011.yaml
|
273
|
+
- maps/bgnpcgn-per-Arab-Latn-1956.yaml
|
274
|
+
- maps/bgnpcgn-rus-Cyrl-Latn-1947.yaml
|
275
|
+
- maps/bgnpcgn-srp-Cyrl-Latn-2005.yaml
|
276
|
+
- maps/bgnpcgn-ukr-Cyrl-Latn-1965.yaml
|
277
|
+
- maps/bgnpcgn-ukr-Cyrl-Latn-2019.yaml
|
278
|
+
- maps/bgnpcgn-zho-Hans-Latn-1979.yaml
|
279
|
+
- maps/bis-asm-Beng-Latn-13194-1991.yaml
|
280
|
+
- maps/bis-ben-Beng-Latn-13194-1991.yaml
|
281
|
+
- maps/bis-dev-Deva-Latn-13194-1991.yaml
|
282
|
+
- maps/bis-gjr-Gujr-Latn-13194-1991.yaml
|
283
|
+
- maps/bis-knd-Knda-Latn-13194-1991.yaml
|
284
|
+
- maps/bis-mlm-Mlym-Latn-13194-1991.yaml
|
285
|
+
- maps/bis-ori-Orya-Latn-13194-1991.yaml
|
286
|
+
- maps/bis-pnj-Guru-Latn-13194-1991.yaml
|
287
|
+
- maps/bis-tel-Telu-Latn-13194-1991.yaml
|
288
|
+
- maps/bis-tml-Taml-Latn-13194-1991.yaml
|
289
|
+
- maps/by-bel-Cyrl-Latn-1998.yaml
|
290
|
+
- maps/by-bel-Cyrl-Latn-2007.yaml
|
291
|
+
- maps/dos-nep-Deva-Latn-1997.yaml
|
292
|
+
- maps/elot-ell-Grek-Latn-743-1982-tl.yaml
|
293
|
+
- maps/elot-ell-Grek-Latn-743-1982-ts.yaml
|
294
|
+
- maps/elot-ell-Grek-Latn-743-2001-tl.yaml
|
295
|
+
- maps/elot-ell-Grek-Latn-743-2001-ts.yaml
|
296
|
+
- maps/ggg-kat-Geor-Latn-2002.yaml
|
297
|
+
- maps/gki-bel-Cyrl-Latn-1992.yaml
|
298
|
+
- maps/gki-bel-Cyrl-Latn-2000.yaml
|
299
|
+
- maps/gost-rus-Cyrl-Latn-16876-71-1983.yaml
|
300
|
+
- maps/hk-yue-Hani-Latn-1888.yaml
|
301
|
+
- maps/icao-bel-Cyrl-Latn-9303.yaml
|
302
|
+
- maps/icao-bul-Cyrl-Latn-9303.yaml
|
303
|
+
- maps/icao-heb-Hebr-Latn-9303.yaml
|
304
|
+
- maps/icao-mkd-Cyrl-Latn-9303.yaml
|
305
|
+
- maps/icao-per-Arab-Latn-9303.yaml
|
306
|
+
- maps/icao-rus-Cyrl-Latn-9303.yaml
|
307
|
+
- maps/icao-srp-Cyrl-Latn-9303.yaml
|
308
|
+
- maps/icao-ukr-Cyrl-Latn-9303.yaml
|
309
|
+
- maps/iso-ara-Arab-Latn-233-1984.yaml
|
310
|
+
- maps/iso-ell-Grek-Latn-843-1997-t1.yaml
|
311
|
+
- maps/iso-ell-Grek-Latn-843-1997-t2.yaml
|
312
|
+
- maps/iso-jpn-Hrkt-Latn-3602-1989.yaml
|
313
|
+
- maps/iso-rus-Cyrl-Latn-9-1995.yaml
|
314
|
+
- maps/iso-tha-Thai-Latn-11940-1998.yaml
|
315
|
+
- maps/kp-kor-Hang-Latn-2002.yaml
|
316
|
+
- maps/lshk-yue-Hani-Latn-jyutping-1993.yaml
|
317
|
+
- maps/mext-jpn-Hrkt-Latn-1954.yaml
|
318
|
+
- maps/moct-kor-Hang-Latn-2000.yaml
|
319
|
+
- maps/mofa-jpn-Hrkt-Latn-1989.yaml
|
320
|
+
- maps/mvd-bel-Cyrl-Latn-2008.yaml
|
321
|
+
- maps/mvd-bel-Cyrl-Latn-2010.yaml
|
322
|
+
- maps/mvd-rus-Cyrl-Latn-2008.yaml
|
323
|
+
- maps/mvd-rus-Cyrl-Latn-2010.yaml
|
324
|
+
- maps/nil-kor-Hang-Hang-jamo.yaml
|
325
|
+
- maps/odni-aze-Cyrl-Latn-2015.yaml
|
326
|
+
- maps/odni-bel-Cyrl-Latn-2015.yaml
|
327
|
+
- maps/odni-bul-Cyrl-Latn-2015.yaml
|
328
|
+
- maps/odni-hin-Deva-Latn-2015.yaml
|
329
|
+
- maps/odni-kat-Geor-Latn-2015.yaml
|
330
|
+
- maps/odni-kaz-Cyrl-Latn-2015.yaml
|
331
|
+
- maps/odni-kir-Cyrl-Latn-2015.yaml
|
332
|
+
- maps/odni-mkd-Cyrl-Latn-2015.yaml
|
333
|
+
- maps/odni-rus-Cyrl-Latn-2015.yaml
|
334
|
+
- maps/odni-srp-Cyrl-Latn-2015.yaml
|
335
|
+
- maps/odni-tat-Cyrl-Latn-2015.yaml
|
336
|
+
- maps/odni-tgk-Cyrl-Latn-2015.yaml
|
337
|
+
- maps/odni-uig-Cyrl-Latn-2015.yaml
|
338
|
+
- maps/odni-ukr-Cyrl-Latn-2015.yaml
|
339
|
+
- maps/odni-urd-Arab-Latn-2015.yaml
|
340
|
+
- maps/odni-uzb-Cyrl-Latn-2015.yaml
|
341
|
+
- maps/royin-tha-Thai-Latn-1939-generic.yaml
|
342
|
+
- maps/royin-tha-Thai-Latn-1968.yaml
|
343
|
+
- maps/royin-tha-Thai-Latn-1999-chained.yaml
|
344
|
+
- maps/royin-tha-Thai-Latn-1999.yaml
|
345
|
+
- maps/sac-zho-Hans-Latn-1979.yaml
|
346
|
+
- maps/ses-ara-Arab-Latn-1930.yaml
|
347
|
+
- maps/stategeocadastre-ukr-Cyrl-Latn-1993.yaml
|
348
|
+
- maps/ua-ukr-Cyrl-Latn-1996.yaml
|
349
|
+
- maps/un-ara-Arab-Latn-1971.yaml
|
350
|
+
- maps/un-ara-Arab-Latn-1972.yaml
|
351
|
+
- maps/un-ara-Arab-Latn-2017.yaml
|
352
|
+
- maps/un-bel-Cyrl-Latn-2007.yaml
|
353
|
+
- maps/un-ben-Beng-Latn-2016.yaml
|
354
|
+
- maps/un-ell-Grek-Latn-1987-tl.yaml
|
355
|
+
- maps/un-ell-Grek-Latn-1987-ts.yaml
|
356
|
+
- maps/un-ell-Grek-Latn-phonetic-1987.yaml
|
357
|
+
- maps/un-mon-Mong-Latn-2013.yaml
|
358
|
+
- maps/un-nep-Deva-Latn-1972.yaml
|
359
|
+
- maps/un-rus-Cyrl-Latn-1987.yaml
|
360
|
+
- maps/un-ukr-Cyrl-Latn-1998.yaml
|
361
|
+
- maps/ungegn-amh-Ethi-Latn-2016.yaml
|
362
|
+
- maps/var-jpn-Hrkt-Latn-hepburn-1886.yaml
|
363
|
+
- maps/var-jpn-Hrkt-Latn-hepburn-1954.yaml
|
364
|
+
- maps/var-kor-Hang-Latn-mr-1939.yaml
|
365
|
+
- maps/var-kor-Kore-Hang-2013.yaml
|
366
|
+
- maps/var-kor-Kore-Latn-mr-1939.yaml
|
367
|
+
- maps/var-tha-Thai-Thai-phonemic.yaml
|
368
|
+
- maps/var-tha-Thai-Zsym-ipa.yaml
|
369
|
+
- maps/var-zho-Hani-Latn-1979.yaml
|
370
|
+
- spec/interscript/mapping_spec.rb
|
371
|
+
- spec/interscript_spec.rb
|
372
|
+
- spec/spec_helper.rb
|
96
373
|
homepage: ''
|
97
374
|
licenses:
|
98
375
|
- MIT
|
99
376
|
metadata: {}
|
100
|
-
post_install_message:
|
377
|
+
post_install_message:
|
101
378
|
rdoc_options: []
|
102
379
|
require_paths:
|
103
380
|
- lib
|
@@ -110,10 +387,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
387
|
requirements:
|
111
388
|
- - ">="
|
112
389
|
- !ruby/object:Gem::Version
|
113
|
-
version:
|
390
|
+
version: 2.4.0
|
114
391
|
requirements: []
|
115
|
-
rubygems_version: 3.0.
|
116
|
-
signing_key:
|
392
|
+
rubygems_version: 3.0.3
|
393
|
+
signing_key:
|
117
394
|
specification_version: 4
|
118
395
|
summary: Interoperable script conversion systems
|
119
|
-
test_files:
|
396
|
+
test_files:
|
397
|
+
- spec/interscript/mapping_spec.rb
|
398
|
+
- spec/interscript_spec.rb
|
399
|
+
- spec/spec_helper.rb
|