Offline ASR result copied into C++ containers.
More...
#include <cxx-api.h>
Definition at line 752 of file cxx-api.h.
◆ durations
| std::vector<float> sherpa_onnx::cxx::OfflineRecognizerResult::durations |
Non-empty only for TDT-style models.
Definition at line 769 of file cxx-api.h.
◆ emotion
| std::string sherpa_onnx::cxx::OfflineRecognizerResult::emotion |
Detected emotion when provided by the model.
Definition at line 764 of file cxx-api.h.
◆ event
| std::string sherpa_onnx::cxx::OfflineRecognizerResult::event |
Detected event when provided by the model.
Definition at line 766 of file cxx-api.h.
◆ json
| std::string sherpa_onnx::cxx::OfflineRecognizerResult::json |
JSON representation of the result.
Definition at line 760 of file cxx-api.h.
◆ lang
| std::string sherpa_onnx::cxx::OfflineRecognizerResult::lang |
Detected language when provided by the model.
Definition at line 762 of file cxx-api.h.
◆ text
| std::string sherpa_onnx::cxx::OfflineRecognizerResult::text |
◆ timestamps
| std::vector<float> sherpa_onnx::cxx::OfflineRecognizerResult::timestamps |
Per-token timestamps in seconds when available.
Definition at line 756 of file cxx-api.h.
◆ tokens
| std::vector<std::string> sherpa_onnx::cxx::OfflineRecognizerResult::tokens |
The documentation for this struct was generated from the following file: