LmRescoreFunction#

class montreal_forced_aligner.transcription.multiprocessing.LmRescoreFunction(args)[source]#

Bases: KaldiFunction

Multiprocessing function rescore lattices by replacing the small G.fst with the medium G.fst

See also

TranscriberMixin.transcribe_utterances

Main function that calls this function in parallel

TranscriberMixin.lm_rescore_arguments

Job method for generating arguments for this function

latbin/lattice-lmrescore-pruned.cc

Relevant Kaldi binary

OpenFst fstproject source

Relevant OpenFst binary

Parameters:

args (LmRescoreArguments) – Arguments for the function