Description
This pretrained pipeline is built on the top of ner_chexpert model.
How to use
pipeline = PretrainedPipeline("ner_chexpert_pipeline", "en", "clinical/models")
pipeline.annotate("FINAL REPORT HISTORY : Chest tube leak , to assess for pneumothorax . FINDINGS : In comparison with study of ___ , the endotracheal tube and Swan - Ganz catheter have been removed . The left chest tube remains in place and there is no evidence of pneumothorax. Mild atelectatic changes are seen at the left base.")
val pipeline = new PretrainedPipeline("ner_chexpert_pipeline", "en", "clinical/models")
pipeline.annotate("FINAL REPORT HISTORY : Chest tube leak , to assess for pneumothorax . FINDINGS : In comparison with study of ___ , the endotracheal tube and Swan - Ganz catheter have been removed . The left chest tube remains in place and there is no evidence of pneumothorax. Mild atelectatic changes are seen at the left base.")
import nlu
nlu.load("en.med_ner.chexpert.pipeline").predict("""FINAL REPORT HISTORY : Chest tube leak , to assess for pneumothorax . FINDINGS : In comparison with study of ___ , the endotracheal tube and Swan - Ganz catheter have been removed . The left chest tube remains in place and there is no evidence of pneumothorax. Mild atelectatic changes are seen at the left base.""")
Results
| | chunk | label |
|---:|:-------------------------|:--------|
| 0 | endotracheal tube | OBS |
| 1 | Swan - Ganz catheter | OBS |
| 2 | left chest | ANAT |
| 3 | tube | OBS |
| 4 | in place | OBS |
| 5 | pneumothorax | OBS |
| 6 | Mild atelectatic changes | OBS |
| 7 | left base | ANAT |
Model Information
Model Name: | ner_chexpert_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