-
-
Save r9y9/c093b098ed11b19f00a57a8caf4c58ef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JVSDIR=~/data/ita | |
OUTDIR=~/data/ita_r9y9 | |
mkdir -p $OUTDIR | |
# link all wave file | |
for speaker in itako zundamon methane; do | |
echo $speaker | |
for corpus in recitation; do | |
mkdir -p $OUTDIR/$speaker/$corpus | |
find $JVSDIR/$speaker/$corpus -name '*.wav' | parallel ln {} $OUTDIR/$speaker/$corpus/${speaker}_{/} | |
done | |
for corpus in ama normal sexy tsun; do | |
mkdir -p $OUTDIR/$speaker/emotion/$corpus | |
find $JVSDIR/$speaker/emotion/$corpus -name '*.wav' | parallel ln {} $OUTDIR/$speaker/emotion/$corpus/${speaker}_{/} | |
done | |
done | |
JVSDIR=$PWD/downloads/ita-lab | |
OUTDIR=$PWD/downloads/ita-lab_r9y9 | |
mkdir -p $OUTDIR | |
# link all wave file | |
for speaker in itako zundamon methane; do | |
echo $speaker | |
for corpus in recitation; do | |
mkdir -p $OUTDIR/$speaker/$corpus | |
find $JVSDIR/$speaker/$corpus -name '*.lab' | parallel ln {} $OUTDIR/$speaker/$corpus/${speaker}_{/} | |
done | |
for corpus in normal; do | |
mkdir -p $OUTDIR/$speaker/emotion_${corpus} | |
find $JVSDIR/$speaker/emotion_${corpus} -name '*.lab' | parallel ln {} $OUTDIR/$speaker/emotion_${corpus}/${speaker}_{/} | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment