compose_clg#
- montreal_forced_aligner.transcription.multiprocessing.compose_clg(in_disambig, out_disambig, context_width, central_pos, ilabels_temp, lg_path, clg_path, log_file)[source]#
Compose a CLG.fst
See also
- fstbin/fstcomposecontext.cc
Relevant Kaldi binary
- OpenFst fstarcsort source
Relevant OpenFst binary
- Parameters:
in_disambig (str) – Path to read disambiguation symbols file
out_disambig (str) – Path to write disambiguation symbols file
context_width (int) – Context width of the acoustic model
central_pos (int) – Central position of the acoustic model
ilabels_temp – Temporary file for ilabels
lg_path (str) – Path to a LG.fst file
clg_path – Path to save CLG.fst file
log_file (TextIO) – Log file handler to output logging info to