From d80ac2fd2df4e7fb8a28acfa512bb11472b5cc99 Mon Sep 17 00:00:00 2001
From: liugz18 <57401541+liugz18@users.noreply.github.com>
Date: 星期四, 18 七月 2024 21:34:55 +0800
Subject: [PATCH] Rename 'res' in line 514 to avoid with naming conflict with line 365

---
 funasr/bin/tokenize_text.py |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/funasr/bin/tokenize_text.py b/funasr/bin/tokenize_text.py
index 0ecf2f6..8c2aae0 100755
--- a/funasr/bin/tokenize_text.py
+++ b/funasr/bin/tokenize_text.py
@@ -133,7 +133,7 @@
 
     if not write_vocabulary:
         return
-    
+
     ## FIXME
     ## del duplicate add_symbols in counter
     for symbol_and_id in add_symbol:
@@ -197,12 +197,8 @@
         help="The verbose level of logging",
     )
 
-    parser.add_argument(
-        "--input", "-i", required=True, help="Input text. - indicates sys.stdin"
-    )
-    parser.add_argument(
-        "--output", "-o", required=True, help="Output text. - indicates sys.stdout"
-    )
+    parser.add_argument("--input", "-i", required=True, help="Input text. - indicates sys.stdin")
+    parser.add_argument("--output", "-o", required=True, help="Output text. - indicates sys.stdout")
     parser.add_argument(
         "--field",
         "-f",

--
Gitblit v1.9.1