{ "info": { "author": "Yifan Peng", "author_email": "yifan.peng@nih.gov", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: Public Domain", "Operating System :: MacOS", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Application Frameworks" ], "description": ".. image:: https://github.com/yfpeng/negbio/blob/master/images/negbio.png?raw=true\n :target: https://github.com/yfpeng/negbio/blob/master/images/negbio.png?raw=true\n :alt: NegBio\n\n-----------------------\n\n.. image:: https://img.shields.io/travis/yfpeng/NegBio/master.svg\n :target: https://travis-ci.org/yfpeng/NegBio\n :alt: Build status\n\n.. image:: https://img.shields.io/pypi/v/negbio.svg\n :target: https://pypi.python.org/pypi/negbio\n :alt: PyPI version\n\n.. image:: https://img.shields.io/readthedocs/negbio.svg\n :target: http://negbio.readthedocs.io\n :alt: RTD version\n\n\n\nNegBio is a high-performance NLP tool for negation and uncertainty detection in clinical texts (e.g. radiology reports).\n\n\nGet started\n===========\n\nInstall NegBio\n~~~~~~~~~~~~~~\n\n1. Installing from source (recommended)\n\n .. code-block:: bash\n\n $ git clone https://github.com/ncbi-nlp/NegBio.git\n $ cd /path/to/negbio\n $ python setup.py install --user\n $ export PATH=~/.local/bin:$PATH\n\n2. Installing from pip\n\n .. code-block:: bash\n\n $ pip install negbio\n\n\n\n\nPrepare the dataset\n~~~~~~~~~~~~~~~~~~~\n\nThe inputs can be in either plain text or `BioC `_ format.\nIf the reports are in plain text, each report needs to be in a single file.\nSome examples can be found in the ``examples`` folder.\n\nRun the script\n~~~~~~~~~~~~~~\n\nThere are two ways to run the pipeline.\n\n**NOTE**: If you want to process a lot of reports (e.g., > 1000), it is recommended to run the pipeline step-by-step.\nSee `User guide `_.\n\n\nUsing the CheXpert algorithm\n____________________________\n\nIf you want to use the `CheXpert `_ method, run one of the following lines\n\n.. code-block:: bash\n\n $ main_chexpert text --output=examples examples/00000086.txt examples/00019248.txt\n\n.. code-block:: bash\n\n $ main_chexpert bioc --output=examples examples/1.xml\n\n\nUsing MetaMap\n_____________\n\nIf you want to use MetaMap, run the following command by replacing ```` with the actual **ABSOLUTE**\npath, such as **META_MAP_HOME/bin/metamap16**\n\n.. code-block:: bash\n\n $ main_mm text --metamap= --output=examples examples/00000086.txt \\\n examples/00019248.txt\n\n.. code-block:: bash\n\n $ main_mm bioc --metamap= --output=examples examples/1.xml\n\n\nDocumentation\n=============\n\nnegbio `documentation `_ is available on Read The Docs.\n\nSee `Getting Started `_ for installation and basic\ninformation. To contribute to negbio, read our `contribution guide `_.\n\nCiting NegBio\n=============\n\nIf you're running the NegBio pipeline, please cite:\n\n* Peng Y, Wang X, Lu L, Bagheri M, Summers RM, Lu Z. `NegBio: a high-performance tool for negation and uncertainty\n detection in radiology reports `_. *AMIA 2018 Informatics Summit*. 2018.\n* Wang X, Peng Y, Lu L, Bagheri M, Lu Z, Summers R. `ChestX-ray8: Hospital-scale Chest X-ray database and benchmarks\n on weakly-supervised classification and localization of common thorax diseases `_.\n *IEEE Conference on Computer Vision and Pattern Recognition (CVPR)*. 2017, 2097-2106.\n\nAcknowledgments\n===============\n\nThis work was supported by the Intramural Research Programs of the National Institutes of Health, National Library of\nMedicine and Clinical Center.\n\nWe are grateful to the authors of NegEx, MetaMap, Stanford CoreNLP, Bllip parser, and CheXpert labeler for making\ntheir software tools publicly available.\n\nWe thank Dr. Alexis Allot for the helpful discussion.\n\nDisclaimer\n==========\nThis tool shows the results of research conducted in the Computational Biology Branch, NCBI. The information produced\non this website is not intended for direct diagnostic use or medical decision-making without review and oversight\nby a clinical professional. Individuals should not change their health behavior solely on the basis of information\nproduced on this website. NIH does not independently verify the validity or utility of the information produced\nby this tool. If you have questions about the information produced on this website, please see a health care\nprofessional. More information about NCBI's disclaimer policy is available.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ncbi-nlp/NegBio.git", "keywords": "negbio", "license": "Public Domain", "maintainer": "", "maintainer_email": "", "name": "negbio", "package_url": "https://pypi.org/project/negbio/", "platform": "", "project_url": "https://pypi.org/project/negbio/", "project_urls": { "Homepage": "https://github.com/ncbi-nlp/NegBio.git" }, "release_url": "https://pypi.org/project/negbio/0.9.4/", "requires_dist": null, "requires_python": "", "summary": "NegBio: a tool for negation and uncertainty detection", "version": "0.9.4" }, "last_serial": 4843340, "releases": { "0.9.2": [ { "comment_text": "", "digests": { "md5": "0981d317c2cf72093346a1db0b2a19a6", "sha256": "85210ad46c75b3d4af99dd45bd51753a100c839db7121210b8ca26091e5f8f7c" }, "downloads": -1, "filename": "negbio-0.9.2.tar.gz", "has_sig": false, "md5_digest": "0981d317c2cf72093346a1db0b2a19a6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 42040, "upload_time": "2019-02-05T17:19:48", "url": "https://files.pythonhosted.org/packages/1f/af/036760b62ef1966bba82e25a4d2758b72556e836cabc51b07bfaee728fb9/negbio-0.9.2.tar.gz" } ], "0.9.3": [ { "comment_text": "", "digests": { "md5": "156ed14d46ded68baa55e9a16ec17c18", "sha256": "1a4341f30e9e48e432fe63ec1d5367a79dae11f1435f598073d46679e2863d89" }, "downloads": -1, "filename": "negbio-0.9.3.tar.gz", "has_sig": false, "md5_digest": "156ed14d46ded68baa55e9a16ec17c18", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 42247, "upload_time": "2019-02-05T23:11:01", "url": "https://files.pythonhosted.org/packages/6d/1b/47b1dff415490bc8d8df869c4ea15192f6fad8fa7155d8034ae32bb8dbac/negbio-0.9.3.tar.gz" } ], "0.9.4": [ { "comment_text": "", "digests": { "md5": "39277b925b5531e7f5c3f070e4a0b153", "sha256": "57ab89bc482d58c0f9cf31d7d929d1e2b5c1497fa450e58919c5a731cfb2c5b9" }, "downloads": -1, "filename": "negbio-0.9.4.tar.gz", "has_sig": false, "md5_digest": "39277b925b5531e7f5c3f070e4a0b153", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40819, "upload_time": "2019-02-20T02:20:23", "url": "https://files.pythonhosted.org/packages/8c/68/f7a62f367d3c1cb024e6f4006f3cc007f58936214d06ed4dbd24586d7107/negbio-0.9.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "39277b925b5531e7f5c3f070e4a0b153", "sha256": "57ab89bc482d58c0f9cf31d7d929d1e2b5c1497fa450e58919c5a731cfb2c5b9" }, "downloads": -1, "filename": "negbio-0.9.4.tar.gz", "has_sig": false, "md5_digest": "39277b925b5531e7f5c3f070e4a0b153", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40819, "upload_time": "2019-02-20T02:20:23", "url": "https://files.pythonhosted.org/packages/8c/68/f7a62f367d3c1cb024e6f4006f3cc007f58936214d06ed4dbd24586d7107/negbio-0.9.4.tar.gz" } ] }