Update prepare.sh

This commit is contained in:
jinzr 2024-03-12 12:36:52 +08:00
parent a9df06cef4
commit d45e4c61e1

View File

@ -188,7 +188,7 @@ if [ $stage -le 9 ] && [ $stop_stage -ge 9 ]; then
# 2. chmod +x ./jq
# 3. cp jq /usr/bin
gunzip -c data/${lang}/manifests/cv-${lang}_supervisions_train.jsonl.gz \
| jq '.text' | sed 's/"//g' > $lang_char_dir/text
| jq '.text' | sed 's/"//g' > $lang_dir/text
if [ $lang == "yue" ]; then
# Get words.txt and words_no_ids.txt