Git Product home page Git Product logo

medical-ner's Introduction

Medical-NER

I had to present a demo for Named Entity Recognition NER on Medical text Data. I found Stanza NLP Package suitable for my task but I was not able to integrate it with Spacy Displacy to show highlighted Entities because Spacy Model output and Stanza Model output for NER were very different. So I created this little script for the demo. I used Streamlit for UI.

Demo NER

NER Model:

I have used i2b2 clinical NER model trained on publicly available MIMIC-III database. It has been trained to extract following NER:

  • PROBLEM
  • TEST
  • TREATMENT

For more information, you can visit stanza website.

Steps:

I tested only in Python 3.7.13 in Linux.

  • pip install -r requirements.txt
    Execute the following statement
  • streamlit run ner.py
    Open URL in browser.
    Note: It will download some packages for the first time. So it might take some time to start. See terminal output for that.

medical-ner's People

Contributors

amir-shehzad avatar

Stargazers

 avatar  avatar  avatar Muhammad Zeeshan Tariq avatar

Watchers

James Cloos avatar Data Scientist avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.