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