File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -166,10 +166,13 @@ do_combine() {
166
166
# Merge (presumed already sorted) scp's into a single script.
167
167
sort -m $temp_dir /$ark .* .scp > $temp_dir /$ark .scp || exit 1
168
168
169
+ inputs=$( for n in ` seq $nj ` ; do echo $temp_dir /$ark .$n .scp; done)
170
+ utils/split_scp.pl --utt2spk=$data /utt2spk $temp_dir /$ark .scp $inputs
171
+
169
172
echo " $0 : Splitting combined $entities into $nj archives on speaker boundary."
170
173
$cmd JOB=1:$nj $dest /log/chop_combined_$entities .JOB.log \
171
174
$copy_program \
172
- " scp:utils/split_scp.pl --utt2spk= $data /utt2spk --one-based -j $nj JOB $ temp_dir /$ark .scp | " \
175
+ " scp:$ temp_dir /$ark .JOB. scp" \
173
176
" ark:| gzip -c > $dest /$ark .JOB.gz" || exit 1
174
177
175
178
# Get some interesting stats, and signal an error if error threshold exceeded.
You can’t perform that action at this time.
0 commit comments