Description
The entity_recognizer_lg is a pretrained pipeline that we can use to process text with a simple pipeline that performs basic processing steps and recognizes entities. It performs most of the common text processing tasks on your dataframe
How to use
from sparknlp.pretrained import PretrainedPipeline
pipeline = PretrainedPipeline("entity_recognizer_lg", "pt")
result = pipeline.annotate("""I love johnsnowlabs! """)
import nlu
nlu.load("pt.ner.lg").predict("""I love johnsnowlabs! """)
Model Information
Model Name: | entity_recognizer_lg |
Type: | pipeline |
Compatibility: | Spark NLP 4.0.0+ |
License: | Open Source |
Edition: | Official |
Language: | pt |
Size: | 2.5 GB |
Included Models
- DocumentAssembler
- SentenceDetector
- TokenizerModel
- WordEmbeddingsModel
- NerDLModel
- NerConverter
PREVIOUSEntity Recognizer LG