multi-speaker-tacotron-tens.../scripts/prepare_park.sh
2017-10-16 16:41:44 +09:00

13 lines
502 B
Bash
Executable file

#!/bin/sh
# 1. Download and extract audio and texts
python -m datasets.park.download
# 2. Split audios on silence
python -m audio.silence --audio_pattern "./datasets/park/audio/*.wav" --method=pydub
# 3. Run Google Speech Recognition
python -m recognition.google --audio_pattern "./datasets/park/audio/*.*.wav"
# 4. Run heuristic text-audio pair search (any improvement on this is welcome)
python -m recognition.alignment --recognition_path "./datasets/park/recognition.json" --score_threshold=0.5