Pipeline to Detect Anatomical References (biobert)

Description

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

Predicted Entities

Multi-tissue_structure, Organism_substance, Organism_subdivision, Organ, Cellular_component, Cell, Immaterial_anatomical_entity, Tissue, Pathological_formation, Anatomical_system, Developing_anatomical_structure

Copy S3 URI

How to use

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


pipeline.annotate("This is an 11-year-old female who comes in for two different things. 1. She was seen by the allergist. No allergies present, so she stopped her Allegra, but she is still real congested and does a lot of snorting. They do not notice a lot of snoring at night though, but she seems to be always like that. 2. On her right great toe, she has got some redness and erythema. Her skin is kind of peeling a little bit, but it has been like that for about a week and a half now.\nGeneral: Well-developed female, in no acute distress, afebrile.\nHEENT: Sclerae and conjunctivae clear. Extraocular muscles intact. TMs clear. Nares patent. A little bit of swelling of the turbinates on the left. Oropharynx is essentially clear. Mucous membranes are moist.\nNeck: No lymphadenopathy.\nChest: Clear.\nAbdomen: Positive bowel sounds and soft.\nDermatologic: She has got redness along the lateral portion of her right great toe, but no bleeding or oozing. Some dryness of her skin. Her toenails themselves are very short and even on her left foot and her left great toe the toenails are very short.")
val pipeline = new PretrainedPipeline("ner_anatomy_biobert_pipeline", "en", "clinical/models")


pipeline.annotate("This is an 11-year-old female who comes in for two different things. 1. She was seen by the allergist. No allergies present, so she stopped her Allegra, but she is still real congested and does a lot of snorting. They do not notice a lot of snoring at night though, but she seems to be always like that. 2. On her right great toe, she has got some redness and erythema. Her skin is kind of peeling a little bit, but it has been like that for about a week and a half now.\nGeneral: Well-developed female, in no acute distress, afebrile.\nHEENT: Sclerae and conjunctivae clear. Extraocular muscles intact. TMs clear. Nares patent. A little bit of swelling of the turbinates on the left. Oropharynx is essentially clear. Mucous membranes are moist.\nNeck: No lymphadenopathy.\nChest: Clear.\nAbdomen: Positive bowel sounds and soft.\nDermatologic: She has got redness along the lateral portion of her right great toe, but no bleeding or oozing. Some dryness of her skin. Her toenails themselves are very short and even on her left foot and her left great toe the toenails are very short.")
import nlu
nlu.load("en.med_ner.anatomy_biobert.pipeline").predict("""This is an 11-year-old female who comes in for two different things. 1. She was seen by the allergist. No allergies present, so she stopped her Allegra, but she is still real congested and does a lot of snorting. They do not notice a lot of snoring at night though, but she seems to be always like that. 2. On her right great toe, she has got some redness and erythema. Her skin is kind of peeling a little bit, but it has been like that for about a week and a half now.\nGeneral: Well-developed female, in no acute distress, afebrile.\nHEENT: Sclerae and conjunctivae clear. Extraocular muscles intact. TMs clear. Nares patent. A little bit of swelling of the turbinates on the left. Oropharynx is essentially clear. Mucous membranes are moist.\nNeck: No lymphadenopathy.\nChest: Clear.\nAbdomen: Positive bowel sounds and soft.\nDermatologic: She has got redness along the lateral portion of her right great toe, but no bleeding or oozing. Some dryness of her skin. Her toenails themselves are very short and even on her left foot and her left great toe the toenails are very short.""")

Results

+-------------------+----------------------+
|chunk              |ner_label             |
+-------------------+----------------------+
|right              |Organism_subdivision  |
|great              |Organism_subdivision  |
|toe                |Organism_subdivision  |
|skin               |Organ                 |
|Sclerae            |Pathological_formation|
|Extraocular muscles|Multi-tissue_structure|
|Nares              |Organ                 |
|turbinates         |Multi-tissue_structure|
|Mucous membranes   |Cell                  |
|Abdomen            |Organism_subdivision  |
|bowel              |Organism_subdivision  |
|right              |Organism_subdivision  |
|toe                |Organism_subdivision  |
|skin               |Organ                 |
|toenails           |Organism_subdivision  |
|foot               |Organism_subdivision  |
|toe                |Organism_subdivision  |
|toenails           |Organism_subdivision  |
+-------------------+----------------------+

Model Information

Model Name: ner_anatomy_biobert_pipeline
Type: pipeline
Compatibility: Healthcare NLP 3.4.1+
License: Licensed
Edition: Official
Language: en
Size: 422.1 MB

Included Models

  • DocumentAssembler
  • SentenceDetectorDLModel
  • TokenizerModel
  • BertEmbeddings
  • MedicalNerModel
  • NerConverter