uc3-dmp-id 0.1.38 → 0.1.39
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uc3-dmp-id/comparator.rb +1 -1
- data/lib/uc3-dmp-id/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95b6443cf60f6baa7312ffb70dccf20018669ddcfdb468d24b923159313126b8
|
4
|
+
data.tar.gz: 121969eb56f2dcaa026fe0e866241170b6951336602e8f498829d865ad967032
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa222d18770474937bf0e06e911508adf783b6bad7158f0162a67ba888b9d33c6aa6fd575aad47ff49dc34b56a5fdaddafbd9698d1a5e06e75ade8528421447a
|
7
|
+
data.tar.gz: e248c1e81c1fb622e7fd9c54aa37ca2aa6c93644ada4c9cc028cd800befaf9a5475303fa9ee2618e8eefc7e77854c4a8ab542d05a3ee26304e8f2a7eb50b3c0c
|
@@ -78,7 +78,7 @@ module Uc3DmpId
|
|
78
78
|
response = _text_match?(type: 'title', text: hash['title'], dmp:, response:) if response[:score].positive?
|
79
79
|
response = _text_match?(type: 'abstract', text: hash['description'], dmp:, response:) if response[:score].positive?
|
80
80
|
# If the score is less than 3 then we have no confidence that it is a match
|
81
|
-
next if response[:score] <= 2
|
81
|
+
# next if response[:score] <= 2
|
82
82
|
|
83
83
|
# Set the confidence level based on the score
|
84
84
|
response[:dmp_id] = "DMP##{dmp['dmp_id']}"
|
data/lib/uc3-dmp-id/version.rb
CHANGED