Is this stereotype true?
We're going to test it in this tutorial, by counting the frequency of apologies in a number of Canadian subreddits. We will do this using python, and a module called praw which provides an interface to the Reddit API.
Then we will generalize the python program to allow us to search any subreddit for any set of words using command line arguments.
The final program can be found here, and an intro to python can be found here.
Then we will generalize the python program to allow us to search any subreddit for any set of words using command line arguments.
The final program can be found here, and an intro to python can be found here.
Setup
$>python -m pip install praw