sherpa-onnx C API 1.0
Public C API and C++ wrapper for sherpa-onnx
Loading...
Searching...
No Matches
SherpaOnnxHomophoneReplacerConfig Struct Reference

Configuration for homophone replacement. More...

#include <c-api.h>

Public Attributes

const char * dict_dir
 
const char * lexicon
 
const char * rule_fsts
 

Detailed Description

Definition at line 304 of file c-api.h.

Member Data Documentation

◆ dict_dir

const char* SherpaOnnxHomophoneReplacerConfig::dict_dir

Unused legacy field kept for ABI compatibility.

Definition at line 306 of file c-api.h.

◆ lexicon

const char* SherpaOnnxHomophoneReplacerConfig::lexicon

Path to the lexicon used by the homophone replacer.

Definition at line 308 of file c-api.h.

◆ rule_fsts

const char* SherpaOnnxHomophoneReplacerConfig::rule_fsts

Path to the replacement rule FST file.

Definition at line 310 of file c-api.h.


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