@arsedizioni/ars-utils 21.1.88 → 21.1.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1305,8 +1305,9 @@ class ClipperDocumentComponent extends ClipperDocumentManager {
|
|
|
1305
1305
|
minScore = n.score;
|
|
1306
1306
|
}
|
|
1307
1307
|
});
|
|
1308
|
+
minScore = Math.trunc(minScore);
|
|
1308
1309
|
r.value.items[0].anchors.forEach(n => {
|
|
1309
|
-
let score = n.score -
|
|
1310
|
+
let score = n.score - minScore;
|
|
1310
1311
|
n.score = score;
|
|
1311
1312
|
n.veryRelevant = score > 0.7;
|
|
1312
1313
|
});
|