Phonetic Helper Directory (PHD) is a directory of scripts and instructions for exploring the Montreal Forced Aligner (MFA).
A sane build environment is expected, along with ffmpeg and python3.
Pre-trained Spanish language and pronunciation models can be downloaded by running:
python3 install/models.py spanish
Installing requirements
chmod +x install_requirements.sh
./install_requirements.sh
Compilation of Kaldi, Phonetisaurus, and MFA:
sh install.sh
python3 align.py TEXTFILE_IN AUDIOFILE_IN JSON_OUT