Skip to content

Commit

Permalink
Abstract HTML presentation corrections and improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
EricMaeker committed Jun 6, 2021
1 parent 5971eb4 commit 69d888f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions classes/pubmed2020.php
Expand Up @@ -716,28 +716,38 @@ function _normalizeAbstract($abstract, $format = "wiki"){ // Pb: 33397541
"Background and objectives:",
"Background:",
"Background\/objectives:",
"Background\/aims:", //
"Clinical rehabilitation impact:",
"Clinical relevance:",
"Clinical significance:",
"Clinical trial registration:",
"Comparison:",
"Conclusion:",
"Conclusions\/implications:",
"Conclusions and implications:",
"Conclusions and relevance:",
"Conclusions\/relevance:",
"Conclusions:",
"Context:",
"Data collection and analysis:",
"Data extraction:",
"Data sources and review methods:",
"Data synthesis:",
"Design, study, and participants:",
"Design:",
"Diagnosis of interest:",
"Discussion:",
"Discussion and conclusions:", //
"Discussion and conclusion:", //
"Eligibility criteria:",
"Experimental design:",
"Exposures:",
"Findings:",
"Funding:",
"Implications:",
"Implications for nursing management:",
"Implications for clinical management:",
"Importance:", //
"Inclusion criteria population:",
"Index test:",
"Information sources:",
Expand All @@ -752,6 +762,7 @@ function _normalizeAbstract($abstract, $format = "wiki"){ // Pb: 33397541
"Material and methods:",
"Materials \& methods:",
"Measurements:",
"Mesures:",
"Methodological quality:",
"Method:",
"Methods:",
Expand All @@ -765,13 +776,15 @@ function _normalizeAbstract($abstract, $format = "wiki"){ // Pb: 33397541
"Primary and secondary outcome measures:",
"Purpose and objective:",
"Purpose:",
"Rationale:",
"Reference test:",
"Research question:",
"Results:",
"Search methods:",
"Search strategy:",
"Selection criteria:",
"Setting:",
"Setting and participants:",
"Settings:",
"Significance of results:",
"Statistical analysis performed:",
Expand Down Expand Up @@ -801,6 +814,7 @@ function _normalizeAbstract($abstract, $format = "wiki"){ // Pb: 33397541
// Replace in abstract
foreach($chapters as $c) {
$pattern = "/\s*".$c."\s+/i";
$c = str_replace("\\", "", $c);
$abstract = preg_replace($pattern, "$lf$boldS$c$boldE ", $abstract);
}
// $info = array();
Expand Down

0 comments on commit 69d888f

Please sign in to comment.