Commit b437fa86 authored by Ho Yin Chan's avatar Ho Yin Chan
Browse files

trunk:egs/wsj/s5/utils better description of usage in subset_data_dir.sh

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@2783 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent 7e707109
......@@ -25,7 +25,10 @@
# If you give the --shortest option, it will give you the n shortest utterances.
# If you give the --first option it will just give you the n first utterances.
# If you give the --first option, it will just give you the n first utterances.
# If you give the --last option, it will just give you the n last utterances.
shortest=false
perspk=false
......@@ -58,11 +61,12 @@ fi
if [ $# != 3 ]; then
echo "Usage: "
echo " subset_data_dir.sh [--speakers|--shortest|--first|--per-spk] <srcdir> <num-utt> <destdir>"
echo " subset_data_dir.sh [--speakers|--shortest|--first|--last|--per-spk] <srcdir> <num-utt> <destdir>"
echo " subset_data_dir.sh [--spk-list <speaker-list-file>] <srcdir> <destdir>"
echo "By default, randomly selects <num-utt> utterances from the data directory."
echo "With --speakers, randomly selects enough speakers that we have <num-utt> utterances"
echo "With --first, selects the first <num-utt> utterances"
echo "With --last, selects the last <num-utt> utterances"
echo "With --shortest, selects the shortest <num-utt> utterances."
exit 1;
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment