Skip to content

Commit

Permalink
Update prepare.sh (#1422)
Browse files Browse the repository at this point in the history
fix the bug in line 251:
1、 del the additional blank
2、correct the spell error of "new_vocab_size"
  • Loading branch information
Zth9730 authored Dec 21, 2023
1 parent 10a2347 commit 702d4f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion egs/libriheavy/ASR/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ if [ $stage -le 10 ] && [ $stop_stage -ge 10 ]; then
| jq '.supervisions[].text' | sed 's/"//;s/\\//g;s/"$//' > data/punc_texts
fi
for vocab_size in ${vocab_sizes[@]}; do
new_vacab_size = $(($vocab_size + 256))
new_vocab_size=$(($vocab_size + 256))
lang_dir=data/lang_punc_bpe_${new_vocab_size}
mkdir -p $lang_dir

Expand Down

0 comments on commit 702d4f5

Please sign in to comment.