uc3-dmp-id 0.1.29 → 0.1.30
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 +2 -2
- 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: 85a549f1ef60c797402d9eb0a165c5eb60617de1c1357a0e1e707547b97cb994
|
4
|
+
data.tar.gz: da68f8bfd1f439f7748c32410b20fbfc4889c50658fa3c133e8b055c0be5fbd6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 527aa60acc2c5e74b8c986355d77d7cc77b023ae825c7b7355926f313619604adbb9138b5c5fed3621e32e6b5597bb5e08a8f966c550fa726fa422f838fb0484
|
7
|
+
data.tar.gz: a35a16f0d8586cf959510afa92f2aba4f220d54bc4b43bb0d51d5b2f41b0f782a0a135be153ea1a56a74dfb02de94b373ef4858a61fb5646e6ee41c5d099c98e
|
@@ -85,7 +85,7 @@ module Uc3DmpId
|
|
85
85
|
else
|
86
86
|
(response[:score] > 5 ? 'Medium' : 'Low')
|
87
87
|
end
|
88
|
-
logger&.debug(message: "Found a match!", details: { dmp: dmp, analysis: response })
|
88
|
+
@logger&.debug(message: "Found a match!", details: { dmp: dmp, analysis: response })
|
89
89
|
scoring << response
|
90
90
|
end
|
91
91
|
|
@@ -223,7 +223,7 @@ module Uc3DmpId
|
|
223
223
|
"incoming_#{type}": cleansed,
|
224
224
|
nlp_score: nlp_processor.similarity(dmp_val, cleansed)
|
225
225
|
}
|
226
|
-
@logger&.debug(message: 'Text::WhiteSimilarity score', details:)
|
226
|
+
# @logger&.debug(message: 'Text::WhiteSimilarity score', details:)
|
227
227
|
return response if details[:nlp_score] < 0.5
|
228
228
|
|
229
229
|
response[:score] += details[:nlp_score] >= 0.75 ? 5 : 2
|
data/lib/uc3-dmp-id/version.rb
CHANGED