mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-09 10:02:22 +00:00
edit prepare.sh
This commit is contained in:
parent
9d6211e038
commit
84c91dbc3a
@ -1 +1 @@
|
||||
/root/Github/icefall/egs/aidatatang_200zh/ASR/local/prepare_char.py
|
||||
../../../aishell/ASR/local/prepare_char.py
|
@ -1 +1 @@
|
||||
/root/Github/icefall/egs/wenetspeech/ASR/local/prepare_words.py
|
||||
../../../aishell2/ASR/local/prepare_words.py
|
@ -68,9 +68,7 @@ if [ $stage -le 3 ] && [ $stop_stage -ge 3 ]; then
|
||||
cd ..
|
||||
mkdir -p manifests
|
||||
cd manifests
|
||||
ln -svf $(realpath ../../../../reazonspeech/ASR/data/manifests/feats_train) .
|
||||
ln -svf $(realpath ../../../../reazonspeech/ASR/data/manifests/feats_dev) .
|
||||
ln -svf $(realpath ../../../../reazonspeech/ASR/data/manifests/feats_test) .
|
||||
ln -svf $(realpath ../../../../reazonspeech/ASR/data/manifests/feats_*) .
|
||||
cd ../..
|
||||
else
|
||||
log "Abort! Please run ../../reazonspeech/ASR/prepare.sh --stage 0 --stop-stage 2"
|
||||
@ -108,7 +106,7 @@ if [ $stage -le 3 ] && [ $stop_stage -ge 3 ]; then
|
||||
fi
|
||||
|
||||
if [ ! -f $lang_char_dir/L_disambig.pt ]; then
|
||||
python3 ./local/prepare_char.py
|
||||
python3 ./local/prepare_char.py --lang-dir data/lang_char
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user