Blame view
egs/heroico/s5/local/subs_download.sh
349 Bytes
8dcb6dfcb first commit |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
#!/bin/bash # Copyright 2017 John Morgan # Apache 2.0. tmpdir=data/local/tmp download_dir=$(pwd) mkdir -p $download_dir subs_src=$1 # download the subs corpus if [ ! -f $download_dir/subs.zip ]; then wget -O $download_dir/subs.zip $subs_src ( cd $download_dir unzip subs.zip ) else echo "$0: subs file already downloaded." fi |