montreal_forced_aligner.multiprocessing.compile_train_graphs(directory, lang_directory, split_directory, num_jobs, aligner, debug=False)[source]

Multiprocessing function that compiles training graphs for utterances

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

Also see for the bash script that this function was extracted from.

directory : str

Directory of training (monophone, triphone, speaker-adapted triphone training directories)

lang_directory : str

Directory of the language model used

split_directory : str

Directory of training data split into the number of jobs

num_jobs : int

The number of processes to use