mirror of
https://gitee.com/270580156/weiyu.git
synced 2026-05-14 11:18:02 +00:00
Sync from bytedesk-private: update
This commit is contained in:
20
modules/python/vendors/FunASR/runtime/onnxruntime/include/itn-model.h
vendored
Normal file
20
modules/python/vendors/FunASR/runtime/onnxruntime/include/itn-model.h
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
#ifndef ITN_MODEL_H
|
||||
#define ITN_MODEL_H
|
||||
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
namespace funasr {
|
||||
class ITNModel {
|
||||
public:
|
||||
virtual ~ITNModel(){};
|
||||
virtual void InitITN(const std::string &itn_tagger, const std::string &itn_verbalizer, int thread_num)=0;
|
||||
virtual std::string Normalize(const std::string& input){return "";};
|
||||
};
|
||||
|
||||
ITNModel *CreateITNModel(std::map<std::string, std::string>& model_path, int thread_num);
|
||||
|
||||
} // namespace funasr
|
||||
#endif
|
||||
Reference in New Issue
Block a user