This is python program that does sentimental analysis of all daily posts of Sub-Reddit page LSF. Written in python, uses nltk and Disitilibert for sentimental analysis which configyred to execute everyday with Github Actions.
Last Executed on 2024/07/15
According to DistilBERT, yesterday's posts on LSF were 57% Positive
According to NLTK, yesterday's posts on LSF were 76% Negative
I have used the following libraries for this script:
PyTorch
- Open Source Machine Learning framework!NLTK
- built for working with NLPDistilBERT
- masked language modelling mostly used for text and speachReddit API
- set of APIs that got rate limited to hell..PRAW
- package that allows access to Reddit's API.Transformers
- provides thousands of pretrained modelsPandas
- duhHub
- best Machine Learning and AI CommunityGithub Actions
- env to execute pretty much everything using .yaml
Clone and install.
git clone [email protected]:LeeladharRao/Subreddit_Sentiment_Analyser
cd Subreddit_Sentiment_Analyser
pip install -r requirements.txt
Run the python script
py main.py
Sentiment analysis is the process of analyzing digital text to determine if the emotional tone of the message is positive, negative, or neutral. Today, companies have large volumes of text data like emails, customer support chat transcripts, social media comments, and reviews. Sentiment analysis tools can scan this text to automatically determine the author’s attitude towards a topic. Companies use the insights from sentiment analysis to improve customer service and increase brand reputation.
- Sentiment Analysis - What is this? and Why?
- Create Reddit API app - Reddit Dev App
- Reddit API Documentaion - Docs
- PRAW Documentation - Docs
- DistiBERT Documentaion - Docs
Free Software, Hell Yeah!