You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
510 B
20 lines
510 B
7 years ago
|
#! /usr/bin/env bash
|
||
|
|
||
4 years ago
|
TARGET_DIR=${MAIN_ROOT}/examples/dataset/voxforge
|
||
|
mkdir -p ${TARGET_DIR}
|
||
|
|
||
7 years ago
|
# download data, generate manifests
|
||
4 years ago
|
python ${MAIN_ROOT}/examples/dataset/voxforge/voxforge.py \
|
||
|
--manifest_prefix="${TARGET_DIR}/manifest" \
|
||
|
--target_dir="${TARGET_DIR}" \
|
||
7 years ago
|
--is_merge_dialect=True \
|
||
|
--dialects 'american' 'british' 'australian' 'european' 'irish' 'canadian' 'indian'
|
||
|
|
||
|
if [ $? -ne 0 ]; then
|
||
|
echo "Prepare VoxForge failed. Terminated."
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
echo "VoxForge Data preparation done."
|
||
|
exit 0
|