From 8e6e6c97f78cbd4dd1239ca52f51f5ea2e1c7b9a Mon Sep 17 00:00:00 2001 From: Iris Sally <152265357+IrisSally@users.noreply.github.com> Date: Tue, 15 Oct 2024 23:07:22 +0800 Subject: [PATCH] =?UTF-8?q?fix(norm):=20=E4=B8=8D=E8=83=BD=E8=AF=BB?= =?UTF-8?q?=E5=87=BA=E5=95=8A=E5=92=8C=E5=91=83=E7=9A=84bug=20(#783)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: dragon Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com> --- tools/normalizer/zh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/normalizer/zh.py b/tools/normalizer/zh.py index b513d19d6..b0be894c3 100644 --- a/tools/normalizer/zh.py +++ b/tools/normalizer/zh.py @@ -4,4 +4,4 @@ def normalizer_zh_tn() -> Callable[[str], str]: from tn.chinese.normalizer import Normalizer - return Normalizer().normalize + return Normalizer(remove_interjections=False).normalize