This directory contains scripts for posting a simple paraphrase judgement HIT to MTurk and downloading the results. 
The code uses the boto python interface. More documentation can be found at: http://boto.readthedocs.org/en/latest/ref/mturk.html

The directory contains the following files: 

- input/instructions.txt : the instructions for the HIT. This file is read by post.py and its contents are passed as a parameter when posting the HIT	
- input/paraphrase_input.csv : the data to post. Each row of the csv contains one sentence, a designated phrase from that sentence, and a list of paraphrases for that phrase which are to be judged.

- src/post.py : post the HIT to Mechanical Turk
- src/download.py : download the results of the HIT posted in post.py and write them to a csv
- src/grade.py : approve the assignments you downloaded and pay the workers
- src/remove.py : remove the HIT from MTurk

Usage: 
  $ python src/post.py //Post the HIT
  $ python src/download.py //Download the results and save then to a file called output.csv
  $ python src/grade.py output.csv //Grade the output saved in output.csv
  
