code: def compute_result_transcripts(
      self, audio, audio_len, vocab_list, cfg
  ):
      result_transcripts = self.model.decode(
          audio,
          audio_len,
          vocab_list,
          decoding_method=cfg.decoding_method,
          lang_model_path=cfg.lang_model_path,
          beam_alpha=cfg.alpha,
          beam_beta=cfg.beta,
          beam_size=cfg.beam_size,
          cutoff_prob=cfg.cutoff_prob,
          cutoff_top_n=cfg.cutoff_top_n,
          num_processes=cfg.num_proc_bsearch,
      )
      # replace the '<space>' with ' '
      result_transcripts = [
          self._text_featurizer.detokenize(sentence)
          for sentence in result_transcripts
      ]
  
      return result_transcripts
  
file_path: PaddleHub/modules/audio/asr/deepspeech2_aishell/deepspeech_tester.py
imports: import os
  import sys
  from pathlib import Path
  import paddle
  from deepspeech.frontend.featurizer.text_featurizer import TextFeaturizer
  from deepspeech.io.collator import SpeechCollator
  from deepspeech.models.ds2 import DeepSpeech2Model
  from deepspeech.utils import mp_tools
  from deepspeech.utils.utility import UpdateConfig
label_desc: Use image node_id 2 for calling the DeepSpeech2Tester obj's underlying member method code with example usage: obj.compute_result_transcripts(audio, audio_len, vocab_list, cfg) and returns: result_transcripts