Blame view

egs/sre16/v1/local/make_sre.sh 814 Bytes
8dcb6dfcb   Yannick Estève   first commit
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
29
30
31
32
33
34
  #!/bin/bash
  # Copyright 2017   David Snyder
  # Apache 2.0.
  #
  # See README.txt for more info on data required.
  
  set -e
  
  data_root=$1
  data_dir=$2
  
  wget -P data/local/ http://www.openslr.org/resources/15/speaker_list.tgz
  tar -C data/local/ -xvf data/local/speaker_list.tgz
  sre_ref=data/local/speaker_list
  
  local/make_sre.pl $data_root/LDC2006S44/ \
     04 $sre_ref $data_dir/sre2004
  
  local/make_sre.pl $data_root/LDC2011S01 \
    05 $sre_ref $data_dir/sre2005_train
  
  local/make_sre.pl $data_root/LDC2011S04 \
    05 $sre_ref $data_dir/sre2005_test
  
  local/make_sre.pl $data_root/LDC2011S09 \
    06 $sre_ref $data_dir/sre2006_train
  
  local/make_sre.pl $data_root/LDC2011S10 \
    06 $sre_ref $data_dir/sre2006_test_1
  
  local/make_sre.pl $data_root/LDC2012S01 \
    06 $sre_ref $data_dir/sre2006_test_2
  
  rm data/local/speaker_list.*