(sandbox/kaldi-pitch) example script/recipe moved from babel/local to wsj/s5/steps, the babel recipe modified to reflect the new location

git-svn-id: https://svn.code.sf.net/p/kaldi/code/sandbox/pitch@3244 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
This commit is contained in:
Jan Trmal 2013-12-02 18:13:36 +00:00
Родитель e63a7573ec
Коммит f7e4e7de6b
4 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -133,7 +133,7 @@ if [ ! -f data/train/.plp.done ]; then
elif [ "$use_pitch" = "true" ] && [ "$use_ffv" = "true" ]; then
cp -rT data/train data/train_plp; cp -rT data/train data/train_pitch; cp -rT data/train data/train_ffv
steps/make_plp.sh --cmd "$train_cmd" --nj $train_nj data/train_plp exp/make_plp/train plp_tmp_train
local/make_pitch_kaldi.sh --cmd "$train_cmd" --nj $train_nj data/train_pitch exp/make_pitch/train pitch_tmp_train
steps/make_pitch_kaldi.sh --cmd "$train_cmd" --nj $train_nj data/train_pitch exp/make_pitch/train pitch_tmp_train
local/make_ffv.sh --cmd "$train_cmd" --nj $train_nj data/train_ffv exp/make_ffv/train ffv_tmp_train
steps/append_feats.sh --cmd "$train_cmd" --nj $train_nj data/train{_plp,_pitch,_plp_pitch} exp/make_pitch/append_train_pitch plp_tmp_train
steps/append_feats.sh --cmd "$train_cmd" --nj $train_nj data/train{_plp_pitch,_ffv,} exp/make_ffv/append_train_pitch_ffv plp
@ -141,7 +141,7 @@ if [ ! -f data/train/.plp.done ]; then
elif [ "$use_pitch" = "true" ]; then
cp -rT data/train data/train_plp; cp -rT data/train data/train_pitch
steps/make_plp.sh --cmd "$train_cmd" --nj $train_nj data/train_plp exp/make_plp/train plp_tmp_train
local/make_pitch_kaldi.sh --cmd "$train_cmd" --nj $train_nj data/train_pitch exp/make_pitch/train pitch_tmp_train
steps/make_pitch_kaldi.sh --cmd "$train_cmd" --nj $train_nj data/train_pitch exp/make_pitch/train pitch_tmp_train
steps/append_feats.sh --cmd "$train_cmd" --nj $train_nj data/train{_plp,_pitch,} exp/make_pitch/append_train plp
rm -rf {plp,pitch}_tmp_train data/train_{plp,pitch}
elif [ "$use_ffv" = "true" ]; then

Просмотреть файл

@ -42,7 +42,7 @@ function make_plp {
elif [ "$use_pitch" = "true" ] && [ "$use_ffv" = "true" ]; then
cp -rT data/${t} data/${t}_plp; cp -rT data/${t} data/${t}_pitch; cp -rT data/${t} data/${t}_ffv
steps/make_plp.sh --cmd "$decode_cmd" --nj $my_nj data/${t}_plp exp/make_plp/${t} plp_tmp_${t}
local/make_pitch_kaldi.sh --cmd "$decode_cmd" --nj $my_nj data/${t}_pitch exp/make_pitch/${t} pitch_tmp_${t}
steps/make_pitch_kaldi.sh --cmd "$decode_cmd" --nj $my_nj data/${t}_pitch exp/make_pitch/${t} pitch_tmp_${t}
local/make_ffv.sh --cmd "$decode_cmd" --nj $my_nj data/${t}_ffv exp/make_ffv/${t} ffv_tmp_${t}
steps/append_feats.sh --cmd "$decode_cmd" --nj $my_nj data/${t}{_plp,_pitch,_plp_pitch} exp/make_pitch/append_${t}_pitch plp_tmp_${t}
steps/append_feats.sh --cmd "$decode_cmd" --nj $my_nj data/${t}{_plp_pitch,_ffv,} exp/make_ffv/append_${t}_pitch_ffv plp
@ -50,7 +50,7 @@ function make_plp {
elif [ "$use_pitch" = "true" ]; then
cp -rT data/${t} data/${t}_plp; cp -rT data/${t} data/${t}_pitch
steps/make_plp.sh --cmd "$decode_cmd" --nj $my_nj data/${t}_plp exp/make_plp/${t} plp_tmp_${t}
local/make_pitch_kaldi.sh --cmd "$decode_cmd" --nj $my_nj data/${t}_pitch exp/make_pitch/${t} pitch_tmp_${t}
steps/make_pitch_kaldi.sh --cmd "$decode_cmd" --nj $my_nj data/${t}_pitch exp/make_pitch/${t} pitch_tmp_${t}
steps/append_feats.sh --cmd "$decode_cmd" --nj $my_nj data/${t}{_plp,_pitch,} exp/make_pitch/append_${t} plp
rm -rf {plp,pitch}_tmp_${t} data/${t}_{plp,pitch}
elif [ "$use_ffv" = "true" ]; then

Просмотреть файл

@ -42,7 +42,7 @@ function make_plp {
elif [ "$use_pitch" = "true" ] && [ "$use_ffv" = "true" ]; then
cp -rT data/${t} data/${t}_plp; cp -rT data/${t} data/${t}_pitch; cp -rT data/${t} data/${t}_ffv
steps/make_plp.sh --cmd "$decode_cmd" --nj $my_nj data/${t}_plp exp/make_plp/${t} plp_tmp_${t}
local/make_pitch_kaldi.sh --cmd "$decode_cmd" --nj $my_nj data/${t}_pitch exp/make_pitch/${t} pitch_tmp_${t}
steps/make_pitch_kaldi.sh --cmd "$decode_cmd" --nj $my_nj data/${t}_pitch exp/make_pitch/${t} pitch_tmp_${t}
local/make_ffv.sh --cmd "$decode_cmd" --nj $my_nj data/${t}_ffv exp/make_ffv/${t} ffv_tmp_${t}
steps/append_feats.sh --cmd "$decode_cmd" --nj $my_nj data/${t}{_plp,_pitch,_plp_pitch} exp/make_pitch/append_${t}_pitch plp_tmp_${t}
steps/append_feats.sh --cmd "$decode_cmd" --nj $my_nj data/${t}{_plp_pitch,_ffv,} exp/make_ffv/append_${t}_pitch_ffv plp
@ -50,7 +50,7 @@ function make_plp {
elif [ "$use_pitch" = "true" ]; then
cp -rT data/${t} data/${t}_plp; cp -rT data/${t} data/${t}_pitch
steps/make_plp.sh --cmd "$decode_cmd" --nj $my_nj data/${t}_plp exp/make_plp/${t} plp_tmp_${t}
local/make_pitch_kaldi.sh --cmd "$decode_cmd" --nj $my_nj data/${t}_pitch exp/make_pitch/${t} pitch_tmp_${t}
steps/make_pitch_kaldi.sh --cmd "$decode_cmd" --nj $my_nj data/${t}_pitch exp/make_pitch/${t} pitch_tmp_${t}
steps/append_feats.sh --cmd "$decode_cmd" --nj $my_nj data/${t}{_plp,_pitch,} exp/make_pitch/append_${t} plp
rm -rf {plp,pitch}_tmp_${t} data/${t}_{plp,pitch}
elif [ "$use_ffv" = "true" ]; then