Whitepaper
January 11, 2022
|
1
min read

Contextual Sentence Analysis for the Sentiment Prediction on Financial Data

Elvys Linhares Pontes
,
NLP Engineer
Learn more

Abstract — Newsletters and social networks can reflect the opinion about the market and specific stocks from the perspective of analysts and the general public on products and/or services provided by a company. Therefore, sentiment analysis of these texts can provide useful information to help investors trade in the market. In this paper, a hierarchical stack of Transformers model is proposed to identify the sentiment associated with companies and stocks, by predicting a score (of data type real) in a range between –1 and +1. Specifically, we fine-tuned a RoBERTa model to process headlines and microblogs and combined it with additional Transformer layers to process the sentence analysis with sentiment dictionaries to improve the sentiment analysis. We evaluated it on financial data released by SemEval-2017 task 5 and our proposition outperformed the best systems of SemEval-2017 task 5 and strong baselines. Indeed, the combination of contextual sentence analysis with the financial and general sentiment dictionaries provided useful information to our model and allowed it to generate more reliable sentiment scores.

{{cta('c43fb32a-9a43-4f83-a70b-b63a02fd3873','justifycenter')}}

Want to Partner With Us?

Explore our suite of intelligent, compliance-friendlymarket research & analytics tools, and contact us to book a demo!
Research Products
Book a Demo

Related Articles

Whitepaper
July 3, 2024
Takeaways & Insights from Digital Wealth Luncheon Hong Kong
Learn more
Whitepaper
March 5, 2024
Insights into Digital Wealth Singapore Roundtable 2024
Learn more
Whitepaper
August 20, 2023
Insights into Leveraging BERT Language Models for Multi-Lingual ESG Issue Identification
Learn more