This is a Twitter script I learned over the weekend. What it does is gives the sentiment of each word in the list. In this case the list comes from the AFINN rating. What this script does is print out the list and corresponding rating in an JSON file.