From 77045e7bb78d4b8a82f96130f9d84e356a32d5c5 Mon Sep 17 00:00:00 2001
From: aky15 <ankeyu.aky@11.17.44.249>
Date: 星期二, 09 五月 2023 11:16:07 +0800
Subject: [PATCH] rnnt bug fix
---
funasr/runtime/onnxruntime/src/Vocab.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/funasr/runtime/onnxruntime/src/Vocab.h b/funasr/runtime/onnxruntime/src/Vocab.h
index 328a2a1..023671a 100644
--- a/funasr/runtime/onnxruntime/src/Vocab.h
+++ b/funasr/runtime/onnxruntime/src/Vocab.h
@@ -12,6 +12,7 @@
vector<string> vocab;
bool isChinese(string ch);
bool isEnglish(string ch);
+ void loadVocabFromYaml(const char* filename);
public:
Vocab(const char *filename);
--
Gitblit v1.9.1