Datasets:

Languages:
English
ArXiv:
License:

remove prepended "UMLS:" from db_id

#1
by gabrielaltay - opened
Files changed (1) hide show
  1. 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
  }