funasr/runtime/onnxruntime/src/tokenizer.h
@@ -1,3 +1,8 @@ /** * Copyright FunASR (https://github.com/alibaba-damo-academy/FunASR). All Rights Reserved. * MIT License (https://opensource.org/licenses/MIT) */ #pragma once #include <yaml-cpp/yaml.h> @@ -12,6 +17,7 @@ CTokenizer(const char* sz_yamlfile); CTokenizer(); ~CTokenizer(); bool OpenYaml(const char* sz_yamlfile); void ReadYaml(const YAML::Node& node); vector<string> Id2String(vector<int> input);