add modified beam search (#69)
This commit is contained in:
@@ -32,7 +32,11 @@ struct OnlineRecognizerConfig {
|
||||
FeatureExtractorConfig feat_config;
|
||||
OnlineTransducerModelConfig model_config;
|
||||
EndpointConfig endpoint_config;
|
||||
bool enable_endpoint;
|
||||
bool enable_endpoint = true;
|
||||
int32_t max_active_paths = 4;
|
||||
|
||||
std::string decoding_method = "modified_beam_search";
|
||||
// now support modified_beam_search and greedy_search
|
||||
|
||||
OnlineRecognizerConfig() = default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user