From 39efd2204c84b086dceac3dbb257425fc640a3ff Mon Sep 17 00:00:00 2001
From: Lizerui9926 <110582652+Lizerui9926@users.noreply.github.com>
Date: 星期一, 17 四月 2023 11:05:01 +0800
Subject: [PATCH] Merge pull request #364 from alibaba-damo-academy/dev_sx
---
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