External modules needed are twitter and json. Install them using
easy_install python-twitter
easy_install json
Open up the credentials.json file and place your app's consumer key and consumer secret as well as the user's access token and access secret.
Open replacements.json and follow the template to insert new replacements. As of now you can insert either a grammatical error or a spelling error.
Modify tweets.dat to change the contents of the tweets. $USER, $CORRECTION, and $ERROR will be changed to the appropriate values for each tweet. Tweets are delimited by a new line, and tweets will be chosen at random among the list.
python grammar-bot.py
Rishi Ishairzay and Kyle Morgan