Offline ASR result copied into C++ containers.
More...
#include <cxx-api.h>
Definition at line 753 of file cxx-api.h.
◆ durations
| std::vector<float> sherpa_onnx::cxx::OfflineRecognizerResult::durations |
Non-empty only for TDT-style models.
Definition at line 770 of file cxx-api.h.
◆ emotion
| std::string sherpa_onnx::cxx::OfflineRecognizerResult::emotion |
Detected emotion when provided by the model.
Definition at line 765 of file cxx-api.h.
◆ event
| std::string sherpa_onnx::cxx::OfflineRecognizerResult::event |
Detected event when provided by the model.
Definition at line 767 of file cxx-api.h.
◆ json
| std::string sherpa_onnx::cxx::OfflineRecognizerResult::json |
JSON representation of the result.
Definition at line 761 of file cxx-api.h.
◆ lang
| std::string sherpa_onnx::cxx::OfflineRecognizerResult::lang |
Detected language when provided by the model.
Definition at line 763 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 757 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: