update funasr-onnx-2pass.cpp
| | |
| | | // hotword file |
| | | unordered_map<string, int> hws_map; |
| | | std::string nn_hotwords_ = ""; |
| | | std::string hotword_path = model_path.at(HOTWORD); |
| | | std::string hotword_path = hotword.getValue(); |
| | | LOG(INFO) << "hotword path: " << hotword_path; |
| | | funasr::ExtractHws(hotword_path, hws_map, nn_hotwords_); |
| | | |
| | |
| | | // hotword file |
| | | unordered_map<string, int> hws_map; |
| | | std::string nn_hotwords_ = ""; |
| | | std::string hotword_path = model_path.at(HOTWORD); |
| | | std::string hotword_path = hotword.getValue(); |
| | | LOG(INFO) << "hotword path: " << hotword_path; |
| | | funasr::ExtractHws(hotword_path, hws_map, nn_hotwords_); |
| | | |