montreal_forced_aligner.multiprocessing.align(iteration, directory, split_directory, optional_silence, num_jobs, config, output_directory=None, debug=False)[source]

Multiprocessing function that aligns based on the current model

See and for more details on the Kaldi binary this function calls.

Also see for the bash script this function was based on.

iteration : int or str

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

config : MonophoneConfig, TriphoneConfig or TriphoneFmllrConfig

Configuration object for training