From 726ba2a8e2fe5fc7c8acc06a53ead2bed25a5298 Mon Sep 17 00:00:00 2001 From: Evan Date: Thu, 27 Jun 2024 09:51:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=9F=A5=E8=AF=86=E5=BA=93=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E6=96=87=E6=A1=A3=E6=93=8D=E4=BD=9C=E6=8A=A5=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=EF=BC=8C=E9=94=99=E8=AF=AF=E5=8F=91=E7=94=9F=E5=9C=A8?= =?UTF-8?q?=20ts=5Fvecto=5Futil.py=20=E6=96=87=E4=BB=B6=E7=9A=84=20replace?= =?UTF-8?q?=5Fword=20=E5=87=BD=E6=95=B0=E4=B8=AD=EF=BC=9A=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=9A=84=E5=8E=9F=E5=9B=A0=E6=98=AF=E6=AD=A3=E5=88=99?= =?UTF-8?q?=E8=A1=A8=E8=BE=BE=E5=BC=8F=E6=A8=A1=E5=BC=8F=E5=9C=A8=E6=9F=90?= =?UTF-8?q?=E4=B8=AA=E4=BD=8D=E7=BD=AE=E7=BC=BA=E5=B0=91=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E5=8F=B3=E6=8B=AC=E5=8F=B7=EF=BC=8C=E4=BD=BF=E5=BE=97=E5=AD=90?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E6=9C=AA=E5=AE=8C=E5=85=A8=E7=BB=93=E6=9D=9F?= =?UTF-8?q?=E3=80=82=E8=AF=A5=E6=8F=90=E4=BA=A4=E4=BF=AE=E5=A4=8D=E4=BA=86?= =?UTF-8?q?=E8=BF=99=E4=B8=AA=E9=97=AE=E9=A2=98=E3=80=82=20(#667)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/common/util/ts_vecto_util.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/common/util/ts_vecto_util.py b/apps/common/util/ts_vecto_util.py index 79d91bf1d..0aed6952e 100644 --- a/apps/common/util/ts_vecto_util.py +++ b/apps/common/util/ts_vecto_util.py @@ -49,7 +49,8 @@ def get_word_list(text: str): def replace_word(word_dict, text: str): for key in word_dict: - text = re.sub('(?