sherpa-onnx C API 1.0
Public C API and C++ wrapper for sherpa-onnx
Loading...
Searching...
No Matches
sherpa_onnx::cxx::OfflineLMConfig Struct Reference

Optional language-model rescoring configuration for offline ASR. More...

#include <cxx-api.h>

+ Collaboration diagram for sherpa_onnx::cxx::OfflineLMConfig:

Public Attributes

std::string model
 
float scale = 1.0
 

Detailed Description

Definition at line 684 of file cxx-api.h.

Member Data Documentation

◆ model

std::string sherpa_onnx::cxx::OfflineLMConfig::model

LM model file.

Definition at line 686 of file cxx-api.h.

◆ scale

float sherpa_onnx::cxx::OfflineLMConfig::scale = 1.0

LM scale.

Definition at line 688 of file cxx-api.h.


The documentation for this struct was generated from the following file: