File size: 23,103 Bytes
8ecd1eb
4360ff9
78c06b8
8ecd1eb
4d30bca
696f852
 
 
 
237a1e6
4d30bca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
237a1e6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12a4cc2
 
 
 
 
 
4d30bca
40bdf35
4d30bca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57c4e07
a0432ec
 
753a635
4d30bca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f29a2c6
 
12a4cc2
c92fa6f
58dd4a2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9f04f39
58dd4a2
 
9f04f39
58dd4a2
9f04f39
58dd4a2
 
9f04f39
58dd4a2
9f04f39
 
 
 
58dd4a2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
---
language:
- ar
license: cc-by-4.0
version: 1
task_categories:
- automatic-speech-recognition
- text-to-speech
- text-to-audio
dataset_info:
- config_name: default
  features:
  - name: audio_id
    dtype: string
  - name: audio
    dtype: audio
  - name: segments
    list:
    - name: end
      dtype: float64
    - name: start
      dtype: float64
    - name: transcript
      dtype: string
    - name: transcript_raw
      dtype: string
  - name: transcript
    dtype: string
  splits:
  - name: train
    num_bytes: 5379402428,566
    num_examples: 20895
  - name: test
    num_bytes: 430657623.0
    num_examples: 799
  download_size: 9749075031
  dataset_size: 5750845573,088
- config_name: AmenyKH
  features:
  - name: audio_id
    dtype: string
  - name: audio
    dtype: audio
  - name: segments
    list:
    - name: end
      dtype: float64
    - name: start
      dtype: float64
    - name: transcript
      dtype: string
    - name: transcript_raw
      dtype: string
  - name: transcript
    dtype: string
  splits:
  - name: train
    num_bytes: 584244476.742
    num_examples: 3094
  - name: test
    num_bytes: 8386953.0
    num_examples: 44
  download_size: 659775847
  dataset_size: 592631429.742
- config_name: ApprendreLeTunisien
  features:
  - name: audio_id
    dtype: string
  - name: audio
    dtype: audio
  - name: segments
    list:
    - name: end
      dtype: float64
    - name: start
      dtype: float64
    - name: transcript
      dtype: string
    - name: transcript_raw
      dtype: string
  - name: transcript
    dtype: string
  splits:
  - name: train
    num_bytes: 198592398.0
    num_examples: 878
  - name: test
    num_bytes: 16277071.0
    num_examples: 116
  download_size: 130969100
  dataset_size: 214869469.0

- config_name: OneStory
  features:
  - name: audio_id
    dtype: string
  - name: audio
    dtype: audio
  - name: segments
    list:
    - name: end
      dtype: float64
    - name: start
      dtype: float64
    - name: transcript
      dtype: string
    - name: transcript_raw
      dtype: string
  - name: transcript
    dtype: string
  splits:
  - name: train
    num_bytes: 65345927.0
    num_examples: 36
  - name: test
    num_bytes: 5218264.0
    num_examples: 3
  download_size: 64516876
  dataset_size: 70564191.0

- config_name: TunSwitchCS
  features:
  - name: audio_id
    dtype: string
  - name: audio
    dtype: audio
  - name: segments
    list:
    - name: end
      dtype: float64
    - name: start
      dtype: float64
    - name: transcript
      dtype: string
    - name: transcript_raw
      dtype: string
  - name: transcript
    dtype: string
  splits:
  - name: train
    num_bytes: 2024232163.068
    num_examples: 5377
  - name: test
    num_bytes: 79006291.0
    num_examples: 300
  download_size: 2266757942
  dataset_size: 2103238454.068

- config_name: TunSwitchTO
  features:
  - name: audio_id
    dtype: string
  - name: audio
    dtype: audio
  - name: segments
    list:
    - name: end
      dtype: float64
    - name: start
      dtype: float64
    - name: transcript
      dtype: string
    - name: transcript_raw
      dtype: string
  - name: transcript
    dtype: string
  splits:
  - name: train
    num_bytes: 1129157006.82
    num_examples: 2195
  - name: test
    num_bytes: 242514526.0
    num_examples: 331
  download_size: 1062487430
  dataset_size: 1371671532.82

