reddit_scraper_and_sentiment_analyzer
reddit_scraper_and_sentiment_analyzer copied to clipboard
SentimentIntensityAnalyzer' is not defined
in reddit_post_sentiment_analysis.py line sid = SentimentIntensityAnalyzer() is only declared but the function is not coded. Please advice if you have the code for it.
Thank you, Vishal
I think I found the solution we need to use : from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer
The function is a feature from VADER.