From 8a100b731efba8c18f7e7b6cb1cb04ded94248b3 Mon Sep 17 00:00:00 2001
From: aky15 <ankeyu.aky@11.17.44.249>
Date: 星期二, 21 三月 2023 14:52:15 +0800
Subject: [PATCH] add aishell-1 rnnt egs
---
funasr/models_transducer/error_calculator.py | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/funasr/models_transducer/error_calculator.py b/funasr/models_transducer/error_calculator.py
index 17dbf36..34b1dc7 100644
--- a/funasr/models_transducer/error_calculator.py
+++ b/funasr/models_transducer/error_calculator.py
@@ -137,7 +137,6 @@
for i, char_pred_i in enumerate(char_pred):
pred = char_pred_i.replace(" ", "")
target = char_target[i].replace(" ", "")
-
distances.append(editdistance.eval(pred, target))
lens.append(len(target))
--
Gitblit v1.9.1