This project contains various convenience utilities for Amazon Mechanical Turk (AMT) requesters using the original Amazon Mechanical Turk Command Line Tools.
Note that Amazon has dropped support for the Command Line Tools and no longer distributes them; requesters are now expected to use one of the AWS Software Development Kits such as the AWS Command Line Interface. As such, the UKP Amazon Mechanical Turk utilities provided in this repository may no longer work properly or at all.
To compile the utilities, you need Maven.
To run the utilities, you need a Bourne-compatible shell, a Java
runtime environment, and the Amazon Mechanical Turk Command Line
Tools
version 1.3.1. (Using more recent versions of the Command Line Tools
may also work, but we have not tested this.) The utilities assume
that the Amazon Mechanical Turk Command Line Tools are in your PATH
,
but this can be overriden at compilation/installation time (see
below).
For most setups it should be sufficient to use the standard incantation:
make
sudo make install
If the Amazon Mechanical Turk Command Line Tools are not in your
PATH
, or if you want to specify a different installation prefix,
then you can pass these locations as arguments to make
. For
example:
make PREFIX=/path/to/mturk-utils AMTDIR=/path/to/aws-mturk-clt-1.3.4/bin/
sudo make PREFIX=/path/to/mturk-utils AMTDIR=/path/to/aws-mturk-clt-1.3.4/bin/ install
For detailed usage instructions for a script, invoke it without any command-line options.
This script takes an AMT results file and approves all assignments
with a status of "Submitted". It runs much faster than the official
approveWork.sh
script which attempts to approve all assignments
regardless of their status.
This script takes an AMT results file and determines how many rejected assignments there are for each HIT. Then it adds a corresponding number of assignments for those HITs.
This script takes an AMT results file and a worker ID, and then rejects all submitted assignments by that worker.
This script updates the locale qualification of existing HITs. Unlike
earlier versions of the AMT command-line utilities, you can specify
more than one locale. For example, you can restrict your HITs to
workers in the United States, Germany, and Hungary by passing a locale
value of us,de,hu
.
(Amazon apparently added this feature to the command-line tools in Version 1.3.3,
so if you are using that version or later, then you probably do not
need this script.)
Tristan Miller, Austrian Research Institute for Artificial Intelligence