0.8
Sorting media using crowdsourcing.   
User Manual
LIRIS

Check Lists

User ManualHow To XML Files CML (job template) Antechamber Check Lists Tree View Trouble Shooting

At CrowdFlower

CPS uses CrowdFlower's API through the CrowdManager class. Therefore, you must use their service. Here is a list of what you need:

Configuration file

The config.xml file you use must contain the following fields. It will be checked when a splitsort is launched.

The media.xml file plays a crucial role. It contains the list of the media you want to place along each axis written in the config.xml file. In order for CPS to know the identifier, the url and whichever other information you would like to see on your results.xml file about each media, you must store it in. An example of how you should format this file is given in the same page. Two fields are compulsory, for each media:

MySQL Database

The MySQL database used by CPS has to be correctly configured. CPS will help you in this matter: it can write a SQL script creating the tables you require for this splitsort as well as the field necessary. It takes its information from the config.xml file, so make sure it is correctly configured!

In order to create the script, just type:

$> java -cp 'bin/:lib/*' myShell.MainClass --sql-file

When it is done, retrieve the script in data/mysql (its exact name is displayed when you run the command) and use it to populate your database.

AnteChamber

The antechamber is the interface between CrowdFlower and you, as well as the one used by CPS to retrieve results.. While CPS can retrieve and upload results on its own, it cannot know when to start a new iteration. The antechamber is a solution to this, but it must have the correct configuration. For that, you must edit the main.php file.

For more information on this component, you can go here and, in order to see how it fits in the global scheme, you should check that.