From d50edc297a7e6d944a244a84adf68b8bcce5a057 Mon Sep 17 00:00:00 2001
From: nsdou <168500039+nsdou@users.noreply.github.com>
Date: 星期三, 15 五月 2024 17:48:37 +0800
Subject: [PATCH] Fix incorrect assignment of 'end' attribute to 'start' in sentences list comprehension (#1680)
---
fun_text_processing/text_normalization/es/utils.py | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/fun_text_processing/text_normalization/es/utils.py b/fun_text_processing/text_normalization/es/utils.py
index 29875f7..10af0c6 100644
--- a/fun_text_processing/text_normalization/es/utils.py
+++ b/fun_text_processing/text_normalization/es/utils.py
@@ -1,6 +1,3 @@
-
-
-
import csv
import os
@@ -14,7 +11,7 @@
Returns absolute path
"""
- return os.path.dirname(os.path.abspath(__file__)) + '/' + rel_path
+ return os.path.dirname(os.path.abspath(__file__)) + "/" + rel_path
def load_labels(abs_path):
--
Gitblit v1.9.1