Commit ·
3a16f40
1
Parent(s): 2c9d120
remove prepended "UMLS:" from db_id (#1)
Browse files- remove prepended "UMLS:" from db_id (bbb993776299b7c32c85f156ae81e71a80574573)
- medmentions.py +1 -1
medmentions.py
CHANGED
|
@@ -239,7 +239,7 @@ class MedMentionsDataset(datasets.GeneratorBasedBuilder):
|
|
| 239 |
"normalized": [
|
| 240 |
{
|
| 241 |
"db_name": "UMLS",
|
| 242 |
-
"db_id": entity["concept_id"],
|
| 243 |
}
|
| 244 |
],
|
| 245 |
}
|
|
|
|
| 239 |
"normalized": [
|
| 240 |
{
|
| 241 |
"db_name": "UMLS",
|
| 242 |
+
"db_id": entity["concept_id"].split(":")[-1],
|
| 243 |
}
|
| 244 |
],
|
| 245 |
}
|