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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76f28b674292d0635730a89b8b2ce2d474d7c89025461e6617a06bcdb456c5d0
4
- data.tar.gz: 22b29329630f7c9c33f4ac0488ce449665950b2ed988a628c427265986bdccbe
3
+ metadata.gz: c9a0aebdaae6417ffe714134f7ff97650f3a49d391e2f5d3ec9181b9a62b1560
4
+ data.tar.gz: aad88b45899338481d5b1f5e422ea06b2d7181d634f251395d09f0ed49e75f71
5
5
  SHA512:
6
- metadata.gz: 4108f4b967b3d95aebd2c93e20b57a45f9af634b3851a1c052ddb66e3fe34c925db6a257249fae2b18351c5b03c1222ab5ff712ff5404e01c2a5f790de1f1a87
7
- data.tar.gz: e24326cb32164e923f19db96d4cb4fbb516e02f1509cda8da52e04dd4004385c7327fae9a8a275c926e32ad4a7f8479d351d4a2d1f5c0a0f6e0bbf7249d7c6b1
6
+ metadata.gz: e685a0c0abbf203c6219fc567b4f252e68cfa97047794570fd2c9c651c65d64539a13ded1e34e7010afefdeafc280d1ca21d3dd2573c673a5f56055d40b6bfd8
7
+ data.tar.gz: 0dcceeafb92e359c36d0627094d9fa20702d220e752eeba6b9e5d75f1d6316e5f3566aae541c71be1301072f1c1f82a1846e0b126ca5f7d3c31fb77f411d70d4
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tc211-termbase (0.1.9)
4
+ tc211-termbase (0.1.10)
5
5
  creek
6
6
  iso-639
7
7
  relaton (~> 0.5)
@@ -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*#{ALL_FULL_HALF_WIDTH_NUMBERS}*\s*"+
131
+ "\s*\\(?#{ALL_FULL_HALF_WIDTH_NUMBERS}*\\)?\s*"+
131
132
  "[#{STRIP_PUNCTUATION.join('')}]?\s*",
132
133
  Regexp::IGNORECASE
133
134
  ),
@@ -1,5 +1,5 @@
1
1
  module Tc211
2
2
  module Termbase
3
- VERSION = "0.1.9"
3
+ VERSION = "0.1.10"
4
4
  end
5
5
  end
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.9
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-09 00:00:00.000000000 Z
11
+ date: 2019-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: iso-639