Skip to content

A Python-based sentiment analysis project that processes user comments, classifies sentiments (Positive, Neutral, Negative), and visualizes the results using Pandas and Matplotlib.

Notifications You must be signed in to change notification settings

hrish7kesh/Reddit-Scraper

Repository files navigation

Sentiment Analysis on User Comments

Overview

This project performs sentiment analysis on user comments, categorizing them as Positive, Neutral, or Negative. It utilizes Natural Language Processing (NLP) techniques to analyze sentiment scores and provides visual insights using Matplotlib.

Features

  • Analyzes sentiment of user comments using NLP.
  • Classifies sentiment into Positive, Neutral, or Negative.
  • Generates graphical visualizations of sentiment distribution.
  • Summarizes sentiment trends and key insights.

Technologies Used

  • Python (Primary Language)
  • Pandas (Data Processing)
  • Matplotlib (Visualization)
  • NLTK / Vader (Sentiment Analysis)

Installation

  1. Clone the repository:
    git clone https://github.com/hrish7kesh/Reddit-Scraper
    cd Reddit-Scraper
  2. Install dependencies:
    pip install -r requirements.txt

Usage

Run the script to process and analyze comments:

python sentiment_analysis.py

Results will be stored as:

  • CSV files with sentiment scores
  • Graphs showing sentiment distribution

Output

  • Text-based sentiment summary
  • Graphical visualization of sentiment trends
  • Top positive and negative comments extracted

About

A Python-based sentiment analysis project that processes user comments, classifies sentiments (Positive, Neutral, Negative), and visualizes the results using Pandas and Matplotlib.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages