From 4cacf936bcfff40d14bca926d0025d9aa2185dbe Mon Sep 17 00:00:00 2001
From: manyeyes <32889020+manyeyes@users.noreply.github.com>
Date: 星期一, 16 十月 2023 11:26:09 +0800
Subject: [PATCH] Adjusting the project directory structure (#1010)
---
funasr/runtime/onnxruntime/src/vocab.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/funasr/runtime/onnxruntime/src/vocab.h b/funasr/runtime/onnxruntime/src/vocab.h
index 808852a..23b4bd6 100644
--- a/funasr/runtime/onnxruntime/src/vocab.h
+++ b/funasr/runtime/onnxruntime/src/vocab.h
@@ -22,7 +22,8 @@
int Size();
bool IsChinese(string ch);
void Vector2String(vector<int> in, std::vector<std::string> &preds);
- string Vector2StringV2(vector<int> in);
+ string Vector2StringV2(vector<int> in, std::string language="");
+ string WordFormat(std::string word);
int GetIdByToken(const std::string &token);
};
--
Gitblit v1.9.1