Update prepare.sh

This commit is contained in:
jinzr 2024-03-04 12:23:58 +08:00
parent 585c2ac3a5
commit b71e17f6d2

View File

@ -116,8 +116,8 @@ if [ $stage -le 4 ] && [ $stop_stage -ge 4 ]; then
cat ./data/lang_bpe_500/transcript_words.txt \
>> $lang_dir/text_words_segmentation
cat ./data/lang_char/text \
>> $lang_dir/text
cat ./data/lang_char/text_words_segmentation \
>> $lang_dir/text_words_segmentation
fi
cat $lang_dir/text_words_segmentation | sed 's/ /\n/g' \