tc211-termbase 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/tc211/termbase/term.rb +4 -3
- data/lib/tc211/termbase/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9a0aebdaae6417ffe714134f7ff97650f3a49d391e2f5d3ec9181b9a62b1560
|
4
|
+
data.tar.gz: aad88b45899338481d5b1f5e422ea06b2d7181d634f251395d09f0ed49e75f71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e685a0c0abbf203c6219fc567b4f252e68cfa97047794570fd2c9c651c65d64539a13ded1e34e7010afefdeafc280d1ca21d3dd2573c673a5f56055d40b6bfd8
|
7
|
+
data.tar.gz: 0dcceeafb92e359c36d0627094d9fa20702d220e752eeba6b9e5d75f1d6316e5f3566aae541c71be1301072f1c1f82a1846e0b126ca5f7d3c31fb77f411d70d4
|
data/Gemfile.lock
CHANGED
data/lib/tc211/termbase/term.rb
CHANGED
@@ -56,7 +56,7 @@ class Term
|
|
56
56
|
":",
|
57
57
|
".",
|
58
58
|
"–",
|
59
|
-
"
|
59
|
+
"\-"
|
60
60
|
]
|
61
61
|
|
62
62
|
# WARNING
|
@@ -67,7 +67,7 @@ class Term
|
|
67
67
|
ara: "مثال",
|
68
68
|
chi: "示例",
|
69
69
|
dan: "EKSEMPEL",
|
70
|
-
dut: "VOORBEELD",
|
70
|
+
dut: ["VOORBEELD", "VOORBEELDEN"],
|
71
71
|
fin: "ESIM",
|
72
72
|
fre: "Exemple",
|
73
73
|
# ger: "",
|
@@ -124,10 +124,11 @@ class Term
|
|
124
124
|
# binding.pry
|
125
125
|
# end
|
126
126
|
|
127
|
+
# Arabic notes/examples sometimes use parantheses around numbers
|
127
128
|
carry = carry.sub(
|
128
129
|
Regexp.new(
|
129
130
|
"^#{mat}\s*[#{STRIP_PUNCTUATION.join('')}]?" +
|
130
|
-
"\s
|
131
|
+
"\s*\\(?#{ALL_FULL_HALF_WIDTH_NUMBERS}*\\)?\s*"+
|
131
132
|
"[#{STRIP_PUNCTUATION.join('')}]?\s*",
|
132
133
|
Regexp::IGNORECASE
|
133
134
|
),
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tc211-termbase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: iso-639
|