From 2f2ce47250202dc3932e5dbbf3ce58c7a681805f Mon Sep 17 00:00:00 2001 From: marcoyang1998 Date: Mon, 31 Jul 2023 14:01:10 +0800 Subject: [PATCH] update some documentation --- .../ASR/pruned_transducer_stateless7_streaming/decode.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/egs/librispeech/ASR/pruned_transducer_stateless7_streaming/decode.py b/egs/librispeech/ASR/pruned_transducer_stateless7_streaming/decode.py index 3444f8193..dca49325f 100755 --- a/egs/librispeech/ASR/pruned_transducer_stateless7_streaming/decode.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless7_streaming/decode.py @@ -396,6 +396,12 @@ def decode_one_batch( The decoding graph. Can be either a `k2.trivial_graph` or HLG, Used only when --decoding_method is fast_beam_search, fast_beam_search_nbest, fast_beam_search_nbest_oracle, and fast_beam_search_nbest_LG. + LM: + A neural network language model. + ngram_lm: + A ngram language model + ngram_lm_scale: + The scale for the ngram language model. Returns: Return the decoding result. See above description for the format of the returned dict.