Allow more online models to load tokens file from the memory (#1352)
Co-authored-by: xiao <shawl336@6163.com>
This commit is contained in:
@@ -107,8 +107,8 @@ struct OnlineRecognizerConfig {
|
||||
std::string rule_fars;
|
||||
|
||||
/// used only for modified_beam_search, if hotwords_buf is non-empty,
|
||||
/// the hotwords will be loaded from the buffered string instead of from
|
||||
/// ${hotwords_file}
|
||||
/// the hotwords will be loaded from the buffered string instead of from the
|
||||
/// "hotwords_file"
|
||||
std::string hotwords_buf;
|
||||
|
||||
OnlineRecognizerConfig() = default;
|
||||
|
||||
Reference in New Issue
Block a user