From 75be3ceccdf02599c43c7e9888bfdb6ba561fc71 Mon Sep 17 00:00:00 2001 From: 雾聪 <wucong.lyb@alibaba-inc.com> Date: 星期二, 10 十月 2023 20:41:57 +0800 Subject: [PATCH] fix the issue of concatenating multiple VAD segments for en-bpe --- funasr/runtime/onnxruntime/include/funasrruntime.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/funasr/runtime/onnxruntime/include/funasrruntime.h b/funasr/runtime/onnxruntime/include/funasrruntime.h index 93824fb..14f6122 100644 --- a/funasr/runtime/onnxruntime/include/funasrruntime.h +++ b/funasr/runtime/onnxruntime/include/funasrruntime.h @@ -105,7 +105,10 @@ _FUNASRAPI FUNASR_RESULT FunOfflineInfer(FUNASR_HANDLE handle, const char* sz_filename, FUNASR_MODE mode, QM_CALLBACK fn_callback, const std::vector<std::vector<float>> &hw_emb, int sampling_rate=16000, bool itn=true); +#if !defined(__APPLE__) _FUNASRAPI const std::vector<std::vector<float>> CompileHotwordEmbedding(FUNASR_HANDLE handle, std::string &hotwords, ASR_TYPE mode=ASR_OFFLINE); +#endif + _FUNASRAPI void FunOfflineUninit(FUNASR_HANDLE handle); //2passStream -- Gitblit v1.9.1