Where would one modify this code to filter different sentiments?
Via this post, I learned about the HackerNews Recap podcast: https://podcasts.apple.com/us/podcast/hacker-news-recap/id16...
Via this post, I learned about the HackerNews Recap podcast: https://podcasts.apple.com/us/podcast/hacker-news-recap/id16...
Right here: https://github.com/garritfra/positive_hackernews/blob/main/m...
This project uses the sentiment analyzer provided by the NLTK toolkit [0]. The `SentimentIntensityAnalyzer` class assigns polarity scores to its text input, where a score >=0 denotes a "positive valence".
[0]:https://www.nltk.org/api/nltk.sentiment.SentimentIntensityAn...