Skip to content

princek0/News-sentiment-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 

Repository files navigation

News-sentiment-analyzer

This project will scrape yahoo finance articles on a particular stock of your choosing and perform sentiment analysis using NLP on the headlines. It will show you a graph of the sentiment compound score over time.

  • A compound score = 0 indicates the news headline being neutral.
  • A compound score > 0 indicates a positive headline.
  • A compound score < 0 indicates a negative headline.

Libraries used:

  • nltk
  • beautifulsoup
  • selenium
  • matplotlib

To-do

  • Scrape headlines of yahoo news
  • Add sentiment analysis of headlines using a pre-trained model
  • Refine sentiment analysis by adding custom financial lexicon
  • Add functionality to scrape all yahoo finance articles on a particular stock and then visualise their sentiment compound_score over time.

Photos of project

Screenshot 2024-11-24 231241

About

A simple website scraper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages