Coder Social home page Coder Social logo

ianshan0915 / mabnlp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from huggles/mabnlp

1.0 2.0 0.0 22.76 MB

A lightweight API-based clinical NLP

PHP 55.71% JavaScript 34.74% Roff 0.01% Makefile 0.03% Python 0.06% HTML 9.33% Batchfile 0.02% Shell 0.01% Vue 0.10%

mabnlp's Introduction

About MABNLP

MABNLP is a prototype that intends to extract clinical concepts from clinical free-texts, such as discharge summaries, clinical reports and etc. It was developed based on a scalable API-based architecture using Laravel. The architecture is shown as follows:

Laravel is accessible, yet powerful, providing tools needed for large, robust applications. A superb combination of simplicity, elegance, and innovation give you tools you need to build any application with which you are tasked. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as: routing, session, database ORM, and etc.

Using MABNLP

Create accounts of NLP APIs

Since MABNLP uses external NLP APIs, you need to first get accounts from the NLP API providers and with the accounts you'll obtain free access to their APIs. However, most of providers start to charge on usage after you have passed certain threshold. Please refer to the documentations of each provider for more details.

After you have the accounts, update the keys in 'entityextraction.js'. The following shows how to update IBM watson-NLU's access keys.

function RunWatson(text,docid){
    var username = ""; // your username
    var password = ""; // your password
    var baseurl = ""; // api url

    var outputmode = "json";
    var apikey = ""; // api key

    ShowOrHideLoader();

    return $.ajax({
        // send requests to the API
    });

}

Obtain datasets from i2b2

Obtain datasets for the 2008 Obesity Challenge and the 2009 Medication Challenge from i2b2. Then put dataset under './public/Documents/i2b2/'

Prepare the environment for running the prototype

Installation of Laravel

Local Development Server

If you have PHP installed locally and you would like to use PHP's built-in development server to serve your application, you may use the serve Artisan command. This command will start a development server at http://localhost:8000:

php artisan serve

Security Vulnerabilities

Privacy: The prototype has not implemented the de-identification technique for anonymizing patients' data. Therefore, it's not feasible to test it in clinical practice.

Reference

Paper submitted

License

The prototype is open-sourced software licensed under the MIT license.

mabnlp's People

Contributors

huggles avatar ianshan0915 avatar

Stargazers

 avatar

Watchers

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