Skip to content

NeuralClassifier/RedditAnalysis

Repository files navigation

RedditAnalysis

In this assignment I have scrapped the reddit posts from two popular reddit repositories: r/vim and r/emacs by considering that the number of posts each day by any subreddit is less than 1000, and did a comprehensive graphical analysis. Another special graphical analysis has been conducted by measuring the subjectivity scores and polarity scores of the extracted texts.

Installation

For Installing PRAW: The Python Reddit API Wrapper

pip install praw

For Installing PSAW: Pushshift API Wrapper

pip install psaw

For Installing TextBlob

pip install -U textblob

*Note

Please use this code if the plot is getting saved with no axis

matplotlib.pyplot.savefig(/.../,bbox_inches = "tight")

Contributors