- config_name: Youtube_TNScrapped_V1
  features:
  - name: audio_id
    dtype: string
  - name: audio
    dtype: audio
  - name: segments
    list:
    - name: end
      dtype: float64
    - name: start
      dtype: float64
    - name: transcript
      dtype: string
    - name: transcript_raw
      dtype: string
  - name: transcript
    dtype: string
  splits:
  - name: train
    num_bytes: 45233498.0
    num_examples: 52
  - name: test
    num_bytes: 20040136.0
    num_examples: 5
  download_size: 1127125890
  dataset_size: 65273634.0

- config_name: Wav2Vec-tunisian-Darja
  features:
  - name: audio_id
    dtype: string
  - name: audio
    dtype: audio
  - name: segments
    list:
    - name: end
      dtype: float64
    - name: start
      dtype: float64
    - name: transcript
      dtype: string
    - name: transcript_raw
      dtype: string
  - name: transcript
    dtype: string
  splits:
  - name: train
    num_bytes: 232557544.936
    num_examples: 7898
  download_size: 387044175
  dataset_size: 232557544.936

- config_name: Youtube_AbdelAzizErwi
  features:
  - name: audio_id
    dtype: string
  - name: audio
    dtype: audio
  - name: segments
    list:
    - name: end
      dtype: float64
    - name: start
      dtype: float64
    - name: transcript
      dtype: string
    - name: transcript_raw
      dtype: string
  - name: transcript
    dtype: string
  splits:
  - name: train
    num_bytes: 269326299.0
    num_examples: 25
  download_size: 267832726
  dataset_size: 269326299.0

- config_name: Youtube_BayariBilionaire
  features:
  - name: audio_id
    dtype: string
  - name: audio
    dtype: audio
  - name: segments
    list:
    - name: end
      dtype: float64
    - name: start
      dtype: float64
    - name: transcript
      dtype: string
    - name: transcript_raw
      dtype: string
  - name: transcript
    dtype: string
  splits:
  - name: train
    num_bytes: 10835145.0
    num_examples: 6
  download_size: 10725572
  dataset_size: 10835145.0

- config_name: Youtube_DiwanFM
  features:
  - name: audio_id
    dtype: string
  - name: audio
    dtype: audio
  - name: segments
    list:
    - name: end
      dtype: float64
    - name: start
      dtype: float64
    - name: transcript
      dtype: string
    - name: transcript_raw
      dtype: string
  - name: transcript
    dtype: string
  splits:
  - name: train
    num_bytes: 59854631.0
    num_examples: 36
  download_size: 59461693
  dataset_size: 59854631.0

- config_name: Youtube_HamzaBaloumiElMohakek
  features:
  - name: audio_id
    dtype: string
  - name: audio
    dtype: audio
  - name: segments
    list:
    - name: end
      dtype: float64
    - name: start
      dtype: float64
    - name: transcript
      dtype: string
    - name: transcript_raw
      dtype: string
  - name: transcript
    dtype: string
  splits:
  - name: train
    num_bytes: 183138510.0
    num_examples: 21
  download_size: 181772866
  dataset_size: 183138510.0
  
- config_name: Youtube_HkeyetTounsiaMensia
  features:
  - name: audio_id
    dtype: string
  - name: audio
    dtype: audio
  - name: segments
    list:
    - name: end
      dtype: float64
    - name: start
      dtype: float64
    - name: transcript
      dtype: string
    - name: transcript_raw
      dtype: string
  - name: transcript
    dtype: string
  splits:
  - name: train
    num_bytes: 19182942.0
    num_examples: 5
  download_size: 19056785
  dataset_size: 19182942.0

- config_name: Youtube_LobnaMajjedi
  features:
  - name: audio_id
    dtype: string
  - name: audio
    dtype: audio
  - name: segments
    list:
    - name: end
      dtype: float64
    - name: start
      dtype: float64
    - name: transcript
      dtype: string
    - name: transcript_raw
      dtype: string
  - name: transcript
    dtype: string
  splits:
  - name: train
    num_bytes: 10516024.0
    num_examples: 2
  download_size: 10437928
  dataset_size: 10516024.0

- config_name: Youtube_MohamedKhammessi
  features:
  - name: audio_id
    dtype: string
  - name: audio
    dtype: audio
  - name: segments
    list:
    - name: end
      dtype: float64
    - name: start
      dtype: float64
    - name: transcript
      dtype: string
    - name: transcript_raw
      dtype: string
  - name: transcript
    dtype: string
  splits:
  - name: train
    num_bytes: 19094630.0
    num_examples: 2
  download_size: 18924431
  dataset_size: 19094630.0

