We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06cc382 commit 43d7472Copy full SHA for 43d7472
asreviewcontrib/preprocess/deduplication/dd_utils.py
@@ -1,5 +1,6 @@
1
import csv
2
import logging
3
+import os
4
import re
5
6
from unidecode import unidecode
@@ -22,8 +23,11 @@
22
23
]
24
25
# Dictionary of journal name abbreviations and full forms
26
+journal_abbr_filepath = os.path.join(
27
+ os.path.dirname(__file__), "all_journal_abbreviations.csv"
28
+)
29
-with open("all_journal_abbreviations.csv", "r") as f:
30
+with open(journal_abbr_filepath, "r") as f:
31
reader = csv.reader(f)
32
all_journal_abbr = {}
33
0 commit comments