Skip to content

vholley/Sentiment-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Sentiment-Analysis-Sample

Using BeautifulSoup to analyze HTML and NLTK VADER to do sentiment analysis on news headlines

sentiment_analysis_sample.py contains an example of analyzing HTML data using Beautiful soup to extract financial news headlines and then applying NLTK VADER to approximate the sentiment (positive, negative, or neutral) from the headlines.

NOTE: This program is not nearly robust enough as-is to extrapolate worthwhile financial advice.

Datasets courtesy of DataCamp.

About

Using BeautifulSoup to analyze HTML and NLTK VADER to do sentiment analysis on news headlines

Topics

Resources

Stars

Watchers

Forks