Blame view

egs/yesno/s5/local/create_yesno_wav_scp.pl 202 Bytes
8dcb6dfcb   Yannick Estève   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  #!/usr/bin/env perl
  
  $waves_dir = $ARGV[0];
  $in_list = $ARGV[1];
  
  open IL, $in_list;
  
  while ($l = <IL>)
  {
  	chomp($l);
  	$full_path = $waves_dir . "\/" . $l;
  	$l =~ s/\.wav//;
  	print "$l $full_path
  ";
  }