From 757d20b3e89401fc25817fb3de74c54dc9c6939f Mon Sep 17 00:00:00 2001
From: Wu Can <140670863+Hi99s@users.noreply.github.com>
Date: 星期一, 21 十月 2024 13:30:04 +0800
Subject: [PATCH] Fix typo (#2158)

---
 runtime/onnxruntime/src/util.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/runtime/onnxruntime/src/util.h b/runtime/onnxruntime/src/util.h
index eda9b49..89dacf6 100644
--- a/runtime/onnxruntime/src/util.h
+++ b/runtime/onnxruntime/src/util.h
@@ -45,10 +45,11 @@
 bool TimestampIsPunctuation(const std::string& str);
 void TimestampSplitChiEngCharacters(const std::string &input_str,
                                   std::vector<std::string> &characters);
-std::string VectorToString(const std::vector<std::vector<int>>& vec);                                  
+std::string VectorToString(const std::vector<std::vector<int>>& vec, bool out_empty=true);                                  
 std::string TimestampSmooth(std::string &text, std::string &text_itn, std::string &str_time);
 std::string TimestampSentence(std::string &text, std::string &str_time);
 std::vector<std::string> split(const std::string &s, char delim);
+std::vector<std::string> SplitStr(const std::string &s, string delimiter);
 
 template<typename T>
 void PrintMat(const std::vector<std::vector<T>> &mat, const std::string &name);

--
Gitblit v1.9.1