Skip to content

Commit

Permalink
[scripts] Copy utt2lang in copy_data_dir.sh (#4789)
Browse files Browse the repository at this point in the history
Coauthored-By: Jonghwan Hyeon <hyeon0145@gmail.com>
  • Loading branch information
jonghwanhyeon committed Aug 31, 2022
1 parent 0fb502d commit a754c18
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions egs/wsj/s5/utils/copy_data_dir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ if [ -f $srcdir/vad.scp ]; then
utils/apply_map.pl -f 1 $destdir/utt_map <$srcdir/vad.scp >$destdir/vad.scp
fi

if [ -f $srcdir/utt2lang ]; then
utils/apply_map.pl -f 1 $destdir/utt_map <$srcdir/utt2lang >$destdir/utt2lang
fi

if [ -f $srcdir/segments ]; then
utils/apply_map.pl -f 1 $destdir/utt_map <$srcdir/segments >$destdir/segments
cp $srcdir/wav.scp $destdir
Expand Down

0 comments on commit a754c18

Please sign in to comment.