Skip to content

Commit

Permalink
Update prepare.sh (#1768)
Browse files Browse the repository at this point in the history
  • Loading branch information
JinZr authored Oct 9, 2024
1 parent 5c04c31 commit d9844d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion egs/commonvoice/ASR/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d9844d8

Please sign in to comment.