code: def generate_asr_files(txt_file, transcript_file):
      line_arr = [line for line in txt_file]
      for line in line_arr:
          if len(line.split("\t")) > 2:
              print(line)
              exit()
          if len(line.split("\t")[0].split()) == 1:
              text = "<blank>"
          else:
              text = line.split("\t")[0].split()[1].replace("▁", "")
          for sub_word in line.split("\t")[0].split()[2:]:
              if "▁" in sub_word:
                  text = text + " " + sub_word.replace("▁", "")
              else:
                  text = text + sub_word
          if len(text) == 0:
              text = "<blank>"
          wav_name = line.split("\t")[1]
          transcript_file.write(text + "\t" + wav_name)
  
imports: import argparse
  import os
  import re
  import sys
  import pandas
label_desc: Use image node_id 1 for calling a global function with example usage: generate_asr_files(txt_file, transcript_file) without return types