nnet_align

aligner.multiprocessing.nnet_align(i, config, train_directory, align_directory, num_jobs)[source]

Multiprocessing function that generates an nnet alignment

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/align.sh for the original bash script that this function was based on.

Parameters:
i : int

Number of the current iteration

nnet_dir : str

Directory of nnet training

optional_silence : str

Colon-separated list of silence phones to boost

num_jobs : int

The number of processes to use in calculation