kaldi-asr / kaldi

kaldi-asr/kaldi is the official location of the Kaldi project.
http://kaldi-asr.org
Other
14.11k stars 5.31k forks source link

Copy utt2lang when using utils/copy_data_dir.sh #4789

Closed jonghwanhyeon closed 2 years ago

jonghwanhyeon commented 2 years ago

Currently utils/copy_data_dir.sh does not copy utt2lang to destination directory. However, utils/subset_data_dir.sh does as follows: https://github.com/kaldi-asr/kaldi/blob/0fb502d10047ab702c664db4d7e175d282762539/egs/wsj/s5/utils/subset_data_dir.sh#L141-L142

Because I encountered this issue when making multi-language and multi-speaker TTS model, I wrote this PR.

kkm000 commented 2 years ago

LGTM. Nice catch, thank you!