Instruction sheet

I found the assignment instructions to often be ambiguous as to what
output was desired.  In almost all cases, what was desired was a single
number.
Assignment 1 - tweet sentiment

This takes two arguments: sentiment file and a sample set of tweets
(JSON format) and returns a simple index for each one.  If a term is
not in the sentiment file, we assign a value of zero.  This code is
less fugly than what I'd write later (and in a hurry).
Given a set of tweets, identify the happiest state in the US based on
the individual tweet sentiment.
Given a set of tweets, identify the ten most common hashtags.
Given a collection of tweets, output the frequency of each term.  (At
this juncture, I was trying in JFDI mode.)
One thousand test tweets in their tweet-worthy glory.
Sentiment file
O'Connor, B., Balasubramanyan, R., Routedge, B., & Smith, N. From
Tweets to Polls: Linking Text Sentiment to Public Opinion Time Series.
(ICWSM), May 2010.
Assignment 1 instructions
Twitterstream retriever, sans my keys.  Get your own tokens here:
https://dev.twitter.com/apps
Readme file for Finn Årup Nielsen's sentiment index of terms.
Given a set of tweets, assign a sentiment value to words not already in
the sentiment file based on the other words that are.