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

Homophone replacement resources used by some Chinese ASR setups. More...

#include <cxx-api.h>

+ Collaboration diagram for sherpa_onnx::cxx::HomophoneReplacerConfig:

Public Attributes

std::string dict_dir
 
std::string lexicon
 
std::string rule_fsts
 

Detailed Description

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

Member Data Documentation

◆ dict_dir

std::string sherpa_onnx::cxx::HomophoneReplacerConfig::dict_dir

Reserved field. Currently unused by the wrapper.

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

◆ lexicon

std::string sherpa_onnx::cxx::HomophoneReplacerConfig::lexicon

Lexicon file used by the replacer.

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

◆ rule_fsts

std::string sherpa_onnx::cxx::HomophoneReplacerConfig::rule_fsts

Rule FST file used for replacement.

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


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