UFAL-DSG/pykaldi

data_split.sh assumes the WORK variable is defined

Closed this issue · 1 comments

The script data_split.sh assumes the WORK variable is defined, but considering this is an independent script, it should be self-contained and get this variable passed in as a command-line argument.

If you do not mind to fix it do it:
data_split.sh is in used only at

$ git grep data_split.sh

train_voip_cs.sh:local/data_split.sh --every_n $EVERY_N $DATA_ROOT
$WORK/local "$LMs" "$TEST_SETS" || exit 1

train_voip_en.sh:local/data_split.sh --every_n $EVERY_N $DATA_ROOT
$WORK/local "$LMs" "$TEST_SETS" || exit 1

Otherwise I will do it after 9/12/