Current keyword spotting result copied into C++ containers.
More...
#include <cxx-api.h>
Definition at line 1142 of file cxx-api.h.
◆ json
| std::string sherpa_onnx::cxx::KeywordResult::json |
JSON representation of the result.
Definition at line 1152 of file cxx-api.h.
◆ keyword
| std::string sherpa_onnx::cxx::KeywordResult::keyword |
Triggered keyword text.
Definition at line 1144 of file cxx-api.h.
◆ start_time
| float sherpa_onnx::cxx::KeywordResult::start_time = 0.0f |
Segment start time in seconds.
Definition at line 1150 of file cxx-api.h.
◆ timestamps
| std::vector<float> sherpa_onnx::cxx::KeywordResult::timestamps |
Per-token timestamps in seconds.
Definition at line 1148 of file cxx-api.h.
◆ tokens
| std::vector<std::string> sherpa_onnx::cxx::KeywordResult::tokens |
Decoded token sequence.
Definition at line 1146 of file cxx-api.h.
The documentation for this struct was generated from the following file: