From 91231a03f5c16fff0d9d54f859c7a9aa02fd239c Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期一, 16 十月 2023 14:47:17 +0800
Subject: [PATCH] add jieba for ct-transformer

---
 funasr/runtime/onnxruntime/src/ct-transformer.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/funasr/runtime/onnxruntime/src/ct-transformer.cpp b/funasr/runtime/onnxruntime/src/ct-transformer.cpp
index 71a8847..8f8d953 100644
--- a/funasr/runtime/onnxruntime/src/ct-transformer.cpp
+++ b/funasr/runtime/onnxruntime/src/ct-transformer.cpp
@@ -40,6 +40,7 @@
         m_szOutputNames.push_back(item.c_str());
 
 	m_tokenizer.OpenYaml(punc_config.c_str());
+    m_tokenizer.JiebaInit(punc_config);
 }
 
 CTTransformer::~CTTransformer()

--
Gitblit v1.9.1