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.
19 lines
484 B
19 lines
484 B
#! /usr/bin/env bash
|
|
|
|
cd ../.. > /dev/null
|
|
|
|
# download data, generate manifests
|
|
PYTHONPATH=.:$PYTHONPATH python data/voxforge/voxforge.py \
|
|
--manifest_prefix='data/voxforge/manifest' \
|
|
--target_dir='~/.cache/paddle/dataset/speech/VoxForge' \
|
|
--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
|