This repository provides a comprehensive solution for analyzing and evaluating comments from top Reddit posts, specifically from the r/politics
subreddit. The project focuses on assessing the moral dimensions of comments using advanced text processing and machine learning techniques.
- DataGatherer: Gathers and organizes comments from Reddit posts.
- Preprocessing: Cleans and processes text data.
- MoralCentroids: Calculates moral scores using custom vectors and embeddings.
- MoralScoreAnalyzer: Analyzes and visualizes moral scores with statistical and graphical methods.
- Clone the repository.
- Run
pip3 install -r requirements.txt
. - Get your credentials from Reddit and add them to
credentials.py
. - Edit
config.py
. - Run
python main.py
.
This project is ideal for those interested in text analysis, sentiment evaluation, and moral dimension analysis of social media content.