游雁
2023-11-08 710f8e3ba029579d870e5a022c3ce537a3c700be
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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