DNNs are huge data hungry algorithms specially bidirectional-LSTM. For speech recognition models, there's a dearth of voice corpus for specific language/ accents. However, YouTube is a huge library for the same.
I would need to use some script/software which would automatically download YouTube videos(possibly only audio) and the related captions and thereafter slice the same into 20 seconds clip, so that the same can be used as training speech corpus.
Is there any way captions from Youtube can be downloaded? And given a audio and the scripts, how can I slice a audio into 20 seconds clips and have the same clipped in the transcript as well?