From 4d907718f39e2b0f7a0c714c2e3de289e742fc61 Mon Sep 17 00:00:00 2001 From: Carl <415692979@qq.com> Date: 星期四, 28 三月 2024 13:42:00 +0800 Subject: [PATCH] 修正commit 87b62d68957a2194b017a43b6c2a15424a05a984 引入的英文整句标点预测导致末尾两个单词中间的空格被删除的问题。 (#1556) --- fun_text_processing/text_normalization/data_loader_utils.py | 14 +------------- 1 files changed, 1 insertions(+), 13 deletions(-) diff --git a/fun_text_processing/text_normalization/data_loader_utils.py b/fun_text_processing/text_normalization/data_loader_utils.py index abd89a9..0b9de52 100644 --- a/fun_text_processing/text_normalization/data_loader_utils.py +++ b/fun_text_processing/text_normalization/data_loader_utils.py @@ -1,16 +1,4 @@ -# Copyright NeMo (https://github.com/NVIDIA/NeMo). All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. + import json -- Gitblit v1.9.1