- config_name: Youtube_Qlm
  features:
  - name: audio_id
    dtype: string
  - name: audio
    dtype: audio
  - name: segments
    list:
    - name: end
      dtype: float64
    - name: start
      dtype: float64
    - name: transcript
      dtype: string
    - name: transcript_raw
      dtype: string
  - name: transcript
    dtype: string
  splits:
  - name: train
    num_bytes: 27841539.0
    num_examples: 53
  download_size: 27617648
  dataset_size: 27841539.0

- config_name: Youtube_TN_Shorts
  features:
  - name: audio_id
    dtype: string
  - name: audio
    dtype: audio
  - name: segments
    list:
    - name: end
      dtype: float64
    - name: start
      dtype: float64
    - name: transcript
      dtype: string
    - name: transcript_raw
      dtype: string
  - name: transcript
    dtype: string
  splits:
  - name: train
    num_bytes: 41668447.0
    num_examples: 135
  download_size: 41300298
  dataset_size: 41668447.0

- config_name: Youtube_TV
  features:
  - name: audio_id
    dtype: string
  - name: audio
    dtype: audio
  - name: segments
    list:
    - name: end
      dtype: float64
    - name: start
      dtype: float64
    - name: transcript
      dtype: string
    - name: transcript_raw
      dtype: string
  - name: transcript
    dtype: string
  splits:
  - name: train
    num_bytes: 6739225.0
    num_examples: 4
  download_size: 6679344
  dataset_size: 6739225.0

- config_name: MASC
  features:
  - name: audio_id
    dtype: string
  - name: audio
    dtype: audio
  - name: segments
    list:
    - name: end
      dtype: float64
    - name: start
      dtype: float64
    - name: transcript
      dtype: string
    - name: transcript_raw
      dtype: string
  - name: transcript
    dtype: string
  splits:
  - name: train
    num_bytes: 331997771.0
    num_examples: 47
  download_size: 327793657
  dataset_size: 331997771.0

- config_name: Tunisian_dataset_STT-TTS15s_filtred1.0
  features:
  - name: audio_id
    dtype: string
  - name: audio
    dtype: audio
  - name: segments
    list:
    - name: end
      dtype: float64
    - name: start
      dtype: float64
    - name: transcript
      dtype: string
    - name: transcript_raw
      dtype: string
  - name: transcript
    dtype: string
  splits:
  - name: train
    num_bytes: 119830449.522
    num_examples: 1029
  download_size: 113120498
  dataset_size: 119830449.522

configs:
- config_name: default
  data_files:
  - split: train
    path: data/*/train/train-*
  - split: test
    path: data/*/test/test-*
- config_name: AmenyKH
  data_files: 
  - split: train
    path: data/AmenyKH/train/train-*
  - split: test
    path: data/AmenyKH/test/test-*
- config_name: ApprendreLeTunisien
  data_files: 
  - split: train
    path: data/ApprendreLeTunisien/train/train-*
  - split: test
    path: data/ApprendreLeTunisien/test/test-*
- config_name: OneStory
  data_files: 
  - split: train
    path: data/OneStory/train/train-*
  - split: test
    path: data/OneStory/test/test-*
- config_name: TunSwitchCS
  data_files: 
  - split: train
    path: data/TunSwitchCS/train/train-*
  - split: test
    path: data/TunSwitchCS/test/test-*
- config_name: TunSwitchTO
  data_files: 
  - split: train
    path: data/TunSwitchTO/train/train-*
  - split: test
    path: data/TunSwitchTO/test/test-*
- config_name: Youtube_TNScrapped_V1
  data_files: 
  - split: train
    path: data/Youtube_TNScrapped_V1/train/train-*
  - split: test
    path: data/Youtube_TNScrapped_V1/test/test-*
- config_name: Wav2Vec-tunisian-Darja
  data_files:
  - split: train
    path: data/Wav2Vec-tunisian-Darja/train/train-*
- config_name: Youtube_AbdelAzizErwi
  data_files:
  - split: train
    path: data/Youtube_AbdelAzizErwi/train/train-*
- config_name: Youtube_BayariBilionaire
  data_files:
  - split: train
    path: data/Youtube_BayariBilionaire/train/train-*
