extract_ivectors

montreal_forced_aligner.multiprocessing.extract_ivectors(directory, split_directory, config, num_jobs, align_directory=None)[source]

Multiprocessing function that extracts i-vectors.

See:

for more details on the Kaldi binary this runs.

Also see https://github.com/kaldi-asr/kaldi/blob/master/egs/wsj/s5/steps/online/nnet2/extract_ivectors_online.sh for the original bash script that this function was based on.

Parameters:
config : iVectorExtractorConfig

Configuration object for training

num_jobs : int

The number of processes to use in calculation