Commit
•
ba243ee
1
Parent(s):
e2088eb
Fix bug in tedlium.py
Browse files- tedlium.py +2 -2
tedlium.py
CHANGED
@@ -238,8 +238,8 @@ def _maybe_trim_suffix(transcript):
|
|
238 |
transcript = splits[0]
|
239 |
if len(splits) > 1:
|
240 |
suffix = splits[-1]
|
241 |
-
|
242 |
-
|
243 |
return transcript
|
244 |
|
245 |
|
|
|
238 |
transcript = splits[0]
|
239 |
if len(splits) > 1:
|
240 |
suffix = splits[-1]
|
241 |
+
if not suffix.startswith("("):
|
242 |
+
transcript += " " + suffix
|
243 |
return transcript
|
244 |
|
245 |
|