Update ESLO_text_only.py
Browse files- ESLO_text_only.py +0 -2
ESLO_text_only.py
CHANGED
|
@@ -341,8 +341,6 @@ class ESLO(datasets.GeneratorBasedBuilder):
|
|
| 341 |
transcript_name = os.path.splitext(os.path.basename(path))[0]
|
| 342 |
with open(path, "rb") as file:
|
| 343 |
for utterance in self.load_one(file):
|
| 344 |
-
if not self.config.overlap and utterance.overlap:
|
| 345 |
-
continue
|
| 346 |
yield f"{transcript_name}_{utterance.start_timestamp}-{utterance.end_timestamp}", {
|
| 347 |
"file": transcript_name,
|
| 348 |
"sentence": utterance.sentence,
|
|
|
|
| 341 |
transcript_name = os.path.splitext(os.path.basename(path))[0]
|
| 342 |
with open(path, "rb") as file:
|
| 343 |
for utterance in self.load_one(file):
|
|
|
|
|
|
|
| 344 |
yield f"{transcript_name}_{utterance.start_timestamp}-{utterance.end_timestamp}", {
|
| 345 |
"file": transcript_name,
|
| 346 |
"sentence": utterance.sentence,
|