Datasets:
Commit
•
dc78072
1
Parent(s):
63d8137
remove prints
Browse files- voxpopuli.py +0 -5
voxpopuli.py
CHANGED
@@ -200,15 +200,10 @@ class Voxpopuli(datasets.GeneratorBasedBuilder):
|
|
200 |
]
|
201 |
|
202 |
def _generate_examples(self, audio_archives, local_extracted_archives_paths, metadata_paths):
|
203 |
-
# print(metadata_paths)
|
204 |
-
# print(audio_archives)
|
205 |
-
# print(local_extracted_archives_paths)
|
206 |
assert len(metadata_paths) == len(audio_archives) == len(local_extracted_archives_paths)
|
207 |
features = ["raw_text", "normalized_text", "speaker_id", "gender", "is_gold_transcript", "accent"]
|
208 |
|
209 |
for lang in self.config.languages:
|
210 |
-
# print(audio_archives[lang])
|
211 |
-
# print(local_extracted_archives_paths[lang])
|
212 |
assert len(audio_archives[lang]) == len(local_extracted_archives_paths[lang])
|
213 |
|
214 |
meta_path = metadata_paths[lang]
|
|
|
200 |
]
|
201 |
|
202 |
def _generate_examples(self, audio_archives, local_extracted_archives_paths, metadata_paths):
|
|
|
|
|
|
|
203 |
assert len(metadata_paths) == len(audio_archives) == len(local_extracted_archives_paths)
|
204 |
features = ["raw_text", "normalized_text", "speaker_id", "gender", "is_gold_transcript", "accent"]
|
205 |
|
206 |
for lang in self.config.languages:
|
|
|
|
|
207 |
assert len(audio_archives[lang]) == len(local_extracted_archives_paths[lang])
|
208 |
|
209 |
meta_path = metadata_paths[lang]
|