Online punctuation model configuration.
More...
#include <c-api.h>
Example using sherpa-onnx-online-punct-en-2024-08-06:
memset(&model, 0, sizeof(model));
"./sherpa-onnx-online-punct-en-2024-08-06/model.int8.onnx"; model.
bpe_vocab =
"./sherpa-onnx-online-punct-en-2024-08-06/bpe.vocab"; model.
num_threads = 1;
Online punctuation model configuration.
Definition at line 3593 of file c-api.h.
◆ bpe_vocab
| const char* SherpaOnnxOnlinePunctuationModelConfig::bpe_vocab |
BPE vocabulary used by the model.
Definition at line 3597 of file c-api.h.
◆ cnn_bilstm
| const char* SherpaOnnxOnlinePunctuationModelConfig::cnn_bilstm |
Online punctuation model file.
Definition at line 3595 of file c-api.h.
◆ debug
| int32_t SherpaOnnxOnlinePunctuationModelConfig::debug |
Non-zero to print debug information.
Definition at line 3601 of file c-api.h.
◆ num_threads
| int32_t SherpaOnnxOnlinePunctuationModelConfig::num_threads |
Number of inference threads.
Definition at line 3599 of file c-api.h.
◆ provider
| const char* SherpaOnnxOnlinePunctuationModelConfig::provider |
Execution provider such as "cpu".
Definition at line 3603 of file c-api.h.
The documentation for this struct was generated from the following file: