From 3530688e0a1b1dfbb22dcd3324db97be5bbc0d9b Mon Sep 17 00:00:00 2001
From: takipipo <69394786+takipipo@users.noreply.github.com>
Date: 星期四, 16 一月 2025 10:33:23 +0800
Subject: [PATCH] Make Emotion2vec support onnx (#2359)
---
fun_text_processing/text_normalization/zh/verbalizers/verbalize.py | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/fun_text_processing/text_normalization/zh/verbalizers/verbalize.py b/fun_text_processing/text_normalization/zh/verbalizers/verbalize.py
index d01c2e7..b582137 100644
--- a/fun_text_processing/text_normalization/zh/verbalizers/verbalize.py
+++ b/fun_text_processing/text_normalization/zh/verbalizers/verbalize.py
@@ -1,5 +1,3 @@
-
-
import pynini
from fun_text_processing.text_normalization.zh.graph_utils import GraphFst
from fun_text_processing.text_normalization.zh.verbalizers.cardinal import Cardinal
@@ -16,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.
Args:
deterministic: if True will provide a single transduction option,
--
Gitblit v1.9.1