Skip to main content

Knowledge Extraction for COVID-19 Publications (KEP)

Content

This package provides the functionality of extracting and displaying key knowledge to enable a rapid understanding of COVID-19 publications. Current focuses include key topics and top disease and location mentions of the input COVID-19 publication. More functions are on the way.

Prerequisites

Install packages before use (with tested versions):

Default:

  • re
  • string
  • os
  • urllib
  • xml

Local package:

Instruction

Load the KEP package

pip install KEP

Sample code

from KEP import To_Generate_Disease,To_Generate_Key_Word,To_Generate_Location,To_Generate_All 

To_Generate_All(7824075)



# If multiple publications at a time, uncomment the following lines and replace the PMC ID:
# To_Generate_All(7824075)
# To_Generate_All(7824470)
# To_Generate_All(6988269)
# ...

Input

Input the PMC ID of a publication (or a set of PMC IDs)

(For example: input "7824075" representing the publication https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7824075/)

Output

  1. The bar graph and word cloud of the key topics
  2. The bar graph of the top disease mentions
  3. The bar graph of the top location mentions

References

  1. Chen, Q., Allot, A., & Lu, Z. (2020). Keep up with the latest coronavirus research. Nature, 579(7798), 193-194.
  2. Comeau, D. C., Wei, C. H., Islamaj Doğan, R., & Lu, Z. (2019). PMC text mining subset in BioC: about three million full-text articles and growing. Bioinformatics, 35(18), 3533-3535.
  3. BioC API for PMC: https://www.ncbi.nlm.nih.gov/research/bionlp/APIs/BioC-PMC/
  4. Part of the functionality is based on the en-ner-bc5cdr-md, en-core-web-sm, and gensim packages.

Citation

TBA.

Report an issue

Should you have any questions or comments, please feel free to contact the author.

Metadata

Release files for KEP 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for KEP 1.0.0
File Size Uploaded
KEP-1.0.0.tar.gz 1.5 MB Details

Release files / KEP-1.0.0.tar.gz

Download URL KEP-1.0.0.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
4804bd680f095c85c55aeb9351917640d2cf76eb1a2559842cb8c3585d6a6bfc
BLAKE2b-256 checksum
How to use checksums
5dff3352920b0e1f8a59ee4cc526e6c9112a01cf9dc552cd372fad2627a8e06b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.8

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page