-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathconfig.py
36 lines (32 loc) · 1.68 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# survey_id should remain unchanged
survey_id = "SV_4TLSPrwNIjymdh3"
# the below variables should be set according to your survey specifications
# this text will appear in each question
ab_question_text = "Which of the following sounds the most natural?"
mc_question_text= "Are there any errors in this speech sample?"
trs_question_text = "Please type the sentence you hear in this audio sample."
mushra_question_text = "How natural are the following speech recordings? <br> Reference: "
mos_question_text = "Listen to this speech sample, then rate the quality of the speech."
# the answer options for multiple choice questions
mc_choice_text = ['Yes', 'No']
# these files should contain the urls to be embedded in questions/choices
# each file should have a filename and url per line, separated by whitespace
ab_file1 = "resources/ab-urls-1.txt"
ab_file2 = "resources/ab-urls-2.txt"
abc_file1 = "resources/abc-urls-1.txt"
abc_file2 = "resources/abc-urls-2.txt"
abc_file3 = "resources/abc-urls-3.txt"
mc_file = "resources/mc-urls.txt"
trs_file = "resources/trs-urls.txt"
mos_file = "resources/mos-urls.txt"
# mushra filenames should be the same across folders
# audiofile urls should vary only by folder name
# any number of folders can be specified
mushra_files = "resources/mushra-urls.txt"
mushra_root = "https://groups.inf.ed.ac.uk/cstr3/cvbotinh/Mushra_example/samples"
# the hidden reference folder should be included in both mushra_folders and mushra_ref_folder
mushra_folders = ["G1","G1H","G1HA","G1TH", "G1THA"]
mushra_ref_folder = "G1THA"
# MC questions have sentence text embedded
# this file should have a filename and corresponding sentence string per line
mc_sentence_file = "resources/sentences.txt"