Skip to content

Data Science Project: To compare toxicity of comments between Facebook and Reddit.

Notifications You must be signed in to change notification settings

csush/compare-toxicity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

compare-toxicity

ECE 180 Project by Group 1.

Puropose

In the real world, people treat others with politeness and hospitality, but in the virtual world people tend to speak without considering the courtesy and morality of the situation. We want to analyze how conflicting people’s overall reactions would be to a certain topic when their anonymity is taken away. The importance of this project is to understand how anonymity affects people’s behavior on the internet.

The two social media platforms we'll compare are Reddit and Facebook.

Getting Started

Clone the repository:

$ git clone https://github.com/csush/compare-toxicity

Installing Required Packages:

Install praw package: The Python Reddit API Wrapper

$ sudo pip install praw

Install nltk package for sentiment analysis:

$ sudo pip install nltk

You can also installing packages in Anaconda

Running Demo:

Demo introduction: Demo aotumatically extracts newest 2000 comments from Reddit and 2000 comments under the topic of Arsenal in facebook and gunners in Reddit. Then the sentiments analysis model will kick in to achieve data preprocessing and analysis for each set of comments. Finally the pie chat and histogram of these two datasets will be plotted.

recommended environment: Python 2.7 qtconsole

$ run demo.py

About

Data Science Project: To compare toxicity of comments between Facebook and Reddit.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published