From 60eb8bb36685269e27b1ce09f2046a09b27c8c81 Mon Sep 17 00:00:00 2001 From: zr_jin Date: Wed, 9 Oct 2024 14:08:04 +0800 Subject: [PATCH] Update prepare.sh --- egs/commonvoice/ASR/prepare.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egs/commonvoice/ASR/prepare.sh b/egs/commonvoice/ASR/prepare.sh index 4e76ef0419..200114a865 100755 --- a/egs/commonvoice/ASR/prepare.sh +++ b/egs/commonvoice/ASR/prepare.sh @@ -339,7 +339,7 @@ if [ $stage -le 9 ] && [ $stop_stage -ge 9 ]; then # 2. chmod +x ./jq # 3. cp jq /usr/bin gunzip -c ${file} \ - | jq '.text' | sed 's/"//g' > $lang_dir/transcript_words.txt + | jq '.supervisions[].text' | sed 's/"//g' > $lang_dir/transcript_words.txt # Ensure space only appears once sed -i 's/\t/ /g' $lang_dir/transcript_words.txt