Spanish NER Pipeline

Description

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

Predicted Entities

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("roberta_token_classifier_bne_capitel_ner_pipeline", lang = "es")

pipeline.annotate("Me llamo Antonio y trabajo en la fábrica de Mercedes-Benz en Madrid.")

val pipeline = new PretrainedPipeline("roberta_token_classifier_bne_capitel_ner_pipeline", lang = "es")

pipeline.annotate("Me llamo Antonio y trabajo en la fábrica de Mercedes-Benz en Madrid.")

Results


+------------------------+---------+
|chunk                   |ner_label|
+------------------------+---------+
|Antonio                 |PER      |
|fábrica de Mercedes-Benz|ORG      |
|Madrid                  |LOC      |
+------------------------+---------+

Model Information

Model Name: roberta_token_classifier_bne_capitel_ner_pipeline
Type: pipeline
Compatibility: Spark NLP 4.0.0+
License: Open Source
Edition: Official
Language: es
Size: 459.4 MB

Included Models

  • DocumentAssembler
  • SentenceDetectorDLModel
  • TokenizerModel
  • RoBertaForTokenClassification
  • NerConverter
  • Finisher