The source code of the book Mining the social web 2nd Edition