Pipeline to Detect Adverse Drug Events

Description

This pretrained pipeline is built on the top of ner_ade_clinical model.

Live Demo Open in Colab Copy S3 URI

How to use

pipeline = PretrainedPipeline("ner_ade_clinical_pipeline", "en", "clinical/models")


pipeline.annotate("Been taking Lipitor for 15 years, have experienced severe fatigue a lot!!!. Doctor moved me to voltaren 2 months ago, so far, have only experienced cramps")
val pipeline = new PretrainedPipeline("ner_ade_clinical_pipeline", "en", "clinical/models")


pipeline.annotate("Been taking Lipitor for 15 years, have experienced severe fatigue a lot!!!. Doctor moved me to voltaren 2 months ago, so far, have only experienced cramps")
import nlu
nlu.load("en.med_ner.ade_clinical.pipeline").predict("""Been taking Lipitor for 15 years, have experienced severe fatigue a lot!!!. Doctor moved me to voltaren 2 months ago, so far, have only experienced cramps""")

Results

+--------------+---------+
|chunk         |ner_label|
+--------------+---------+
|Lipitor       |DRUG     |
|severe fatigue|ADE      |
|voltaren      |DRUG     |
|cramps        |ADE      |
+--------------+---------+

Model Information

Model Name: ner_ade_clinical_pipeline
Type: pipeline
Compatibility: Healthcare NLP 3.4.1+
License: Licensed
Edition: Official
Language: en
Size: 1.7 GB

Included Models

  • DocumentAssembler
  • SentenceDetectorDLModel
  • TokenizerModel
  • WordEmbeddingsModel
  • MedicalNerModel
  • NerConverter