Skip to content

Commit eea157b

Browse files
authored
Fix typos across documentation and code (#76)
1 parent eb2ca6f commit eea157b

30 files changed

Lines changed: 108 additions & 108 deletions

docs/conf_master.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ following message next time they want to perform a HIT from this group:
3535
* `allowed_max_hit_in_project:60`: Number of assignments that one worker can perform from this project.
3636
* `hit_base_payment:0.5`: Base payment for an accepted assignment from this HIT. This value will be used as information.
3737
* `quantity_hits_more_than: 30`: Defines the necessary hits required for quantity bonus.
38-
* `quantity_bonus: 0.1`: The amount of the quantity bonus to be payed for each accepted assignment.
38+
* `quantity_bonus: 0.1`: The amount of the quantity bonus to be paid for each accepted assignment.
3939
* `quality_top_percentage: 20`: Defines when quality bonus should be applied (in addition, participant should be
4040
eligible for quantity bonus).
4141
* `quality_bonus: 0.15`: the amount of the quality bonus per accepted assignment.
@@ -57,7 +57,7 @@ following message next time they want to perform a HIT from this group:
5757
* `allowed_max_hit_in_project:60`: Number of assignments that one worker can perform from this project.
5858
* `hit_base_payment:0.5`: Base payment for an accepted assignment from this HIT. This value will be used as information.
5959
* `quantity_hits_more_than: 30`: Defines the necessary hits required for quantity bonus.
60-
* `quantity_bonus: 0.1`: The amount of the quantity bonus to be payed for each accepted assignment.
60+
* `quantity_bonus: 0.1`: The amount of the quantity bonus to be paid for each accepted assignment.
6161
* `quality_top_percentage: 20`: Defines when quality bonus should be applied (in addition, participant should be
6262
eligible for quantity bonus).
6363
* `quality_bonus: 0.15`: the amount of the quality bonus per accepted assignment.
@@ -76,7 +76,7 @@ following message next time they want to perform a HIT from this group:
7676
* `allowed_max_hit_in_project:60`: Number of assignments that one worker can perform from this project.
7777
* `hit_base_payment:0.5`: Base payment for an accepted assignment from this HIT. This value will be used as information.
7878
* `quantity_hits_more_than: 30`: Defines when quantity bonus requirement.
79-
* `quantity_bonus: 0.1`: the amount of the quantity bonus to be payed for each accepted assignment.
79+
* `quantity_bonus: 0.1`: the amount of the quantity bonus to be paid for each accepted assignment.
8080
* `quality_top_percentage: 20`: Defines when quality bonus should be applied (in addition, participant should be
8181
eligible for quantity bonus).
8282
* `quality_bonus: 0.15`: the amount of the quality bonus per accepted assignment.

docs/prep_p804.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ column named `rating_clips` (see [rating_clips.csv](../src/test_inputs/rating_cl
1717
1818
**Note on Reference Conditions**
1919
* It is strongly recommended to include Reference Conditions in your study to cover the entire range of MOS on all
20-
dimesions.
20+
dimensions.
2121

2222
1. Upload your **training clips** in a cloud server and create `training_gold_clips.csv` file which contains all URLs in a
2323
column named `training_clips` (see [training_gold_clips.csv](../src/test_inputs/training_gold_clips_p804.csv) as an example).
@@ -35,7 +35,7 @@ any given answer for that dimension will be considered to be correct.
3535
**Hint**: Gold standard clips are used as a hidden quality control item in each session. It is expected that their
3636
answers are so obvious for all participants that they all give the `*_ans` rating (+/- 1 deviation is
3737
accepted) for all dimensions. It is recommended to use clips with excellent (answer 5) or very bad
38-
(answer 1) quality. Also clips with extreme and oposite value for multiple dimensions works best (e.g. Coloration 5 and Discontinuty 1).
38+
(answer 1) quality. Also clips with extreme and opposite value for multiple dimensions work best (e.g. Coloration 5 and Discontinuity 1).
3939

4040
1. Create trapping stimuli set for your dataset.
4141

docs/prep_p835.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ column named `rating_clips` (see [rating_clips.csv](../src/test_inputs/rating_cl
1717
1818
**Note on Reference Conditions**
1919
* It is strongly recommended to include Reference Conditions in your study to cover the entire range of MOS on all
20-
three scales. Results of our studies showed that Reference Conditions based on teh ITU-T Rec. P.835 does not cover
20+
three scales. Results of our studies showed that Reference Conditions based on the ITU-T Rec. P.835 do not cover
2121
the entire range of scales, rather the framework propose in ETSI 103 281 Annex D can cover the entire range. We
2222
recommend to use [3gpp_p501_FB](../p835_reference_conditions/3gpp_p501_FB) which is created base on the ETSI/3GPP framework.
2323

src/P808Template/ACR_template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,7 @@ <h3 class="panel-title">
12311231
</div>
12321232
</fieldset>
12331233

1234-
<fieldset class="qualificationFieldset"><label>8.&nbsp; I belive, ...</label>
1234+
<fieldset class="qualificationFieldset"><label>8.&nbsp; I believe, ...</label>
12351235
<div class="radio">
12361236
<label><input type="radio" name="8_hearing" value="normal" required="">I have a normal hearing ability.</label>
12371237
</div>

src/P808Template/CCR_template.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@
477477
}
478478

479479
/*
480-
Remove the answers for all pair-comparision questions in the setup section.
480+
Remove the answers for all pair-comparison questions in the setup section.
481481
*/
482482
function makeAllCMPsUnChecked(){
483483
// remove the listeners
@@ -1455,7 +1455,7 @@ <h3 class="panel-title">
14551455
</div>
14561456
</fieldset>
14571457

1458-
<fieldset class="qualificationFieldset"><label>8.&nbsp; I belive, ...</label>
1458+
<fieldset class="qualificationFieldset"><label>8.&nbsp; I believe, ...</label>
14591459
<div class="radio">
14601460
<label><input type="radio" name="8_hearing" value="normal" required="">I have a normal hearing ability.</label>
14611461
</div>

src/P808Template/DCR_template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@ <h3 class="panel-title">
11601160
</div>
11611161
</fieldset>
11621162

1163-
<fieldset class="qualificationFieldset"><label>8.&nbsp; I belive, ...</label>
1163+
<fieldset class="qualificationFieldset"><label>8.&nbsp; I believe, ...</label>
11641164
<div class="radio">
11651165
<label><input type="radio" name="8_hearing" value="normal" required="">I have a normal hearing ability.</label>
11661166
</div>

src/P808Template/P808_multi.html

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@
494494
}
495495

496496
let gold_stat = getGoldQuestionStat();
497-
console.log("gold_stat:"+ gold_stat['failed'] +"warining:" + gold_stat['warning_showed'] );
497+
console.log("gold_stat:"+ gold_stat['failed'] +"warning:" + gold_stat['warning_showed'] );
498498
let force_re_training = false;
499499
if (gold_stat['failed']>= config['goldClip']['n_fail_block']) {
500500
disableTheHIT(Hide_HIT_REASON.GOLD_FAILED);
@@ -834,7 +834,7 @@
834834
}
835835

836836
function checkGoldQCorrect(given_ans, accepted_var, correct_hash, url) {
837-
// return true if correct_hash is null or its lenght after trim is 0
837+
// return true if correct_hash is null or its length after trim is 0
838838
if (!correct_hash || correct_hash.trim().length == 0)
839839
return true;
840840

@@ -1239,7 +1239,7 @@
12391239

12401240

12411241
/**
1242-
* Check is the givebn url belongs to a trapping questionin training section, If so returns its info, otherwise null-
1242+
* Check is the givebn url belongs to a trapping question in training section, If so returns its info, otherwise null-
12431243
* @param {*} element
12441244
**/
12451245
function getGoldQuestionInTrainingInfo(url){
@@ -1471,7 +1471,7 @@
14711471
return;
14721472

14731473
stat = getGoldQuestionStat();
1474-
console.log('current stat: faild '+stat['failed']+ ', sum: '+stat['sum']);
1474+
console.log('current stat: failed '+stat['failed']+ ', sum: '+stat['sum']);
14751475
is_correct = true;
14761476
// check the answers
14771477
if ( !checkGoldQCorrect(Number(given_ans), 1, ans, goldClipAns["url"])){
@@ -1502,7 +1502,7 @@
15021502
}
15031503
}
15041504
saveGoldQuestionStat(stat);
1505-
console.log('new stat: faild '+stat['failed']+ ', sum: '+stat['sum']);
1505+
console.log('new stat: failed '+stat['failed']+ ', sum: '+stat['sum']);
15061506
}
15071507

15081508
/*
@@ -1524,7 +1524,7 @@
15241524
return;
15251525

15261526
stat = getGoldQuestionStat();
1527-
//console.log('current stat: faild '+stat['failed']+ ', sum: '+stat['sum']);
1527+
//console.log('current stat: failed '+stat['failed']+ ', sum: '+stat['sum']);
15281528
is_correct = true;
15291529
// check the answers
15301530
if ( !checkGoldQCorrect(Number(given_ans), 1, ans, goldClipAns["url"])){
@@ -1556,7 +1556,7 @@
15561556
}
15571557
}
15581558
saveGoldQuestionStat(stat);
1559-
//console.log('new stat: faild '+stat['failed']+ ', sum: '+stat['sum']);
1559+
//console.log('new stat: failed '+stat['failed']+ ', sum: '+stat['sum']);
15601560
}
15611561

15621562
/*
@@ -1866,7 +1866,7 @@
18661866
</div>
18671867
18681868
<input type="range" min="1" max="5" step="1" value="0" class="slider_hide" id="T{0}-discontinuity-slider" name="t{0}_slide_disc" list="tickmarks" required>
1869-
<label for="discontinous" class="pull-left">Continuous</label>
1869+
<label for="discontinuous" class="pull-left">Continuous</label>
18701870
<label for="" class="pull-right">Discontinuous</label>
18711871
</div></br></br></br>`;
18721872

@@ -1887,7 +1887,7 @@
18871887
</tr>
18881888
</tbody>
18891889
</table>
1890-
<label for="discontinous" class="pull-left">Continuous</label>
1890+
<label for="discontinuous" class="pull-left">Continuous</label>
18911891
<label for="" class="pull-right">Discontinuous</label>
18921892
</div>
18931893
<div class="row">
@@ -2161,7 +2161,7 @@
21612161
}
21622162
/*
21632163
Generate the training section
2164-
lod, rev, col, dis
2164+
loud, rev, col, dis
21652165
21662166
*/
21672167
function generate_training_section() {
@@ -2599,7 +2599,7 @@
25992599
</script>
26002600

26012601

2602-
<!-- gold question warining -->
2602+
<!-- gold question warning -->
26032603
<section class="container" id="gold_warning" hidden>
26042604
<div class="alert alert-danger" role="alert">
26052605
<h5><b>Warning</b></h5>
@@ -2614,7 +2614,7 @@ <h5><b>Warning</b></h5>
26142614
<p>
26152615

26162616
<div class="checkbox">
2617-
<label><input type="checkbox" value="warining" onchange="gold_warning()">I read this message carefully and understand it.</label>
2617+
<label><input type="checkbox" value="warning" onchange="gold_warning()">I read this message carefully and understand it.</label>
26182618
</div>
26192619

26202620
</p>
@@ -2656,7 +2656,7 @@ <h3 class="panel-title">
26562656
<li><b>Qualification (just once):</b> Check if you are eligible to perform these HITs</li>
26572657
<li><b>Setup (every <b class="setup_time"> 0</b> minutes):</b> Configure your system and validate it
26582658
by answering 6 questions</li>
2659-
<li><b>Detailed instuction (only once):</b> 12 audio samples, and description of scale. It is crucial to understand what you should do.</li>
2659+
<li><b>Detailed instruction (only once):</b> 12 audio samples, and description of scale. It is crucial to understand what you should do.</li>
26602660
<li><b>Training (every <b class="training_time"> 0 </b> hour):</b> <b
26612661
class="question_number_training"> 0 </b> questions, same as "Ratings" but appears again after <b class="training_time"> 0 </b> hour from the last HIT you perform in this group.
26622662
<li><b>Rating:</b> Listen to <b class="question_number"> 0 </b> audio files and give <b>your opinion
@@ -2798,7 +2798,7 @@ <h3 class="panel-title">
27982798
</div>
27992799
</fieldset>
28002800

2801-
<fieldset class="qualificationFieldset"><label>6.&nbsp; I belive, ...</label>
2801+
<fieldset class="qualificationFieldset"><label>6.&nbsp; I believe, ...</label>
28022802
<div class="radio">
28032803
<label><input type="radio" name="8_hearing" value="normal" required="">I have a normal
28042804
hearing ability.</label>
@@ -3347,8 +3347,8 @@ <h4>Scales and examples:</h4>
33473347

33483348
<div class="alert alert-warning" role="alert">
33493349
<h4>Attention:</h4>
3350-
<p>You may hear an specific instruction in the speech sample starting by <b>"This is an interruption"</b> aksing you to select the scores
3351-
showsing the <b>best</b> or the <b>worst</b> quality. In that case follow the instruction to show your attention, <u>otherwise your submision will be rejected</u>.</p>
3350+
<p>You may hear an specific instruction in the speech sample starting by <b>"This is an interruption"</b> asking you to select the scores
3351+
showsing the <b>best</b> or the <b>worst</b> quality. In that case follow the instruction to show your attention, <u>otherwise your submission will be rejected</u>.</p>
33523352
<p> Scores showing the <b>best</b> quality are: <b>Not noisy, Optimal loudness, Continuous, Uncolored, No reverb, Not distorted, and Excellent quality. </b></p>
33533353
<p> Scores showing the <b>worst</b> quality are: <b>Noisy, Sub-optimal loudness, Discontinuous, Colored, High reverb, Very distorted, and Bad quality.</b></p>
33543354
<p>
@@ -3531,7 +3531,7 @@ <h2>Well done! </h2> You performed the maximum number of HITs that you were allo
35313531
<section class="container" id="gold_rejected" hidden>
35323532
<p>The QA system recognized that you provided a wrong answer to multiple clips that their answers are known to us.
35333533
To avoid more of your submissions potentially get rejected, no more HITs from this job is available for you until we check them.
3534-
For any upcomming job, please carefully read the instruction and follow it. <u>The instruction can change from one job to the other.</u>
3534+
For any upcoming job, please carefully read the instruction and follow it. <u>The instruction can change from one job to the other.</u>
35353535
</p>
35363536

35373537
<div class="alert alert-danger" role="alert">

src/P808Template/P831_ACR_template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ <h3 class="panel-title">
11591159
</div>
11601160
</fieldset>
11611161

1162-
<fieldset class="qualificationFieldset"><label>8.&nbsp; I belive, ...</label>
1162+
<fieldset class="qualificationFieldset"><label>8.&nbsp; I believe, ...</label>
11631163
<div class="radio">
11641164
<label><input type="radio" name="8_hearing" value="normal" required="">I have a normal hearing ability.</label>
11651165
</div>

src/P808Template/P831_DCR_template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,7 @@ <h3 class="panel-title">
10901090
</div>
10911091
</fieldset>
10921092

1093-
<fieldset class="qualificationFieldset"><label>8.&nbsp; I belive, ...</label>
1093+
<fieldset class="qualificationFieldset"><label>8.&nbsp; I believe, ...</label>
10941094
<div class="radio">
10951095
<label><input type="radio" name="8_hearing" value="normal" required="">I have a normal hearing ability.</label>
10961096
</div>

src/P808Template/P835_personalized_template3.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,8 @@
320320
}
321321

322322
let gold_stat = getGoldQuestionStat();
323-
console.log("gold_stat:"+ gold_stat['failed'] +"warining:" + gold_stat['warning_showed'] );
324-
cookie_debug_status = cookie_debug_status + "gold_stat"+ gold_stat['failed'] +",warining:" + gold_stat['warning_showed'] + "*";
323+
console.log("gold_stat:"+ gold_stat['failed'] +"warning:" + gold_stat['warning_showed'] );
324+
cookie_debug_status = cookie_debug_status + "gold_stat"+ gold_stat['failed'] +",warning:" + gold_stat['warning_showed'] + "*";
325325
let force_re_training = false;
326326
if (gold_stat['failed']>= config['goldClip']['n_fail_block']) {
327327
disableTheHIT(Hide_HIT_REASON.GOLD_FAILED);
@@ -954,7 +954,7 @@
954954
}
955955

956956
/**
957-
* Check is the givebn url belongs to a trapping questionin training section, If so returns its info, otherwise null-
957+
* Check is the givebn url belongs to a trapping question in training section, If so returns its info, otherwise null-
958958
* @param {*} element
959959
**/
960960
function getGoldQuestionInTrainingInfo(url){
@@ -1746,7 +1746,7 @@
17461746
</script>
17471747

17481748

1749-
<!-- gold question warining -->
1749+
<!-- gold question warning -->
17501750
<section class="container" id="gold_warning" hidden>
17511751
<div class="alert alert-danger" role="alert">
17521752
<h5><b>Warning</b></h5>
@@ -1934,7 +1934,7 @@ <h3 class="panel-title">
19341934
</div>
19351935
</fieldset>
19361936

1937-
<fieldset class="qualificationFieldset"><label>6.&nbsp; I belive, ...</label>
1937+
<fieldset class="qualificationFieldset"><label>6.&nbsp; I believe, ...</label>
19381938
<div class="radio">
19391939
<label><input type="radio" name="8_hearing" value="normal" required="">I have a normal
19401940
hearing ability.</label>
@@ -2436,13 +2436,13 @@ <h4>Important examples:</h4>
24362436
data-src="https://audiosamplesp808.blob.core.windows.net/p808-assets/clips/personalized_p835/example2.wav">&nbsp;</span>
24372437
</p>
24382438

2439-
<p> <b>Example 3:</b></p><p> The <b>speech signal</b> of target speaker is completly removed from judgment segment (<b>very distorted, score1 </b>). Although in judgment segment there is no background noise, but
2439+
<p> <b>Example 3:</b></p><p> The <b>speech signal</b> of target speaker is completely removed from judgment segment (<b>very distorted, score1 </b>). Although in judgment segment there is no background noise, but
24402440
voice of another person. It is considered as a <b> very intrusive background (score 1)</b>. The <b>overall quality is Bad (score 1)</b> as the system failed to recognize the target speaker and filter her out in the judgement segment.</p>
24412441
<p align="center"> <span class="baudio" id="exml3" data-onfinished="train_samples_finished"
24422442
data-src="https://audiosamplesp808.blob.core.windows.net/p808-assets/clips/personalized_p835/example3.wav">&nbsp;</span>
24432443
</p>
24442444

2445-
<p> <b>Example 4:</b></p><p> The <b>speech signal</b> of target speaker is completly removed from judgment segment (<b>very distorted, score1 </b>). The judgment segment doesnot contain any voice but <b>slightly noticeable (score 4)</b> background noise. The <b>overall quality is Bad (score 1)</b> as the system completly removed target speaker from the judgement segment.</p>
2445+
<p> <b>Example 4:</b></p><p> The <b>speech signal</b> of target speaker is completely removed from judgment segment (<b>very distorted, score1 </b>). The judgment segment does not contain any voice but <b>slightly noticeable (score 4)</b> background noise. The <b>overall quality is Bad (score 1)</b> as the system completely removed target speaker from the judgement segment.</p>
24462446
<p align="center"> <span class="baudio" id="exml4" data-onfinished="train_samples_finished"
24472447
data-src="https://audiosamplesp808.blob.core.windows.net/p808-assets/clips/personalized_p835/example4.wav">&nbsp;</span>
24482448
</p>
@@ -2601,7 +2601,7 @@ <h2>Well done! </h2> You performed the maximum number of HITs that you were allo
26012601
<section class="container" id="gold_rejected" hidden>
26022602
<p>The QA system recognized that you provided a wrong answer to multiple clips that their answers are known to us.
26032603
To avoid more of your submissions potentially get rejected, no more HITs from this job is available for you until we check them.
2604-
For any upcomming job, please carefully read the instruction and follow it. <u>The instruction can change from one job to the other.</u>
2604+
For any upcoming job, please carefully read the instruction and follow it. <u>The instruction can change from one job to the other.</u>
26052605
</p>
26062606

26072607
<div class="alert alert-danger" role="alert">

0 commit comments

Comments
 (0)