From b45d83fa5346d08ac6086183303afd6b5f842544 Mon Sep 17 00:00:00 2001 From: JinZr <60612200+JinZr@users.noreply.github.com> Date: Mon, 4 Sep 2023 11:17:46 +0800 Subject: [PATCH] minor update on text norm --- egs/swbd/ASR/local/normalize_eval2000.py | 1 + 1 file changed, 1 insertion(+) diff --git a/egs/swbd/ASR/local/normalize_eval2000.py b/egs/swbd/ASR/local/normalize_eval2000.py index 38451f506..7316193d0 100755 --- a/egs/swbd/ASR/local/normalize_eval2000.py +++ b/egs/swbd/ASR/local/normalize_eval2000.py @@ -145,6 +145,7 @@ def replace_silphone(text: str) -> str: text = text.replace("[NOISE OF MOVING PHONE]", " ") text = text.replace("[SOUND OF RUNNING WATER]", " ") text = text.replace("[CHANNEL]", " ") + text = text.replace("[SILENCE]", " ") text = text.replace("-[W]HERE", "WHERE") text = text.replace("Y[OU]I-", "YOU I") text = text.replace("-[A]ND", "AND")