Configuration for the C++ keyword spotting wrapper.
More...
#include <cxx-api.h>
Definition at line 1156 of file cxx-api.h.
◆ feat_config
| FeatureConfig sherpa_onnx::cxx::KeywordSpotterConfig::feat_config |
Feature extraction configuration.
Definition at line 1158 of file cxx-api.h.
◆ keywords_buf
| std::string sherpa_onnx::cxx::KeywordSpotterConfig::keywords_buf |
In-memory keyword definitions.
Definition at line 1172 of file cxx-api.h.
◆ keywords_file
| std::string sherpa_onnx::cxx::KeywordSpotterConfig::keywords_file |
◆ keywords_score
| float sherpa_onnx::cxx::KeywordSpotterConfig::keywords_score = 1.0f |
◆ keywords_threshold
| float sherpa_onnx::cxx::KeywordSpotterConfig::keywords_threshold = 0.25f |
◆ max_active_paths
| int32_t sherpa_onnx::cxx::KeywordSpotterConfig::max_active_paths = 4 |
Maximum number of active paths.
Definition at line 1162 of file cxx-api.h.
◆ model_config
Streaming acoustic model configuration.
Definition at line 1160 of file cxx-api.h.
◆ num_trailing_blanks
| int32_t sherpa_onnx::cxx::KeywordSpotterConfig::num_trailing_blanks = 1 |
Number of trailing blanks required before finalizing a trigger.
Definition at line 1164 of file cxx-api.h.
The documentation for this struct was generated from the following file: