From 154994822afad7c15855ba98e02463cca0da83ad Mon Sep 17 00:00:00 2001 From: paulalbert1 Date: Tue, 3 Jan 2023 08:42:50 -0500 Subject: [PATCH] Added "guideline", "case report" canonical pub types; preferred PubMed as source, v. 2 --- .../reciter/algorithm/util/ArticleTranslator.java | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/main/java/reciter/algorithm/util/ArticleTranslator.java b/src/main/java/reciter/algorithm/util/ArticleTranslator.java index 2b52a6ea..ad6fd5bc 100644 --- a/src/main/java/reciter/algorithm/util/ArticleTranslator.java +++ b/src/main/java/reciter/algorithm/util/ArticleTranslator.java @@ -467,11 +467,7 @@ private static void determinePublicationTypeCanonical(ReCiterArticle reCiterArti || reCiterArticle.getPublicationTypePubmed().contains("Classical Article") || - reCiterArticle.getPublicationTypePubmed().contains("Scientific Integrity Review") - || - reCiterArticle.getPublicationTypePubmed().contains("Guideline") - || - reCiterArticle.getPublicationTypePubmed().contains("Practice Guideline")) { + reCiterArticle.getPublicationTypePubmed().contains("Scientific Integrity Review")) { publicationTypeCanonical = "Review"; } else if(reCiterArticle.getPublicationTypePubmed().contains("Case Reports")) { publicationTypeCanonical = "Case Report"; @@ -512,6 +508,13 @@ private static void determinePublicationTypeCanonical(ReCiterArticle reCiterArti } } +/* + +## The below code uses publication type data from Scopus to infer publication type. Scopus has its virtues but it is commented out +## for now so that we rely on PubMed exclusively. The reasoning is: +## 1. PubMed is freely available +## 2. More commonly used, and +## 3. Less aggressive about mapping publications to what they call "articles" and what we would map to "academic articles." if(reCiterArticle.getPublicationTypeScopus() != null && scopusArticle.getSubType() != null) { if(scopusArticle.getSubType().equalsIgnoreCase("cp") @@ -550,6 +553,7 @@ private static void determinePublicationTypeCanonical(ReCiterArticle reCiterArti publicationTypeCanonical = "Article"; } } +*/ reCiterArticle.setPublicationTypeCanonical(publicationTypeCanonical); }