code: def compute_plp():
      parser = get_parser()
      args = parser.parse_args()
  
      config = {}
      config["sample_rate"] = int(args.sample_rate)
      config["plp_order"] = int(args.plp_order)
      config["window_length"] = args.window_length
      config["frame_length"] = args.frame_length
  
      plp = Plp.params(config).instantiate()
  
      with kaldiio.ReadHelper(
          args.rspecifier, segments=args.segments
      ) as reader, KaldiWriter(
          args.wspecifier,
          write_num_frames=args.write_num_frames,
          compress=args.compress,
          compression_method=args.compression_method,
      ) as writer:
          for utt_id, (sample_rate, array) in reader:
              if sample_rate != args.sample_rate:
                  args.sample_rate = sample_rate
              array = array.astype(np.float32)
              audio_data = tf.constant(array, dtype=tf.float32)
              plp_test = plp(audio_data, args.sample_rate)
              sess = tf.Session()
              plp_feats = plp_test.eval(session=sess)
              writer[utt_id] = plp_feats
  
file_path: delta/egs/yahoo_answer/text_cls/v1/utils/speech/compute_plp_feats.py
imports: import delta.compat
  import argparse
  from distutils.util import strtobool
  import kaldiio
  import numpy
  import os
  from delta.data.frontend.plp import Plp
  from espnet.utils.cli_writers import KaldiWriter
label_desc: Use image node_id 2 for calling a global function with example usage: compute_plp() without return types