- config_name: Youtube_DiwanFM
  data_files:
  - split: train
    path: data/Youtube_DiwanFM/train/train-*

- config_name: Youtube_HamzaBaloumiElMohakek
  data_files:
  - split: train
    path: data/Youtube_HamzaBaloumiElMohakek/train/train-*
- config_name: Youtube_HkeyetTounsiaMensia
  data_files:
  - split: train
    path: data/Youtube_HkeyetTounsiaMensia/train/train-*
- config_name: Youtube_LobnaMajjedi
  data_files:
  - split: train
    path: data/Youtube_LobnaMajjedi/train/train-*

- config_name: Youtube_MohamedKhammessi
  data_files:
  - split: train
    path: data/Youtube_MohamedKhammessi/train/train-*

- config_name: Youtube_Qlm
  data_files:
  - split: train
    path: data/Youtube_Qlm/train/train-*
- config_name: Youtube_TN_Shorts
  data_files:
  - split: train
    path: data/Youtube_TN_Shorts/train/train-*

- config_name: Youtube_TV
  data_files:
  - split: train
    path: data/Youtube_TV/train/train-*

- config_name: MASC
  data_files:
  - split: train
    path: data/MASC/train/train-*
- config_name: Tunisian_dataset_STT-TTS15s_filtred1.0
  data_files:
  - split: train
    path: data/Tunisian_dataset_STT-TTS15s_filtred1.0/train/train-*
---
# LinTO DataSet Audio for Arabic Tunisian v0.1 <br />*A collection of Tunisian dialect audio and its annotations for STT task*

