Skip to content

Reddit Sentiment Analysis performs sentiment analysis on Reddit comments using natural language processing techniques and machine learning models.

Notifications You must be signed in to change notification settings

hash1khn/reddit-sentiment-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reddit Sentiment Analysis

This project performs sentiment analysis on Reddit comments using natural language processing techniques. It utilizes the Reddit API to collect comments from specified subreddits and applies machine learning models to analyze the sentiment of the collected comments.

Features

  • Collect comments from Reddit using the Reddit API.
  • Preprocess text data for sentiment analysis.
  • Train machine learning models for sentiment classification.
  • Analyze sentiment trends over time.
  • Visualize sentiment analysis results using graphs and charts.

Installation

  1. Clone the repository:
    git clone https://github.com/hash1khn/reddit-sentiment-analysis.git
    
  2. Install the required dependencies:
    pip install -r requirements.txt
    

Usage

  1. Set up Reddit API credentials by creating a Reddit application here.
  2. Update the config.py file with your Reddit API credentials.
  3. Run the reddit_sentiment_analysis.py script to start collecting and analyzing Reddit comments:
    python reddit_sentiment_analysis.py
    

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

  • praw - Python Reddit API Wrapper
  • scikit-learn - Machine Learning Library in Python
  • matplotlib - Data Visualization Library in Python

About

Reddit Sentiment Analysis performs sentiment analysis on Reddit comments using natural language processing techniques and machine learning models.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published