Skip to content

LeeladharRao/Subreddit_Sentiment_Analyser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LSF Subreddit Sentiment Analyser

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 Run Results

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

Tech

I have used the following libraries for this script:

  • PyTorch - Open Source Machine Learning framework!
  • NLTK - built for working with NLP
  • DistilBERT - masked language modelling mostly used for text and speach
  • Reddit API - set of APIs that got rate limited to hell..
  • PRAW - package that allows access to Reddit's API.
  • Transformers - provides thousands of pretrained models
  • Pandas - duh
  • Hub - best Machine Learning and AI Community
  • Github Actions - env to execute pretty much everything using .yaml

Get started

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

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.

Sources

Free Software, Hell Yeah!

About

LSF subreddit sentiment analyzer that runs everyday.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages