lda_acc_stats

aligner.multiprocessing.lda_acc_stats(directory, split_dir, align_directory, config, ci_phones, num_jobs)[source]

Multiprocessing function that accumulates LDA statistics

See:

for more details on the Kaldi binary this runs.

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

Parameters:
directory : str

Directory of LDA+MLLT training

split_directory : str

Directory of training data split into the number of jobs

align_directory : str

Directory of previous alignment

config : LdaMlltConfig

Configuration object for training

ci_phones : str

Colon-separated list of context-independent phones

num_jobs : int

The number of processes to use in calculation