We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e162bb commit 237bffeCopy full SHA for 237bffe
crates/sherpa-rs/src/sense_voice.rs
@@ -100,7 +100,7 @@ impl SenseVoiceRecognizer {
100
let hotwords_file_cstr = config.hotwords_file.map(|f| cstring_from_str(&f));
101
// Recognizer config
102
let config = sherpa_rs_sys::SherpaOnnxOfflineRecognizerConfig {
103
- decoding_method: cstring_from_str("greedy_search"),
+ decoding_method: cstring_from_str("modified_beam_search").as_ptr(),
104
feat_config: sherpa_rs_sys::SherpaOnnxFeatureConfig {
105
sample_rate: 16000,
106
feature_dim: 80,
0 commit comments