Sentiment Analysis Pipeline for French texts

Description

This pretrained pipeline identifies the sentiments (positive or negative) in French texts.

Predicted Entities

Live Demo Open in Colab Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("classifierdl_bert_sentiment_pipeline", lang = "fr")

result = pipeline.annotate("Mignolet vraiment dommage de ne jamais le voir comme titulaire")

val pipeline = new PretrainedPipeline("classifierdl_bert_sentiment_pipeline", lang = "fr")

val result = pipeline.fullAnnotate("Mignolet vraiment dommage de ne jamais le voir comme titulaire")(0)

Results


['NEGATIVE']

Model Information

Model Name: classifierdl_bert_sentiment_pipeline
Type: pipeline
Compatibility: Spark NLP 4.3.0+
License: Open Source
Edition: Official
Language: fr
Size: 3.6 GB

Included Models

  • DocumentAssembler
  • BertSentenceEmbeddings
  • ClassifierDLModel