Speech:CopySph.pl

Summary
Title: copySph.pl

Author: unknown

Location: mnt/main/scripts/user/copySph.pl

Usage:

Description

 * This script will make symbolic links to all the required sph files that are noted in a transcript file located in a particular corpus directory.
 * Sets the corpus directory, appends the path the trans file based on the corpus directory provided, creates an array that will contain the list of sph files noted in the transcript, opens the transcript file for processing, reads in file line by line, copies line to new variable, removes all characters after the speaker and utteranceID, this pulls out the utterance ID, pulls out all duplicate sph file names to create a unique list, copies each sph file in the list to the wav dir in the corpus dir, creates a new symbolic link that points to the original file and not to the link to the original file.
 * This script is very similar to the convert.pl script. The difference that I noticed was that this script (copySph.pl) takes out all duplicate sph file names so that it will contain a unique list and copies each sph file in the list to the wav directory in the corpus directory.