From 23e7ddebccd3b05cf7ef89809bcfe565ad6dfa1f Mon Sep 17 00:00:00 2001
From: majic31 <majic31@163.com>
Date: 星期二, 24 十二月 2024 10:00:14 +0800
Subject: [PATCH] Fix the variable name (#2328)
---
fun_text_processing/inverse_text_normalization/en/utils.py | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/fun_text_processing/inverse_text_normalization/en/utils.py b/fun_text_processing/inverse_text_normalization/en/utils.py
index 5c0c8b5..38a95ba 100644
--- a/fun_text_processing/inverse_text_normalization/en/utils.py
+++ b/fun_text_processing/inverse_text_normalization/en/utils.py
@@ -1,5 +1,3 @@
-
-
import os
from typing import Union
@@ -15,7 +13,7 @@
Args
x: integer
- Returns: spoken representation
+ Returns: spoken representation
"""
if isinstance(x, int):
x = str(x)
@@ -29,7 +27,7 @@
Args:
rel_path: relative path to this file
-
+
Returns absolute path
"""
- return os.path.dirname(os.path.abspath(__file__)) + '/' + rel_path
+ return os.path.dirname(os.path.abspath(__file__)) + "/" + rel_path
--
Gitblit v1.9.1