• Stars
    star
    155
  • Rank 240,799 (Top 5 %)
  • Language
    Python
  • License
    Other
  • Created almost 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

πŸ“° High-performance tool for negation and uncertainty detection in radiology reports
NegBio
Build status PyPI version RTD version

NegBio is a high-performance NLP tool for negation and uncertainty detection in clinical texts (e.g. radiology reports).

Get started

Install NegBio

  1. Installing from source (recommended)

    $ git clone https://github.com/ncbi-nlp/NegBio.git
    $ cd /path/to/negbio
    $ python setup.py install --user
    $ export PATH=~/.local/bin:$PATH
  2. Installing from pip

    $ pip install negbio

Prepare the dataset

The inputs can be in either plain text or BioC format. If the reports are in plain text, each report needs to be in a single file. Some examples can be found in the examples folder.

Run the script

There are two ways to run the pipeline.

NOTE: If you want to process a lot of reports (e.g., > 1000), it is recommended to run the pipeline step-by-step. See User guide.

Using the CheXpert algorithm

If you want to use the CheXpert method, run one of the following lines

$ main_chexpert text --output=examples examples/00000086.txt examples/00019248.txt
$ main_chexpert bioc --output=examples examples/1.xml

Using MetaMap

If you want to use MetaMap, run the following command by replacing <METAMAP_BINARY> with the actual ABSOLUTE path, such as META_MAP_HOME/bin/metamap16

$ main_mm text --metamap=<METAMAP_BINARY> --output=examples examples/00000086.txt \
     examples/00019248.txt
$ main_mm bioc --metamap=<METAMAP_BINARY> --output=examples examples/1.xml

Documentation

negbio documentation is available on Read The Docs.

See Getting Started for installation and basic information. To contribute to negbio, read our contribution guide.

Citing NegBio

If you're running the NegBio pipeline, please cite:

Acknowledgments

This work was supported by the Intramural Research Programs of the National Institutes of Health, National Library of Medicine and Clinical Center.

We are grateful to the authors of NegEx, MetaMap, Stanford CoreNLP, Bllip parser, and CheXpert labeler for making their software tools publicly available.

We thank Dr. Alexis Allot for the helpful discussion.

Disclaimer

This tool shows the results of research conducted in the Computational Biology Branch, NCBI. The information produced on this website is not intended for direct diagnostic use or medical decision-making without review and oversight by a clinical professional. Individuals should not change their health behavior solely on the basis of information produced on this website. NIH does not independently verify the validity or utility of the information produced by this tool. If you have questions about the information produced on this website, please see a health care professional. More information about NCBI's disclaimer policy is available.

More Repositories

1

BioSentVec

BioWordVec & BioSentVec: pre-trained embeddings for biomedical words and sentences
Jupyter Notebook
567
star
2

bluebert

BlueBERT, pre-trained on PubMed abstracts and clinical notes (MIMIC-III).
Python
545
star
3

BLUE_Benchmark

BLUE benchmark consists of five different biomedicine text-mining tasks with ten corpora.
Python
283
star
4

BioWordVec

Python
142
star
5

DeepSeeNet

πŸ‘€ DeepSeeNet is a deep learning framework for classifying patient-based age-related macular degeneration severity in retinal color fundus photographs.
Python
57
star
6

PhenoTagger

PhenoTagger
GAP
50
star
7

Ab3P

Abbreviation definition dection library trained on PubMed abstracts
C
45
star
8

PubMed-Best-Match

Machine-learning based pipeline relying on LambdaMART currently used in PubMed for relevance (Best Match) searches
Python
39
star
9

TeamTat

Text annotation tool for team collaboration
JavaScript
35
star
10

ML_Net

ML-Net is a novel end-to-end deep learning framework for multi-label classification of biomedical tasks. ML-Net combines the label prediction network with a label count prediction network, which can determine the output labels based on both label confidence scores and document context in an end-to-end manner.
Python
33
star
11

TrialGPT

Code and data for TrialGPT.
Python
23
star
12

COVID-19-CT-CXR

COVID-19-CT-CXR, a public database of COVID-19 CXR and CT images
Python
20
star
13

MedCalc-Bench

Benchmarking the medical calculation capabilities of large language models.
Python
17
star
14

ezTag

Web interface that allows users to perform computer-assisted text annotation
JavaScript
15
star
15

BioC-JSON

Tool that converts between BioC XML files and BioC JSON files
Python
15
star
16

NQAC

Python
15
star
17

pubtator-gpt

13
star
18

DeepRel

A convolutional neural network model for relation extraction.
Python
12
star
19

NCBITextLib

Software library for building a large-scale data infrastructure for text mining
C++
7
star
20

BC6PM

Evaluation scripts for BioCreative VI Precision Medicine Track
Python
6
star
21

VarTriage

Python
5
star
22

PubTator-Covid19

4
star
23

CovidTermVar

Python
2
star
24

TaggerOne

General-purpose tagger for joint named entity recognition and normalization. Includes models for both diseases and chemicals (drugs) in biomedical publications.
2
star
25

Medical-Imaging-Causal-Fairness

Python
2
star
26

Unmasking-GPT-Bias

Jupyter Notebook
1
star
27

PhenoRerank

Python
1
star