From 29194472a71e456f74d5b88aa681c56ebf869acf Mon Sep 17 00:00:00 2001 From: Giambattista Bloisi Date: Sun, 4 Feb 2024 10:19:33 +0100 Subject: [PATCH] Promote "Research" to a jolly instanceType in dedup comparisons Compare Part of book or chapter of book with Article --- .../java/eu/dnetlib/pace/tree/InstanceTypeMatch.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dhp-pace-core/src/main/java/eu/dnetlib/pace/tree/InstanceTypeMatch.java b/dhp-pace-core/src/main/java/eu/dnetlib/pace/tree/InstanceTypeMatch.java index 34ebcf7a7d..e9fb13e7c1 100644 --- a/dhp-pace-core/src/main/java/eu/dnetlib/pace/tree/InstanceTypeMatch.java +++ b/dhp-pace-core/src/main/java/eu/dnetlib/pace/tree/InstanceTypeMatch.java @@ -21,17 +21,26 @@ public class InstanceTypeMatch extends AbstractListComparator { public InstanceTypeMatch(Map params) { super(params); + + // chaper of book in article + // in article + // jolly types translationMap.put("Conference object", "*"); + translationMap.put("Research", "*"); translationMap.put("Other literature type", "*"); translationMap.put("Unknown", "*"); translationMap.put("UNKNOWN", "*"); // article types translationMap.put("Article", "Article"); + // Book translationMap.put("Data Paper", "Article"); translationMap.put("Software Paper", "Article"); translationMap.put("Preprint", "Article"); + translationMap.put("Part of book or chapter of book", "Article"); + //Journal + // thesis types translationMap.put("Thesis", "Thesis");