align(iteration, directory, split_directory, optional_silence, num_jobs, config)¶
Multiprocessing function that aligns based on the current model
See http://kaldi-asr.org/doc/gmm-align-compiled_8cc.html and http://kaldi-asr.org/doc/gmm-boost-silence_8cc.html for more details on the Kaldi binary this function calls.
Also see https://github.com/kaldi-asr/kaldi/blob/master/egs/wsj/s5/steps/align_si.sh for the bash script this function was based on.
iteration : int
Iteration to align
directory : str
Directory of training (monophone, triphone, speaker-adapted triphone training directories)
split_directory : str
Directory of training data split into the number of jobs
optional_silence : str
Colon-separated list of silence phones to boost
num_jobs : int
The number of processes to use in calculation
Configuration object for training