From 6d026b3fe7107f25df4ef9a6c55b5ab3aeb02c7f Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 14 Dec 2023 15:05:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=94=9F=E6=88=90=E7=AE=80=E6=8A=A5?= =?UTF-8?q?=E6=97=B6=E5=88=86=E7=B1=BB=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- start.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/start.py b/start.py index 6cc1285..73cce7b 100644 --- a/start.py +++ b/start.py @@ -65,6 +65,8 @@ def gen_doc(w1, w2): ybwz = ybwz +1 elif i[5] == '政治差错': zzcc = zzcc +1 + else: + gdbs =gdbs + 1 for i in w2: if i[5] == '固定表述错误': gdbs =gdbs + 1 @@ -74,6 +76,8 @@ def gen_doc(w1, w2): ybwz = ybwz +1 elif i[5] == '政治差错': zzcc = zzcc +1 + else: + gdbs =gdbs + 1 context['su'] = f'固定表述错误{gdbs}项, 严重表述错误{yzbs}项, 一般文字差错{ybwz}项, 政治差错{zzcc}项'