This is the first packaged version of the datasets used to train the Linto Tunisian dialect with code-switching STT
([linagora/linto-asr-ar-tn-0.1](https://huggingface.co/linagora/linto-asr-ar-tn-0.1)).

* [Dataset Summary](#dataset-summary)
* [Dataset composition](#dataset-composition)
  * [Sources](#sources)
  * [Data Table](#data_table)
  * [Data sources](#data-sources)
  * [Content Types](#content-types)
  * [Languages and Dialects](#languages-and-dialects)
* [Example use (python)](#example-use-python)
* [License](#license)
* [Citations](#citations)


## Dataset Summary

The **LinTO DataSet Audio for Arabic Tunisian v0.1** is a diverse collection of audio content including music, documentaries, podcasts, and other types of recordings, along with their corresponding transcriptions. The dataset is primarily focused on supporting speech recognition tasks for the Tunisian dialect, with some instances of code-switching between Tunisian Arabic, French, and English. It is organized into multiple configurations and splits for different experimental setups, making it valuable for Automatic Speech Recognition (ASR) research and development.

## Dataset Composition

The **LinTO DataSet Audio for Arabic Tunisian v0.1** comprises a diverse range of audio content collected from multiple sources. Below is a breakdown of the dataset’s composition:

### Sources

- **Hugging Face Datasets**: Various datasets obtained from the Hugging Face platform.
- **YouTube**: Audio collected from a range of YouTube channels and videos, including both shorts and long-form content, covering music, documentaries, and podcasts.
- **Websites**: Audio gathered from various online sources, including educational sites and story-sharing platforms.
### Data Table
| **subset** | **audio duration** | **labeled audio duration** | **# audios** | **# segments** | **# words** | **# characters** |
| --- | --- | --- | --- | --- | --- | --- |
| [AmenyKH](https://huggingface.co/datasets/amenIKh/dataset1) | 4h 5m 28s + 3m 42s | 4h 5m 28s + 3m 42s | 3094 + 44 | 3094 + 44 | 31713 + 483 | 158851 + 2462 |
| [ApprendreLeTunisien](https://www.apprendreletunisien.com/traduction.php?domaine=adjectif) | 37m 30s + 3m 4s | 37m 31s + 3m 4s | 878 + 116 | 878 + 116 | 1148 + 156 | 5220 + 711 |
| [MASC](https://ieee-dataport.org/open-access/masc-massive-arabic-speech-corpus) | 2h 52m 43s | 1h 37m 11s | 47 | 1728 | 11750 | 59013 |
| [OneStory](https://www.onestory-media.org/story_sets/) | 1h 32m 47s + 8m 3s | 1h 31m 15s + 7m 43s | 36 + 3 | 494 + 43 | 12336 + 1028 | 56878 + 5059 |
| [TunSwitchCS](https://zenodo.org/records/8370566) | 10h 0m 56s + 27m 17s | 10h 0m 56s + 27m 17s | 5377 + 300 | 5377 + 300 | 74947 + 4253 | 391038 + 22304 |
| [TunSwitchTO](https://zenodo.org/records/8370566) | 3h 19m 6s + 28m 38s | 3h 19m 6s + 28m 38s | 2195 + 344 | 2195 + 344 | 18222 + 2736 | 94020 + 14102 |
| [Tunisian_dataset_STT-TTS15s_filtred1.0](https://huggingface.co/datasets/Arbi-Houssem/Tunisian_dataset_STT-TTS15s_filtred1.0) | 3h 49m 42s | 3h 49m 42s | 1029 | 1029 | 33428 | 172927 |
| [Wav2Vec-tunisian-Darja](https://huggingface.co/datasets/medaminekonyali/Value-Wav2Vec-tunisian-Darja-Augmented) | 3h 26m 33s | 3h 26m 33s | 7898 | 7898 | 20352 | 104176 |
| Youtube_AbdelAzizErwi | 24h 34m 10s | 21h 54m 32s | 25 | 21940 | 131544 | 623434 |
| Youtube_BayariBilionaire | 58m 50s | 55m 5s | 6 | 1080 | 7813 | 39831 |
| Youtube_DiwanFM | 5h 27m 6s | 4h 2m 43s | 36 | 4670 | 30310 | 152352 |
| Youtube_HamzaBaloumiElMohakek | 16h 41m 52s | 14h 5m 49s | 21 | 13734 | 89334 | 446736 |
| Youtube_HkeyetTounsiaMensia | 1h 44m 47s | 1h 24m 46s | 5 | 1518 | 10528 | 51570 |
| Youtube_LobnaMajjedi | 57m 22s | 53m 13s | 2 | 886 | 6134 | 30216 |
| Youtube_MohamedKhammessi | 1h 43m 53s | 1h 34m 3s | 2 | 1825 | 13216 | 64141 |
| Youtube_Qlm | 2h 31m 33s | 1h 51m 34s | 53 | 2541 | 15728 | 83682 |
| Youtube_TNScrapped_V1 | 4h 8m 02s + 18m 42s | 2h 33m 30s + 9m 53s | 52 + 5 | 2538 + 179 | 18777 + 1448 | 92531 + 7375 |
| Youtube_TN_Shorts | 3h 46m 38s | 3h 23m 38s | 135 | 2022 | 28129 | 143966 |
| Youtube_TV | 36m 37s | 31m 34s | 4 | 668 | 4768 | 24006 |
| **TOTAL** | **92h 55m 48s / 1h 29m 26s** | **81h 38m 09s / 1h 20m 17s** | **20895 / 812** | **76115 / 1026** | **560177 / 10104** | **2794588 / 52013** |
> **NB:** The **+** in each information column indicates the combined **train + test** data. For any datasets other than YouTube, which include their links, please review the provided links for additional details.

### Data Proccessing:
- **Audio Alignment**: Matching audio segments with corresponding text to ensure accurate transcription and contextual alignment.
- **Transcription Correction**: Reviewing and correcting transcriptions to address errors and discrepancies in the initial text.
- **Standardization**: Converting words and phrases into their standardized forms to maintain consistency across the dataset.
- **Padding**: Adding padding to shorter audio segments to address issues with Kaldi and ensure uniformity in input lengths.
- **Silence Removal**: Eliminating segments of audio that contain only silence to improve dataset efficiency and relevance.
- **Annotation**: Labeling audio segments that require transcriptions and other metadata. Ensuring that non-annotated audio is reviewed and annotated if necessary.

### Content Types
- **Music**: Includes recordings of different music genres.
- **FootBall**: Includes recordings of football news and reviews.
- **Documentaries**: Audio from documentaries about history and nature.
- **Podcasts**: Conversations and discussions from various podcast episodes.
- **Authors**:  Audio recordings of authors reading or discussing different stories: horror, children's literature, life lessons, and others.
- **Lessons**: Learning resources for the Tunisian dialect.
- **Others**: Mixed recordings with various subjects.

### Languages and Dialects
- **Tunisian Arabic**:  The primary focus of the dataset, including Tunisian Arabic and some Modern Standard Arabic (MSA).
- **French**: Some instances of French code-switching.
- **English**: Some instances of English code-switching.

### Characteristics
- **Audio Duration**: The dataset contains approximately 93 hours of audio recordings.
- **Segments Duration**: This dataset contains segments, each with a duration of less than 30 seconds.
- **Labeled Data**: Includes annotations and transcriptions for a significant portion of the audio content.

### Data Distribution
- **Training Set**: Comprises a diverse range of audio recordings, each representing different contexts, aimed at enhancing the model's performance across various scenarios.
- **Testing Set**: onsists of a varied set of audio recordings, also covering different contexts, dedicated to assessing the model’s performance and generalization.

This composition ensures a comprehensive representation of various audio types and linguistic features, making the dataset valuable for a range of ASR research and development tasks.

## Example use (python)
- **Load  the dataset in python**:
```python
from datasets import load_dataset

# dataset will be loaded as a DatasetDict of train and test
dataset = load_dataset("linagora/linto-dataset-audio-ar-tn-0.1")
```

Check the containt of dataset:
```python
example = dataset['train'][0] 
audio_array = example['audio']["array"]
segments = example['segments']
transcription = example['transcript']

print(f"Audio array: {audio_array}")
print(f"Segments: {segments}")
print(f"Transcription: {transcription}")
```
**Example**
```bash
Audio array: [0. 0. 0. ... 0. 0. 0.]
Transcription: أسبقية قبل أنا ما وصلت خممت فيه كيما باش نحكيو من بعد إلا ما أنا كإنطريبرنور كباعث مشروع صارولي برشا مشاكل فالجستين و صارولي مشاكل مع لعباد لي كانت موفرتلي اللوجسيل ولا اللوجسيل أوف لنيه ولا لوجسيل بيراتي
segments: [{'end': 14.113, 'start': 0.0, 'transcript': 'أسبقية قبل أنا ما وصلت خممت فيه كيما باش نحكيو من بعد إلا ما أنا كإنطريبرنور كباعث مشروع صارولي برشا مشاكل فالجستين و صارولي مشاكل مع لعباد لي كانت موفرتلي اللوجسيل ولا اللوجسيل أوف لنيه ولا لوجسيل بيراتي', 'transcript_raw': 'أسبقية قبل أنا ما وصلت خممت فيه كيما باش نحكيو من بعد إلا ما أنا كإنطريبرنور كباعث مشروع صارولي برشا مشاكل فالجستين و صارولي مشاكل مع لعباد لي كانت موفرتلي اللوجسيل ولا اللوجسيل أوف لنيه ولا لوجسيل بيراتي'}]
```


## License
Given that some of the corpora used for training and evaluation are available only under CC-BY-4.0 licenses, we have chosen to license the entire dataset under CC-BY-4.0.

## Citations
When using the **LinTO DataSet Audio for Arabic Tunisian v0.1** corpus, please cite this page:

```bibtex
@misc{linagora2024Linto-tn,
  author = {Hedi Naouara and Jérôme Louradour and Jean-Pierre Lorré and Sarah zribi and Wajdi Ghezaiel},
  title = {LinTO DataSet Audio for Arabic Tunisian v0.1},
  year = {2024},
  publisher = {HuggingFace},
  journal = {HuggingFace},
  howpublished = {\url{https://huggingface.co/datasets/linagora/linto-dataset-audio-ar-tn-0.1}},
}
```

```bibtex
@misc{abdallah2023leveraging,
      title={Leveraging Data Collection and Unsupervised Learning for Code-switched Tunisian Arabic Automatic Speech Recognition}, 
      author={Ahmed Amine Ben Abdallah and Ata Kabboudi and Amir Kanoun and Salah Zaiem},
      year={2023},
      eprint={2309.11327},
      archivePrefix={arXiv},
      primaryClass={eess.AS}
}
```

```bibtex
@data{e1qb-jv46-21,
doi = {10.21227/e1qb-jv46},
url = {https://dx.doi.org/10.21227/e1qb-jv46},
author = {Al-Fetyani, Mohammad and Al-Barham, Muhammad and Abandah, Gheith and Alsharkawi, Adham and Dawas, Maha},
publisher = {IEEE Dataport},
title = {MASC: Massive Arabic Speech Corpus},
year = {2021} }
```