Datasets:
Modalities:
Audio
Sub-tasks:
speaker-identification
Languages:
Japanese
Size:
100K<n<1M
Tags:
speech-recognition
License:
File size: 632 Bytes
0843bdd 583ad2d 0843bdd 583ad2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
#!/usr/bin/env bash
set -e
set -u
set -o pipefail
lang="jpn"
main_link="https://media.talkbank.org/ca/CallHome/${lang}/0wav"
rm -f *.txt
wget --no-check-certificate ${main_link} -O orig_lnk.txt
ext=wav
mkdir -p dummy/${ext}
grep -e '.'"${ext}"'"' orig_lnk.txt | sed -e 's|.*href="||g' \
| sed -e 's|">.*||g' \
| awk -v LNK=${main_link} '{print LNK "/" $1}' > ${ext}_links.txt
wget --no-check-certificate -i ${ext}_links.txt -c -nc -t 3 -P dummy/${ext}
wget --no-check-certificate https://ca.talkbank.org/data/CallHome/${lang}.zip -c -nc -t 3
unzip -q ${lang}.zip
mv ${lang} dummy/cha
rm -f *.txt
rm -f *.zip
|