convert_alignments

aligner.multiprocessing.convert_alignments(directory, align_directory, num_jobs)[source]

Multiprocessing function that converts alignments from previous training

See http://kaldi-asr.org/doc/convert-ali_8cc.html for more details on the Kaldi binary this runs.

Parameters:
directory : str

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

align_directory : str

Directory of previous alignment

num_jobs : int

The number of processes to use in calculation