From 7e0652f8d5701e5952a1c81770de4e06e0019f9b Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期四, 27 四月 2023 10:30:13 +0800
Subject: [PATCH] websocket
---
funasr/runtime/onnxruntime/src/vocab.h | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/funasr/runtime/onnxruntime/src/vocab.h b/funasr/runtime/onnxruntime/src/vocab.h
index 023671a..a3fdf65 100644
--- a/funasr/runtime/onnxruntime/src/vocab.h
+++ b/funasr/runtime/onnxruntime/src/vocab.h
@@ -10,16 +10,16 @@
class Vocab {
private:
vector<string> vocab;
- bool isChinese(string ch);
- bool isEnglish(string ch);
- void loadVocabFromYaml(const char* filename);
+ bool IsChinese(string ch);
+ bool IsEnglish(string ch);
+ void LoadVocabFromYaml(const char* filename);
public:
Vocab(const char *filename);
~Vocab();
- int size();
- string vector2string(vector<int> in);
- string vector2stringV2(vector<int> in);
+ int Size();
+ string Vector2String(vector<int> in);
+ string Vector2StringV2(vector<int> in);
};
#endif
--
Gitblit v1.9.1