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 (
Path) – Path to read disambiguation symbols fileout_disambig (
Path) – Path to write disambiguation symbols filecontext_width (int) – Context width of the acoustic model
central_pos (int) – Central position of the acoustic model
ilabels_temp (
Path) – Temporary file for ilabelslg_path (
Path) – Path to a LG.fst fileclg_path (
Path) – Path to save CLG.fst filelog_file (TextIO) – Log file handler to output logging info to