From f9d537f9ee819245bf4355e8d607c5f41f0c470b Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Mon, 12 Jun 2023 00:37:14 +0900 Subject: [PATCH] from local --- .../ASR/local/.prepare_ted_manifests.py.swp | Bin 12288 -> 12288 bytes .../ASR/local/prepare_ted_manifests.py | 1 + 2 files changed, 1 insertion(+) diff --git a/egs/tedlium3/ASR/local/.prepare_ted_manifests.py.swp b/egs/tedlium3/ASR/local/.prepare_ted_manifests.py.swp index f11ca1f5883b4ba6c75f3af00596780b27f01d81..533d895cdb1160b6bb0e467b5cd7ed0ec18284a6 100644 GIT binary patch delta 225 zcmZojXh;xEG6?hZRj|}EU;qLE28K7!TT{w5ivH$j^xG^b@R^^NlbL}bmIWf|H(5~O zbp1XK28LQ7jsaqGAm#?*o9qk>D}cBjh^>KG1c=|VF)-`};)y_94#bH-tPI4LSQ!{D z0`X)Zo&?1CKr9W!hk>>n0^$uoydH>W0dXS`gKY;n4+1uxV`APsL8XR8yd<@vM6W2d dASW?7RYOTZT}eklNnJ^E@AVdb3=I81oCU;oK+FTgx7isOHUV)S5W54h0uX;-V_-M}#H)aK3J`|@F)I+W0P!(a z28N?RyafcP8GhOa>U7>FMM@mV0=0>l$oHZ!tlF;9+F;Snf61Dj)2YFIY&XntV> E07Zo>cK`qY diff --git a/egs/tedlium3/ASR/local/prepare_ted_manifests.py b/egs/tedlium3/ASR/local/prepare_ted_manifests.py index 4ac24479a..ae3e8c190 100644 --- a/egs/tedlium3/ASR/local/prepare_ted_manifests.py +++ b/egs/tedlium3/ASR/local/prepare_ted_manifests.py @@ -47,6 +47,7 @@ def prepare_tedlium( rec_id, _, _, start, end, _, *words = l.split() start, end = float(start), float(end) text = " ".join(words).replace("{NOISE}", "[NOISE]") + text = text.replace(" '", "'") if text == "ignore_time_segment_in_scoring": continue segments.append(