Fix an error occured during mmi preparation (#1626)

* init commit

* updated
This commit is contained in:
zr_jin 2024-05-17 19:45:15 +08:00 committed by GitHub
parent 9d570870cf
commit 68980c5d0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -31,6 +31,8 @@ log "Running prepare_lm.sh"
stage=0
stop_stage=100
. shared/parse_options.sh || exit 1
if [ $stage -le 0 ] && [ $stop_stage -ge 0 ]; then
log "Stage 0: Prepare BPE based lexicon."

View File

@ -8,11 +8,15 @@ set -eou pipefail
. prepare.sh --stage -1 --stop-stage 6 || exit 1
. prepare_lm.sh --stage 0 --stop-stage 0 || exit 1
log "Running prepare_mmi.sh"
stage=0
stop_stage=100
. shared/parse_options.sh || exit 1
if [ $stage -le 0 ] && [ $stop_stage -ge 0 ]; then
log "Stage 0: Prepare bigram token-level P for MMI training"