Home > Preparation > Preparation of DCR/CCR test
The following steps should be performed to prepare the DCR/CCR test setup.
For all the resource files (steps 1-4) an example is provided in src/test_inputs
using the ITU-T Sup23 Dataset.
Note: make sure to first perform steps listed in the general preparation process.
Note: Within DCR and CCR method, the quality of a speech clip is compared to a reference
clip e.g. a same clip
without being artificially processed.
-
Upload your speech clips and the references in a cloud server and create the
rating_clips.csv
file which contains all URLs to speech clips in a column namedrating_clips
and URLs to the corresponding reference clips inreferences
. (see rating_clips_ccr.csv as an example).Note about file names:
- Later in the analyzes, clip's file name will be used as a unique key and appears in the results.
- In case you have 'conditions' which are represented with more than one clip, you may consider to use the condition's name in the clip's file name e.g. xxx_c01_xxxx.wav. When you provide the corresponding pattern, the analyzes script will create aggregated results over conditions as well.
-
Upload your training clips in a cloud server and create the
training_clips.csv
file which contains all URLs in a column namedtraining_clips
and URLs to corresponding reference clips in columntraining_references
(see training_clips_ccr.csv as an example).Hint: Training clips are used for anchoring participants perception, and should represent the entire dataset. They should approximately cover the range from worst to best quality to be expected in the test. It may contain about 5 clips.
-
Create your custom project by running the master script:
-
Configure the project in your config file. See master script configuration for more information.
-
Run master script with all above-mentioned resources as input (following example is for ccr)
cd src python master_script.py ^ --project YOUR_PROJECT_NAME ^ --method ccr ^ --cfg your_configuration_file.cfg ^ --clips rating_clips.csv ^ --training_clips training_clips.csv
Note: file paths are expected to be relative to the current working directory.
-
Double check the outcome of the script. A folder should be created with YOUR_PROJECT_NAME in current working directory which contains:
YOUR_PROJECT_NAME_ccr.html
: Customized HIT app to be used in Amazon Mechanical Turk (AMT).YOUR_PROJECT_NAME_publish_batch.csv
: List of dynamic content to be used during publishing batch in AMT.YOUR_PROJECT_NAME_ccr_result_parser.cfg
: Customized configuration file to be used byresult_parser.py
script
-
Now, you are ready for Running the Test on Amazon Mechanical Turk.