A suite of tools to extract drugs from text records.
Explore the docs >>
CLI
|
Web
Report Bug
|
Request Feature
This project uses string similarity metrics to detect drug mentions inside text records.
Researchers at the University of Kentucky College of Pharmacy had a need for a simple, fast, intuitive interface to extract drug mentions in text records. This project takes text records and detects drug mentions (including misspellings) and then extracts the drug and the corresponding record for analysis.
In order to set clear expectations for the development of the toolbox and to keep feature requests in scope it is good to set some guidelines.
What this project IS:
What this project is NOT:
This toolbox contains multiple projects:
In v1.0.0 we have dropped support for both the
de-workflow
CLI and thedrug-extraction-core
library. Both are still available on PyPI.org and crates.io respectively but are not considered to be maintained.For more information on the reasons for these significant changes, see the CHANGELOG.md.
We utilize string similarity algorithms as defined and implemented by Danny Guo in the str-sim package. For more information on string similarity algorithms, please consult this Wikipedia page for a comparison/list of algorithms and this page for an explanation of string metrics more generally.
The decision to use Rust was based on a series of performance comparison benchmarks and analysis which can be found on the perf-comp
branch 📊.
Take a quick look 👀:
As of v1.0.0
we are considered stable and will prioritize not breaking features. Most new releases will come via performance improvements or new features (without breaking existing UI).
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)We use gh release create
to make new github releases, cargo release
to release to crates.io, and maturin release
to release to PyPI.org.
Distributed under the MIT License. See LICENSE for more information.
Nick Anthony - @nanthony95 - nicholas.anthony@uky.edu
Project Link: https://github.com/uk-ipop/drug-extraction