mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-08 09:32:20 +00:00
Update prepare.sh (#1768)
This commit is contained in:
parent
5c04c31292
commit
d9844d847f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user