UK-IPOP / drug-extraction

A ToolBox for fuzzily extracting drugs mentions from text.
https://drug-extraction.vercel.app
MIT License
3 stars 0 forks source link
drug-discovery fuzzy-search rust-lang text-processing

Stargazers Issues MIT License


Logo

Drug Extraction ToolBox

A suite of tools to extract drugs from text records.

Explore the docs >> CLI | Web
Report Bug | Request Feature

[![WEBSITE][play-shield]][play-url]

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.

(back to top)

Getting Started

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 the drug-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 👀: screen recording

(back to top)

RoadMap

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).

(back to top)

Contributing

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

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.

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Contact

Nick Anthony - @nanthony95 - nicholas.anthony@uky.edu

Project Link: https://github.com/uk-ipop/drug-extraction