nnet_train_trans

aligner.multiprocessing.nnet_train_trans(nnet_dir, align_dir, prev_ali_path, num_jobs)[source]

Multiprocessing function that trains transition prbabilities and sets priors.

See:

for more details on the Kaldi binary this runs.

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

Parameters:
nnet_dir : str

Directory of nnet training

align_dir : str

Directory of previous alignment

prev_ali_path : str

Path to previous alignment

num_jobs : int

The number of processes to use in calculation