From c880db53646ab9fd26417f4baf004ab44cc24e1a Mon Sep 17 00:00:00 2001
From: lingji-yidong <75744976+lingji-yidong@users.noreply.github.com>
Date: 星期五, 28 六月 2024 01:28:24 +0800
Subject: [PATCH] Fix: Return tuple ('', []) when char_list is empty to prevent ValueError (#1857)
---
fun_text_processing/inverse_text_normalization/id/verbalizers/verbalize.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fun_text_processing/inverse_text_normalization/id/verbalizers/verbalize.py b/fun_text_processing/inverse_text_normalization/id/verbalizers/verbalize.py
index 8271474..7aaef2a 100644
--- a/fun_text_processing/inverse_text_normalization/id/verbalizers/verbalize.py
+++ b/fun_text_processing/inverse_text_normalization/id/verbalizers/verbalize.py
@@ -14,7 +14,7 @@
class VerbalizeFst(GraphFst):
"""
Composes other verbalizer grammars.
- For deployment, this grammar will be compiled and exported to OpenFst Finate State Archiv (FAR) File.
+ For deployment, this grammar will be compiled and exported to OpenFst Finate State Archiv (FAR) File.
More details to deployment at NeMo/tools/text_processing_deployment.
"""
--
Gitblit v1.9.1