From 10472e7ffc8bd3f8a096eb7cc62c86a4b861a9a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ali=20Haznedaro=C4=9Flu?= <53865510+ahazned@users.noreply.github.com> Date: Wed, 7 Dec 2022 03:22:50 +0300 Subject: [PATCH] Update prepare.sh (#737) --- egs/spgispeech/ASR/prepare.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/egs/spgispeech/ASR/prepare.sh b/egs/spgispeech/ASR/prepare.sh index 4842f52d0..8331f94d5 100755 --- a/egs/spgispeech/ASR/prepare.sh +++ b/egs/spgispeech/ASR/prepare.sh @@ -108,7 +108,7 @@ if [ $stage -le 5 ] && [ $stop_stage -ge 5 ]; then pieces=$(find data/manifests -name "cuts_train_[0-9]*.jsonl.gz") lhotse combine $pieces data/manifests/cuts_train.jsonl.gz fi - gunzip -c data/manifests/train_cuts.jsonl.gz | shuf | gzip -c > data/manifests/train_cuts_shuf.jsonl.gz + gunzip -c data/manifests/cuts_train.jsonl.gz | shuf | gzip -c > data/manifests/cuts_train_shuf.jsonl.gz fi if [ $stage -le 6 ] && [ $stop_stage -ge 6 ]; then @@ -136,7 +136,7 @@ if [ $stage -le 8 ] && [ $stop_stage -ge 8 ]; then # Add special words to words.txt echo " 0" > $lang_dir/words.txt echo "!SIL 1" >> $lang_dir/words.txt - echo "[UNK] 2" >> $lang_dir/words.txt + echo " 2" >> $lang_dir/words.txt # Add regular words to words.txt gunzip -c data/manifests/cuts_train_raw.jsonl.gz \