compose_hclg#

montreal_forced_aligner.transcription.multiprocessing.compose_hclg(model_path, ilabels_temp, transition_scale, clg_path, hclga_path, log_file)[source]#

Compost HCLG.fst for a dictionary

See also

bin/make-h-transducer.cc

Relevant Kaldi binary

fstbin/fsttablecompose.cc

Relevant Kaldi binary

fstbin/fstdeterminizestar.cc

Relevant Kaldi binary

fstbin/fstrmsymbols.cc

Relevant Kaldi binary

fstbin/fstrmepslocal.cc

Relevant Kaldi binary

fstbin/fstminimizeencoded.cc

Relevant Kaldi binary

OpenFst fstarcsort source

Relevant OpenFst binary

Parameters:
  • model_path (Path) – Path to acoustic model

  • ilabels_temp (Path) – Path to temporary ilabels file

  • transition_scale (float) – Transition scale for the fst

  • clg_path (Path) – Path to CLG.fst file

  • hclga_path (Path) – Path to save HCLGa.fst file

  • log_file (TextIO) – Log file handler to output logging info to