Sentiment Analysis Pipeline for Financial news

Description

This pretrained pipeline identifies the sentiments (positive, negative or neutral) in financial news.

Download Copy S3 URI

How to use

from sparknlp.pretrained import PretrainedPipeline
pipeline = PretrainedPipeline("classifierdl_bertwiki_finance_sentiment_pipeline", "en")

result = pipeline.annotate("""I love johnsnowlabs!  """)

Model Information

Model Name: classifierdl_bertwiki_finance_sentiment_pipeline
Type: pipeline
Compatibility: Spark NLP 4.3.0+
License: Open Source
Edition: Official
Language: en
Size: 432.9 MB

Included Models

  • DocumentAssembler
  • BertSentenceEmbeddings
  • ClassifierDLModel