Description
This pretrained pipeline is built on the top of ner_deid_subentity model.
Predicted Entities
How to use
from sparknlp.pretrained import PretrainedPipeline
pipeline = PretrainedPipeline("ner_deid_subentity_pipeline", "ro", "clinical/models")
text = '''Spitalul Pentru Ochi de Deal, Drumul Oprea Nr. 972 Vaslui, 737405 România
Tel: +40(235)413773
Data setului de analize: 25 May 2022 15:36:00
Nume si Prenume : BUREAN MARIA, Varsta: 77
Medic : Agota Evelyn Tımar
C.N.P : 2450502264401'''
result = pipeline.fullAnnotate(text)
import com.johnsnowlabs.nlp.pretrained.PretrainedPipeline
val pipeline = new PretrainedPipeline("ner_deid_subentity_pipeline", "ro", "clinical/models")
val text = "Spitalul Pentru Ochi de Deal, Drumul Oprea Nr. 972 Vaslui, 737405 România
Tel: +40(235)413773
Data setului de analize: 25 May 2022 15:36:00
Nume si Prenume : BUREAN MARIA, Varsta: 77
Medic : Agota Evelyn Tımar
C.N.P : 2450502264401"
val result = pipeline.fullAnnotate(text)
Results
| | ner_chunks | begin | end | ner_label | confidence |
|---:|:-----------------------------|--------:|------:|:------------|-------------:|
| 0 | Spitalul Pentru Ochi de Deal | 0 | 27 | HOSPITAL | 0.5594 |
| 1 | Drumul Oprea Nr. 972 | 30 | 49 | STREET | 0.99724 |
| 2 | Vaslui | 51 | 56 | CITY | 1 |
| 3 | 737405 | 59 | 64 | ZIP | 1 |
| 4 | +40(235)413773 | 79 | 92 | PHONE | 1 |
| 5 | 25 May 2022 | 119 | 129 | DATE | 1 |
| 6 | BUREAN MARIA | 158 | 169 | PATIENT | 0.9515 |
| 7 | 77 | 180 | 181 | AGE | 1 |
| 8 | Agota Evelyn Tımar | 191 | 208 | DOCTOR | 0.8149 |
| 9 | 2450502264401 | 218 | 230 | IDNUM | 1 |
Model Information
Model Name: | ner_deid_subentity_pipeline |
Type: | pipeline |
Compatibility: | Healthcare NLP 4.4.4+ |
License: | Licensed |
Edition: | Official |
Language: | ro |
Size: | 1.2 GB |
Included Models
- DocumentAssembler
- SentenceDetectorDLModel
- TokenizerModel
- WordEmbeddingsModel
- MedicalNerModel
- NerConverterInternalModel