diff --git a/docs/source/recipes/librispeech/tdnn_lstm_ctc.rst b/docs/source/recipes/librispeech/tdnn_lstm_ctc.rst index 62bc9fb2e..39f14f194 100644 --- a/docs/source/recipes/librispeech/tdnn_lstm_ctc.rst +++ b/docs/source/recipes/librispeech/tdnn_lstm_ctc.rst @@ -112,7 +112,7 @@ To see available training options, you can use: .. code-block:: bash - $ ./tdnn/train.py --help + $ ./tdnn_lstm_ctc/train.py --help Other training options, e.g., learning rate, results dir, etc., are pre-configured in the function ``get_params()`` @@ -139,7 +139,7 @@ Decoded results are saved in ``tdnn_lstm_ctc/exp``. .. code-block:: bash - $ ./tdnn/decode.py --help + $ ./tdnn_lstm_ctc/decode.py --help shows you the available decoding options. @@ -288,7 +288,7 @@ To decode with ``whole-lattice-rescoring`` methond, you can use .. code-block:: bash - ./conformer_ctc/pretrained.py \ + ./tdnn_lstm_ctc/pretrained.py \ --checkpoint ./tmp/icefall_asr_librispeech_tdnn-lstm_ctc/exp/pretraind.pt \ --words-file ./tmp/icefall_asr_librispeech_tdnn-lstm_ctc/data/lang_phone/words.txt \ --HLG ./tmp/icefall_asr_librispeech_tdnn-lstm_ctc/data/lang_phone/HLG.pt \ diff --git a/egs/librispeech/ASR/conformer_ctc/decode.py b/egs/librispeech/ASR/conformer_ctc/decode.py index 321ce970e..fc1d2bf2f 100755 --- a/egs/librispeech/ASR/conformer_ctc/decode.py +++ b/egs/librispeech/ASR/conformer_ctc/decode.py @@ -83,7 +83,7 @@ def get_parser(): - (3) nbest-rescoring. Extract n paths from the decoding lattice, rescore them with an n-gram LM (e.g., a 4-gram LM), the path with the highest score is the decoding result. - - (4) whole-lattice. Rescore the decoding lattice with an n-gram LM + - (4) whole-lattice-rescoring. Rescore the decoding lattice with an n-gram LM (e.g., a 4-gram LM), the best path of rescored lattice is the decoding result. - (5) attention-decoder. Extract n paths from the LM rescored lattice, diff --git a/egs/librispeech/ASR/tdnn_lstm_ctc/Pre-trained.md b/egs/librispeech/ASR/tdnn_lstm_ctc/Pre-trained.md index a65116cae..83e98b37c 100644 --- a/egs/librispeech/ASR/tdnn_lstm_ctc/Pre-trained.md +++ b/egs/librispeech/ASR/tdnn_lstm_ctc/Pre-trained.md @@ -226,7 +226,7 @@ YET THESE THOUGHTS AFFECTED HESTER PRYNNE LESS WITH HOPE THAN APPREHENSION ### (3) Use HLG decoding + LM rescoring ```bash -./conformer_ctc/pretrained.py \ +./tdnn_lstm_ctc/pretrained.py \ --checkpoint ./tmp/icefall_asr_librispeech_tdnn-lstm_ctc/exp/pretraind.pt \ --words-file ./tmp/icefall_asr_librispeech_tdnn-lstm_ctc/data/lang_phone/words.txt \ --HLG ./tmp/icefall_asr_librispeech_tdnn-lstm_ctc/data/lang_phone/HLG.pt \