first commit for takway.ai

This commit is contained in:
IrvingGao committed 2024-05-18 15:50:56 +08:00
commit d7a6de771c
3256 files changed
+795173

No files matched your search

+20
View 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