From d4aaa84ad16c2c862ffcb5d73bf7852c8ee90d24 Mon Sep 17 00:00:00 2001
From: 雾聪 <wucong.lyb@alibaba-inc.com>
Date: 星期四, 21 三月 2024 14:17:22 +0800
Subject: [PATCH] fix func FunASRWfstDecoderInit

---
 runtime/onnxruntime/include/model.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/runtime/onnxruntime/include/model.h b/runtime/onnxruntime/include/model.h
index 33caec8..b72db92 100644
--- a/runtime/onnxruntime/include/model.h
+++ b/runtime/onnxruntime/include/model.h
@@ -24,7 +24,11 @@
     virtual std::vector<std::vector<float>> CompileHotwordEmbedding(std::string &hotwords){return std::vector<std::vector<float>>();};
     virtual std::string GetLang(){return "";};
     virtual int GetAsrSampleRate() = 0;
+    virtual Vocab* GetVocab(){};
+    virtual Vocab* GetLmVocab(){};
+    virtual PhoneSet* GetPhoneSet(){};
 
+    std::shared_ptr<fst::Fst<fst::StdArc>> lm_ = nullptr;
 };
 
 Model *CreateModel(std::map<std::string, std::string>& model_path, int thread_num=1, ASR_TYPE type=ASR_OFFLINE);

--
Gitblit v1.9.1