Update ESLO.py
Browse files
ESLO.py
CHANGED
@@ -24,7 +24,7 @@ _DESCRIPTION = """\
|
|
24 |
ESLO dataset, each utterance are taken out individually
|
25 |
"""
|
26 |
SAMPLING_RATE = 16000
|
27 |
-
AUDIO_FOLDER = "
|
28 |
TEST_TRANSCRIPTS = ['ESLO2_ENT_1052_C.trs', 'ESLO1_ENT_026_C.trs', 'ESLO2_ECOLE_1280_C.trs', 'ESLO1_CONSCMPP_727_C.trs',
|
29 |
'ESLO1_ENT_002_C.trs', 'ESLO1_TEL_338_C.trs', 'ESLO1_ENTCONT_213_C.trs', 'ESLO1_INTPERS_449_C.trs',
|
30 |
'ESLO1_CONSCMPP_740_C.trs', 'ESLO2_ENT_1008_C.trs', 'ESLO2_REPAS_1268_C.trs',
|
@@ -278,10 +278,10 @@ class ESLO(datasets.GeneratorBasedBuilder):
|
|
278 |
|
279 |
def _split_generators(self, dl_manager):
|
280 |
transcripts_train = dl_manager.download(
|
281 |
-
[os.path.join("
|
282 |
TRAIN_TRANSCRIPTS])
|
283 |
transcripts_test = dl_manager.download(
|
284 |
-
[os.path.join("
|
285 |
TRAIN_TRANSCRIPTS])
|
286 |
audio_train = dl_manager.download(
|
287 |
{transcript: f"audio/{transcript[:-2]}.mp4" for transcript in TRAIN_TRANSCRIPTS})
|
|
|
24 |
ESLO dataset, each utterance are taken out individually
|
25 |
"""
|
26 |
SAMPLING_RATE = 16000
|
27 |
+
AUDIO_FOLDER = "audio"
|
28 |
TEST_TRANSCRIPTS = ['ESLO2_ENT_1052_C.trs', 'ESLO1_ENT_026_C.trs', 'ESLO2_ECOLE_1280_C.trs', 'ESLO1_CONSCMPP_727_C.trs',
|
29 |
'ESLO1_ENT_002_C.trs', 'ESLO1_TEL_338_C.trs', 'ESLO1_ENTCONT_213_C.trs', 'ESLO1_INTPERS_449_C.trs',
|
30 |
'ESLO1_CONSCMPP_740_C.trs', 'ESLO2_ENT_1008_C.trs', 'ESLO2_REPAS_1268_C.trs',
|
|
|
278 |
|
279 |
def _split_generators(self, dl_manager):
|
280 |
transcripts_train = dl_manager.download(
|
281 |
+
[os.path.join("transcripts_deduplicated_train", transcript) for transcript in
|
282 |
TRAIN_TRANSCRIPTS])
|
283 |
transcripts_test = dl_manager.download(
|
284 |
+
[os.path.join("transcripts_deduplicated_train", transcript) for transcript in
|
285 |
TRAIN_TRANSCRIPTS])
|
286 |
audio_train = dl_manager.download(
|
287 |
{transcript: f"audio/{transcript[:-2]}.mp4" for transcript in TRAIN_TRANSCRIPTS})
|