Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

RadText

Build status Latest version on PyPI Downloads License codecov Documentation Status Pythong version

Purpose

RadText is a high-performance Python Radiology Text Analysis System.

Prerequisites

  • Python >= 3.6, <3.9
  • Linux
  • Java
# Set up environment
$ sudo apt-get install python3-dev build-essential default-java

Quickstart

The latest radtext releases are available over pypi.

Using pip, RadText releases are available as source packages and binary wheels. It is also generally recommended installing packages in a virtual environment to avoid modifying system state:

$ python -m venv venv
$ source venv/bin/activate
$ pip install -U pip setuptools wheel
$ pip install -U radtext
$ python -m spacy download en_core_web_sm
$ radtext-download --all

To see RadText’s pipeline in action, you can launch the Python interactive interpreter, and try the following commands:

import radtext
nlp = radtext.Pipeline()
with open('/PATH/TO/BIOC_FILE.xml') as fp:
    doc = bioc.load(fp)
    
annotations = nlp(doc)
print(annotations)

RadText also supports command-line interfaces for specific NLP tasks (e.g., de-identification, sentence split, or named entity recognition).

$ radtext-deid --repl=X -i /path/to/input.xml -o /path/to/output.xml
$ radtext-ssplit -i /path/to/input.xml -o /path/to/output.xml
$ radext-ner spacy --radlex /path/to/Radlex4.1.xlsx -i /path/to/input.xml -o /path/to/output.xml

Documentation

You will find complete documentation at our Read the Docs site.

Contributing

You can find information about contributing to RadText at our Contribution page.

Acknowledgment

This work is supported by the National Library of Medicine under Award No. 4R00LM013001 and the NIH Intramural Research Program, National Library of Medicine.

You can find Acknowledgment information at our Acknowledgment page.

License

Copyright BioNLP Lab at Weill Cornell Medicine, 2022.

Distributed under the terms of the MIT license, RadText is free and open source software.

Metadata

Release files for radtext 1.0.dev8

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

Source distribution (sdist)

Source distribution for radtext 1.0.dev8
File Size Uploaded Provenance
radtext-1.0.dev8.tar.gz 2.3 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for radtext 1.0.dev8
File Interpreter ABI Platform
radtext-1.0.dev8-py3-none-any.whl Python 3 none any Details

Total release size: 4.6 MB

Release files / radtext-1.0.dev8.tar.gz

Download URL radtext-1.0.dev8.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
33334a889314a3490a8f0ace1e7f6d8bd67db5b5190a211df6320a462d61f448
BLAKE2b-256 checksum
How to use checksums
fc2fd57217fa1ba796cf2849e7097d340b860613aa2037811a9455e771c0f7f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.15.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

Release files / radtext-1.0.dev8-py3-none-any.whl

Download URL radtext-1.0.dev8-py3-none-any.whl
Size 2.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
201f45271096047903497a9a3c776e57efa2acc8d48049e8244b6046e5df91ae
BLAKE2b-256 checksum
How to use checksums
f133ec9898909449a79c670724404f01d9b53f6395a21b39fd3fc7a221bcf3f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.15.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

Security for radtext 1.0.dev8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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