mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-04 06:34:20 +00:00
Update prepare.sh
This commit is contained in:
parent
27df51521f
commit
4209f60832
@ -81,11 +81,6 @@ if [ $stage -le 4 ] && [ $stop_stage -ge 4 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -d ../../librispeech/ASR/data/lang_phone ] && [ ! -d ./data/lang_phone ]; then
|
||||
log "Abort! Please run ../../librispeech/ASR/prepare.sh --stage 5 --stop-stage 5"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -d ../../librispeech/ASR/data/lang_bpe_500 ] && [ ! -d ./data/lang_bpe_500 ]; then
|
||||
log "Abort! Please run ../../librispeech/ASR/prepare.sh --stage 6 --stop-stage 6"
|
||||
exit 1
|
||||
@ -95,9 +90,6 @@ if [ $stage -le 4 ] && [ $stop_stage -ge 4 ]; then
|
||||
if [ ! -d ./lang_char ]; then
|
||||
ln -svf $(realpath ../../../aishell2/ASR/data/lang_char) .
|
||||
fi
|
||||
if [ ! -d ./lang_phone ]; then
|
||||
ln -svf $(realpath ../../../librispeech/ASR/data/lang_phone) .
|
||||
fi
|
||||
if [ ! -d ./lang_bpe_500 ]; then
|
||||
ln -svf $(realpath ../../../librispeech/ASR/data/lang_bpe_500) .
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user