code: def create_denominator_fst(dir, tree_dir, run_opts):
      common_lib.execute_command(
          """copy-transition-model {tree_dir}/final.mdl \
                  {dir}/0.trans_mdl""".format(
              dir=dir, tree_dir=tree_dir
          )
      )
      common_lib.execute_command(
          """{command} {dir}/log/make_den_fst.log \
                     chain-make-den-fst {dir}/tree {dir}/0.trans_mdl \
                     {dir}/phone_lm.fst \
                     {dir}/den.fst {dir}/normalization.fst""".format(
              dir=dir, command=run_opts.command
          )
      )
  
file_path: espnet/egs2/puebla_nahuatl/st1/steps/libs/nnet3/train/chain_objf/acoustic_model.py
imports: from __future__ import division
  from __future__ import print_function
  import logging
  import math
  import os
  import sys
  import libs.common
  import libs.nnet3.train.common
label_desc: Use image node_id 2 for calling a global function with example usage: create_denominator_fst(dir, tree_dir, run_opts) without return types