TL;DR a simple labMT usage script
This script uses the language assessment by Mechanical Turk (labMT) word list to score the happiness of a corpus. The labMT word list was created by combining the 5000 words most frequently appearing in four sources: Twitter, the New York Times, Google Books, and music lyrics, and then scoring the words for sentiment on Amazon's Mechanical Turk. The list is described in detail in the publication Dodds' et al. 2011, PLOS ONE, "Temporal Patterns of Happiness and Information in a Global-Scale Social Network: Hedonometrics and Twitter."
Full (well, some) documentation is now at Read The Docs.
This work by Andy Reagan is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.